This branch is the Smart Contract code. If you have any questions, please contact me π
Report bug
Β·
Request feature
This branch is the Smart Contract code, including: 1 token (Todo Token), and 1 contract. This code uses Hardhat with solidity 0.8.4 compiler in addition to programming tokens or contracts quickly I also use OpenZeppelin.
Some information about the contract I deployed (testnet):
Todo token (TDT) address: 0x708C0BC45208776B32382983561ce9d38bD5F778
Contract to claim token address: 0xfF2df1968724477B99C58f8952CD130D8c993AbA
- Config file
hardhat.config.js
(add mainnet if you want, add BSC API_KEY, change private key to deploy contract) - Run the command below to start deploying contract. Change file to run & change network to deploy.
npx hardhat run scripts/deploy-claim-smart-contract.js --network testnet
- Run the command below to start validating contract
npx hardhat verify --network testnet <token_address>