2.0.3 • Published 2 years ago

meter-chainbridge-solidity v2.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Token Contracts

Install

npm install

Compile

npm compile

Deploy upgradeable contract

  1. edit file./scripts/deployProxy.js
  2. run
npx hardhat run ./scripts/deployProxy.js --network metermain

Deploy

npx hardhat deploy --name ttt --symbol ttt --supply 1000000000000000000000000 --owner 0x319a0cfD7595b0085fF6003643C7eD685269F851 --network metermain

setBlackList

npx hardhat setBlackList --account 0x319a0cfD7595b0085fF6003643C7eD685269F851 --network metermain

getBlackList

npx hardhat getBlackList --account 0x319a0cfD7595b0085fF6003643C7eD685269F851 --network metermain

mint

npx npx hardhat mint --to 0x319a0cfD7595b0085fF6003643C7eD685269F851 amount 10000000000000000000000 --network metermain

pause

npx hardhat pause --network metermain

unpause

npx hardhat unpause --network metermain

grantRole

npx hardhat grant --account 0x319a0cfD7595b0085fF6003643C7eD685269F851 --network metermain

revokeRole

npx hardhat revoke --account 0x319a0cfD7595b0085fF6003643C7eD685269F851 --network metermain

Publish & Verify

npx hardhat veri --network metermain
2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago