A Flask wrapper of Starknet dummy network. Similar in purpose to Ganache.
pip install starknet-devnet
usage: starknet-devnet [-h] [--host HOST] [--port PORT]
Run a local instance of Starknet devnet
optional arguments:
-h, --help show this help message and exit
--host HOST the address to listen at; defaults to localhost (use the address the program outputs on start)
--port PORT the port to listen at; defaults to 5000
- Types in call/invoke:
- You will NOT be able to pass or receive values of type other than
felt
andfelt*
.
- You will NOT be able to pass or receive values of type other than
A basic test to see if everything's working properly:
$ ./test.sh
Interact with this devnet as you would with the official Starknet alpha network.
- Be sure to read Important notes.
- If you're using the Hardhat plugin, see here on how to edit its config file to integrate this devnet.