Adds command to verify token on moonbeam. Note that we cannot call hardhat verify directly because we must pass in empty bytes buffer which is not possible through CLI.
All changes outside of hardhat.config.ts and package.json are the result of recompiling contracts.
To add command to verify a new network's token, create command in nomad-xapps package.json:
verify:<network>-token": "hardhat clean && hardhat verify-token --network <network> --token-beacon <token_beacon_for_network_bridgerouter> --contract-address
Run command: npm run verify:<network>-token <token contract address>
Adds command to verify token on moonbeam. Note that we cannot call hardhat verify directly because we must pass in empty bytes buffer which is not possible through CLI.
All changes outside of
hardhat.config.ts
andpackage.json
are the result of recompiling contracts.To add command to verify a new network's token, create command in nomad-xapps package.json:
verify:<network>-token": "hardhat clean && hardhat verify-token --network <network> --token-beacon <token_beacon_for_network_bridgerouter> --contract-address
Run command:
npm run verify:<network>-token <token contract address>