Clarinet is a local development environment that offers everything you need to create, test, and deploy smart contracts on Stacks.
Using a simple command line interface, Clarinet enables you to build and iterate on your contracts locally before moving into production on the mainnet network.
You can code with Clarity syntax support, run tests, debug your code line by line, and deploy your contracts to a local Stacks blockchain environment to rapidly iterate on your code. Clarinet can also be used as a hosted service in the cloud via the Hiro Platform.
Clarinet already has many different commands built in. Therefore, enabling tab completion in your shell may be useful. Using the command below, you can use clarinet to generate the shell completion scripts for many common shells.
After generating the file, you can refer to the documentation for your shell to determine where this file should be moved to and what other steps may be necessary to enable tab completion for clarinet.
Clarinet JS SDK: Simplify your testing with the Clarinet JS SDK.
Hiro Platform: Streamline your app development in our hosted dev experience.
Stacks.js: Leverage a JavaScript library that handles basic functions, such as user authentication and transaction signing.
Need help building with Clarinet?
Reach out to us on the #clarinet channel on Discord under the Hiro Developer Tools section. There's also a weekly office hours on Discord every Thursday at 11am ET.