CLRTY Docs / Developing Programs / Rust Programs

Develop and verify CLRTY programs with the monorepo Rust toolchain and clrty program commands.

On This Page

Rust Workspace

cargo build -p clrty-substrate --release
cargo test -p clrty-substrate
cargo run -q -p clarity-cli --bin clrty -- --plain node genesis-verify

Program Commands

clrty program status --plain
clrty program init demo --dry-run
clrty program verify --dry-run
clrty program deploy localnet --dry-run

Stress / Dynamic Tests

cargo run -q -p clrty-substrate --bin l-dnet-stress -- --json
bash scripts/stress/l1_concurrency.sh 50
bash scripts/stress/fork_swap_stress.sh 25

Next Steps

Best Practices