Create a new project
Once you install Clarinet, you can use Clarinet to create a new project.
To create a new project, run the clarinet new
command along with your project name.
Clarinet will create a project directory with the following directory layout:
The Clarinet.toml
file contains configuration for the smart contracts in your project. When you create contracts in your project, Clarinet will automatically add them to this file.
The settings/Devnet.toml
file contains configuration for accounts in the Clarinet console, including the seed phrases and initial balances for a set of out-of-the-box wallets that you can use for testing in the devnet environment. Note: the initial balances for these wallets are in microSTX.