clarinet
Clarinet is a clarity runtime packaged as a command line tool, designed to facilitate smart contract understanding, development, testing and deployment.
Clarity is a decidable smart contract language that optimizes for predictability and security, designed by Blockstack. Smart contracts allow developers to encode essential business logic on a blockchain.
Installation
Install from brew
Feel free to ⭐️ this repo! With 50+ stars, this package becomes eligible to homebrew-core
.
If you need to upgrade to the latest / greatest:
Install from cargo
Assuming you have a working installation of Rust, Clarinet can be also be installed from Cargo as a crate, or from source.
Install from source
Getting started with clarinet
Create a new project
Once installed, you can use clarinet to create a new project:
Clarinet will be maintaining a working directory with the following directory layout:
Add a new contract
New contracts can be added manually, or with the following command:
Execute test suite
Load contracts in a console