sidebar_position |
---|
1 |
Let's discover starknet-devnet. :::danger Take care
:::
- 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.
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
$ pip install starknet-devnet
$ starknet-devnet
For more running possibilities, see this.
Follow this guide: https://www.spaceshard.io/blog/starknet-devnet-windows-tutorial