Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script for transferring tokens across the bridge #2

Open
cayblood opened this issue Sep 23, 2024 · 0 comments
Open

Script for transferring tokens across the bridge #2

cayblood opened this issue Sep 23, 2024 · 0 comments
Assignees

Comments

@cayblood
Copy link
Contributor

Create a script like so:

hardhat bridge <sourceNet> <destNet> <accountPublicAddress> <amount>

And this just basically burns tokens on one side and mints them on the other. Perhaps this relies on the following env vars:

CONTRACT_ADDRESS_MAINNET_SEPOLIA=0xblah
CONTRACT_ADDRESS_OPTIMISM_SEPOLIA=0xblah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants