2.0.3 • Published 3 years ago
@meterio/chainbridge-solidity v2.0.3
Token Contracts
Install
npm installCompile
npm compileDeploy upgradeable contract
- edit file./scripts/deployProxy.js
- run
npx hardhat run ./scripts/deployProxy.js --network metermainDeploy
npx hardhat deploy --name ttt --symbol ttt --supply 1000000000000000000000000 --owner 0x319a0cfD7595b0085fF6003643C7eD685269F851 --network metermainsetBlackList
npx hardhat setBlackList --account 0x319a0cfD7595b0085fF6003643C7eD685269F851 --network metermaingetBlackList
npx hardhat getBlackList --account 0x319a0cfD7595b0085fF6003643C7eD685269F851 --network metermainmint
npx npx hardhat mint --to 0x319a0cfD7595b0085fF6003643C7eD685269F851 amount 10000000000000000000000 --network metermainpause
npx hardhat pause --network metermainunpause
npx hardhat unpause --network metermaingrantRole
npx hardhat grant --account 0x319a0cfD7595b0085fF6003643C7eD685269F851 --network metermainrevokeRole
npx hardhat revoke --account 0x319a0cfD7595b0085fF6003643C7eD685269F851 --network metermainPublish & Verify
npx hardhat veri --network metermain2.0.3
3 years ago