The Cit-Coin project is a Hardhat Project that complies with EVM-based decentralized application that facilitates students to learn and earn a cryptocurrency.
Cit-Coin プロジェクトは、ハードハット プロジェクトに準拠した EVM ベースの分散型アプリケーションであり、学生が簡単に仮想通貨を学び、獲得できるようにします。
- CIT Coin Contract [ CIT Coin コントラクツ ]
- Learn To Earn Contract [ Learn To Earn コントラクツ ]
We can easily compile the contracts using the compile
scripts mentioned in the package.json
file.
package.json
ファイルに記載されている compile
スクリプトを使用して、コントラクトを簡単にコンパイルできます。
yarn compile
To deploy contracts, we need to run yarn deploy
command.
# deploying Cit Coin and Learn to Earn in the testnet
yarn deploy:cit-coin-test
yarn deploy:learn-test
# deploying Cit Coin and Learn to Earn in the mainnet
yarn deploy:cit-coin
yarn deploy:learn
To verify Contract, we must provide 3 different addresses as arguments to the
yarn verify
command.
- Address of the deployed contract
- Address of the CIT Coin
- Fund Address
Note: you must add
PRIVATE_KEY
to an environment variable or.env
file to be able to verify the contract.
yarn verify:learn-test 0xE1518892F9A3AF85B7a208323ed69F644bDE12b5 0x6631420dDA4C985657D008F71f36850fD70e5Ad9 0x137ea0e26414eb73BB08e601E28072781962f810
Similar Commands
yarn node
yarn test
yarn