Skip to content

dkillen/starknet-devnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

A Flask wrapper of Starknet dummy network. Similar in purpose to Ganache.

Install

pip install starknet-devnet

Run

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

Important notes

  • Types in call/invoke:
    • You will NOT be able to pass or receive values of type other than felt and felt*.

Test

A basic test to see if everything's working properly:

$ ./test.sh

Interaction

Interact with this devnet as you would with the official Starknet alpha network.

Hardhat integration

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.5%
  • Solidity 2.9%
  • Shell 2.7%
  • Cairo 1.7%
  • JavaScript 1.4%
  • CSS 0.6%
  • Dockerfile 0.2%