Starknet Foundry is a fast development toolkit for building and testing Starknet smart contracts. It is written in Rust and built around native Cairo testing and Starknet-specific execution infrastructure. The project includes snforge for contract testing and sncast for interacting with deployed Starknet contracts from the command line. It is useful for developers who need testing, deployment, transaction handling, chain data access, and contract interaction tools in one workflow. The toolkit supports advanced development needs such as cheatcodes, state forking, fuzz testing, multicall, parallel test execution, and debugging-oriented utilities. Its main value is giving Starknet developers a Foundry-style experience tailored to Cairo and Starknet contract development.
Features
- Starknet smart contract toolkit
- snforge testing framework
- sncast command-line interaction tool
- Cairo test execution support
- State forking and cheatcodes
- Fuzz testing and multicall support