Code Monkey home page Code Monkey logo

starknet-foundry's Introduction

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

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

  • Fast testing framework snforge written in Rust
  • High-quality dependency management using scarb
  • Intuitive interactions and deployment of Starknet contracts through sncast

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 ๐Ÿ—๏ธ
  • L1 โ†” L2 messaging and cross-chain testing
  • Test coverage reports

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.

starknet-foundry's People

Contributors

piotmag769 avatar arcticae avatar thenry14 avatar cptartur avatar drknzz avatar maksymiliandemitraszek avatar war-in avatar dependabot[bot] avatar draggu avatar abulenok avatar tkumor3 avatar radinyn avatar ddoktorski avatar tomek0123456789 avatar bartekryba avatar delevoxdg avatar karol-bisztyga avatar enitrat avatar utilitycoder avatar tadev0 avatar glihm avatar maciektr avatar adventureseeker987 avatar duralsh avatar omahs avatar devnet0x avatar amanusk avatar robertkodra avatar milancermak avatar 0xicosahedron avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.