Project Structure
Understand the complete structure and configuration of a Clarinet project.
Core project layout
- my-project/
- .vscode/
- contracts/
- main.clar
- trait.clar
- deployments/
- settings/
- Devnet.toml
- Mainnet.toml
- Testnet.toml
- tests/
- main.test.ts
- .gitignore
- Clarinet.toml
- package.json
- tsconfig.json
- vitest.config.jsThe project manifest
Clarinet.toml
Epoch configuration
Testing infrastructure
Package configuration
Package
Purpose
Vitest configuration
TypeScript configuration
Network configurations
Environment settings
Common issues
Last updated
Was this helpful?