Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.28 KB

intro.md

File metadata and controls

52 lines (34 loc) · 1.28 KB
sidebar_position
1

Getting Started

Let's discover starknet-devnet. :::danger Take care

⚠️ Disclaimer ⚠️

:::

  • Devnet should not be used as a replacement for Alpha testnet. After testing on Devnet, be sure to test on testnet (alpha-goerli)!
  • Specifying a block by its hash/number is not supported for contract calls. All interaction is done with the latest block.
  • There is no pending block. A new block is generated with each transaction.
  • Sending transactions with max_fee set to 0 is supported (not supported on alpha-mainnet or alpha-goerli).
  • Devnet is currently being adapted to StarkNet and Cairo v0.10.0, if you spot any issues, please report them.

Requirements

Works with Python versions >=3.8 and <3.10.

On Ubuntu/Debian, first run:

$ sudo apt install -y libgmp3-dev

On Mac, you can use brew:

$ brew install gmp

Install

$ pip install starknet-devnet

Run

$ starknet-devnet

For more running possibilities, see this.

Windows installation

Follow this guide: https://www.spaceshard.io/blog/starknet-devnet-windows-tutorial