Skip to content

Script for transferring tokens across the bridge #2

@cayblood

Description

@cayblood

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions