A local testnet for Starknet... in Rust!
- Forking - interact with contracts deployed on mainnet or testnet
- Account impersonation
- L1-L2 interaction
- Predeployed contracts - accounts, tokens etc.
- Block manipulations - creation, abortion etc.
- Time manipulations
- Dump, load, restart state
- Configurable according to your needs
Find the official documentation here.
Devnet can run blockifier with native execution via the cairo_native Cargo feature. Enable it when building or running:
- Build:
cargo build --features cairo_native - Run:
cargo run --features cairo_native -- <args>
When enabled, startup logs include cairo_native enabled: blockifier will use native execution.
Simplify the installation, spawning and usage of Devnet in your tests by relying on the official JavaScript wrapper. Read more here.
We ❤️ and encourage all contributions and thank all the contributors!
Click here for the development guide.
