Code with Clarity syntax support, run tests, and debug your code line by line, using a powerful command line interface.
Tests don’t have to be tedious. Pummel your source code with unit tests, make sure your contracts function, and unleash a swarm of integration tests with the Clarinet SDK.
Run end-to-end tests on a fully private blockchain environment with dedicated nodes, miners, and APIs. It's the closest thing you can get to testnet, without exposing your contracts to the world.
Ship code your CompSci prof would be proud of. Catch errors and typos right away with Clarinet’s linter and other helper tools, and make your code easy to read with the Clarity formatter.
/** Clarinet has been the cornerstone to our smart contract development.*/
Choose Clarity, the smart contract language designed with Bitcoin in mind, optimizing for security and predictability. On Stacks, contracts are easy to verify and resilient to re-entrancy attacks, thanks to the decidability and simplicity of Clarity.
When it comes to testing, leverage Vitest and a familiar JavaScript framework to write tests in a more standard and readable format with the Clarinet JS SDK.
Clarinet is open source, just like the Clarity smart contracts you can create with it.