Clarity development starts here
Everything you need to write, test, integrate and deploy Clarity smart contracts.

A simple, modern and opinionated workflow for Clarity smart contracts.
Clarinet provides a CLI package with a Clarity runtime, an REPL, and a testing harness. Clarinet includes a Javascript library, testing environment, and a browser-based Sandbox. With Clarinet, you can rigorously iterate on your smart contracts locally before moving into production.
Control the chainstate for tests
Access the state through the typescript package
Run tests automatically with the CLI
Simulate the whole chainstate locally for integration
Code with ((( Clarity
Clarity is a programming language that brings smart contracts to Bitcoin. It’s optimized for security and predictability, and it gives developers a safe way to build complex smart contracts. Clarity is designed for high-stakes code where bugs are not an option.
Get Started
Tutorials
Execute your first Clarity smart contract with Hello World, Counter and Bitcoin NFT tutorials.
Documentation
Read and understand the basics of writing smart contracts in Clarity with Clarinet.