README.md
June 7, 2026 ยท View on GitHub
Starknet Devnet RS
A local testnet for Starknet... in Rust!
Features
- 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
๐ Documentation
Find the official documentation here.
cairo_native execution (feature flag)
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.
starknet-devnet-js
Simplify the installation, spawning and usage of Devnet in your tests by relying on the official JavaScript wrapper. Read more here.
โ๏ธ Contributing
We โค๏ธ and encourage all contributions and thank all the contributors!
Click here for the development guide.