Skip to content

A No-Loss NFT-Rewarding Coin Flip Implementation Using Cairo Language & OpenZeppelin

License

Notifications You must be signed in to change notification settings

berzanorg/starknet-coin-flip-contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.