Explorer Overview
Clarinet is a local development environment that offers everything you need to create and deploy smart contracts on Stacks.
With Clarinet, you can quickly setup your Clarity project through the command line tool. This covers every stage of the development cycle from generating new contracts, an interactive REPL and validating contracts to deployment on a devnet
, testnet
or mainnet
.
Install Clarinet
Run the following command in your terminal:
Features
Create a new contract
Add new contracts to your project and have them automatically configured in your project file.
Debug a contract
Utilize powerful debugging tools to step through your code, print values, and trace execution paths.
Write unit tests
Leverage the Clarinet SDK to write comprehensive unit tests, ensuring your contract performs as expected.
Create deployment plans
Employ customizable deployment plans to streamline your contract deployments, facilitating multi-step processes with ease.
Guides
Run a local development environment
Set up a local devnet environment for developing and testing in a controlled environment before deployment.
Analyzing contracts for vulnerabilities
Learn how to enable the `check_checker` feature to identify potentially dangerous areas in your contracts.
Related Products
- Clarinet SDK: Enhance your testing capabilities with the Clarinet SDK, designed to simplify and expedite the testing process.
- Hiro Platform: Accelerate your app development with our comprehensive hosted development experience.
- Stacks.js: Utilize this JavaScript library for essential web app functions like user authentication, contract interactions, and transaction signing.
Need Help?
Encountering challenges while building with Clarinet? We're here to assist:
- Discord: Join the conversation in the #clarinet channel under HIRO DEVELOPER TOOLS on Discord. This is where you'll find our community and team ready to support you.
- Hiro Help Chatbot: For quick questions, our chatbot Hiro Help is available in the bottom right corner of your screen, ready to provide instant answers.
- Private Consultation: Prefer a more personal touch? Schedule a call with us via Hiro Office Hours or send us an email for direct support.
- Stay Informed: Keep up with the latest Hiro announcements and insights by subscribing to our newsletter.
Last updated on