Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 989 Bytes

README.md

File metadata and controls

37 lines (21 loc) · 989 Bytes

Starknet_build

A bash shell to compile, declare and deploy Starknet Smart Contracts in just one call. (only tested in ubuntu).

Any comments/corrections please reach me at my twitter account: @devnet0x

Requirements

Cairo 1.0

Starknet-devnet (if you want to use it in devnet)

Usage

./starknet_build.sh <environment> <account> <cairo_file> [constructor parameters]

Where:

environment : devnet or testnet or testnet2

key : Account name configurated in starknet_open_zeppelin_accounts.json

cairo_file : Cairo source code file

constructor parameters : Constructor parameters (felt formatted)

Example

In devnet:

alt text

In testnet:

alt text