Spinning up and using Devnet

Introduction

Starknet Devnet is a development network (devnet) implemented in Rust. With Devnet, you can simulate Starknet in the comfort of your local network. Fork mainnet/testnet to interact with real-world smart contracts, while maintaining isolation.

Prerequisites:

Docker has to be installed for the script to work.

Run Starknet-Devnet

To run starknet-devnet:

npm run devnet

Check out the official starknet devnet documentation here.