Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 807 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 807 Bytes

starknet-coin-flip-contract

Environment Setup

Use Dev Containers to setup a development enviroment quickly.

Or install necessary tools manually by following the instructions in .devcontainer/Dockerfile.

Developing

Build the contract by running the command below.

scarb build

Declare the class hash of the contract by running the command below.

starkli declare target/dev/coin_flip_CoinFlip.contract_class.json

Deploy an instance of the contract by running the command below.

starkli deploy <CLASS_HASH> <CONSTRUCTORS...>

License

GNU GPLv3

Made with ❤️ by Berzan.