Skip to content
This repository was archived by the owner on May 28, 2022. It is now read-only.

feature: add token verification script to nomad-xapps#192

Open
luketchang wants to merge 1 commit intomainfrom
luke/verify-tokens
Open

feature: add token verification script to nomad-xapps#192
luketchang wants to merge 1 commit intomainfrom
luke/verify-tokens

Conversation

@luketchang
Copy link
Copy Markdown
Collaborator

@luketchang luketchang commented Feb 16, 2022

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>

@luketchang luketchang marked this pull request as ready for review February 16, 2022 22:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant