This is an ERC-20 contract modified according to OpenZeppelin's implementation and it features the following characteristics:
- All tokens are generated through minting.
- Anyone can call the apply_mint function to mint candidates for free.
- Every 50 seconds can call a mint and get fixed coin.
- Coin will be halved after every 400,000 blocks.
- The total number of tokens is 10,000,000,000, then mint will stop.
-
- Install cairo-v1.1.1.
-
- Set
cairo-test
,cairo-format
andstarknet-compile
in your $PATH.
- Set
- Run command in Makefile.