foundry-rs / starknet-foundry

Blazing fast toolkit for developing Starknet contracts.
https://foundry-rs.github.io/starknet-foundry/
MIT License
279 stars 138 forks source link
blockchain cairo cairo-lang dapp framework rust starknet testing toolkit
logo

Starknet Foundry

Telegram Chat Telegram Support

Blazingly fast toolkit for developing Starknet contracts designed & developed by ex Protostar team from Software Mansion based on native Cairo test runner and Blockifier, written in Rust πŸ¦€.

Need help getting started with Starknet Foundry? Read the πŸ“– Starknet Foundry Book!

Example run

Starknet Foundry, like its Ethereum counterpart, consists of different modules

Installation

To install Starknet Foundry, first install snfoundryup by running:

curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh

Follow the instructions and then run

snfoundryup

You can also specify a version you wish to install:

snfoundryup -v 0.9.0

To verify that the Starknet Foundry is installed correctly, run snforge --version and sncast --version.

Features

Roadmap

Starknet Foundry is under active development! Expect a lot of new features to appear soon! πŸ”₯

Performance

Performance plot

snforge achieves performance comparable to the Cairo Test Runner with improved user experience.

Getting Help

You haven't found your answer to your question in the Starknet Foundry Book?

Found a bug? Open an issue.

Contributions

Starknet Foundry is under active development, and we appreciate any help from the community! Want to contribute? Read the contribution guidelines.

Check out development guide for local environment setup guide.