Skip to content

foundry-rs/starknet-foundry

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1fb599c Β· Jan 28, 2025
Nov 17, 2023
Jan 22, 2025
Jan 28, 2025
Nov 13, 2024
Jan 15, 2025
Jan 13, 2025
Jan 15, 2025
Jan 15, 2025
Oct 25, 2024
Jan 14, 2025
Sep 4, 2024
Aug 7, 2024
Jan 28, 2025
Jan 20, 2025
Jan 15, 2025
Jan 15, 2025
Aug 18, 2023
Dec 10, 2024
Oct 25, 2023
Dec 4, 2023

Repository files navigation

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

  • snforge: Starknet testing framework (like Truffle, Hardhat and DappTools but for Starknet).
  • sncast: All-in-one tool for interacting with Starknet smart contracts, sending transactions and getting chain data.

Installation

Follow the installation manual

Roadmap

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

  • Running tests written in Cairo
  • Contract interactions testing
  • Interacting with Starknet from command line
  • Multicall support
  • Cheatcodes
  • Starknet state forking
  • Fuzz testing
  • Parallel tests execution
  • Performance improvements
  • Deployment scripts written in Cairo
  • Transactions profiling πŸ—οΈ
  • Debugging utilities πŸ—οΈ
  • Test coverage reports (check out cairo-coverage) πŸ—οΈ
  • L1 ↔ L2 messaging and cross-chain testing

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.