@offchainlabs/l1-l3-teleport-contracts
v1.0.1L1 -> L3 ERC20 Teleportation
Contracts enabling direct L1 to L3 ERC20 bridging. Teleportations are ERC20 deposits from L1 through any Arbitrum L2 to any Arbitrum L3 on the L2.
Summary
There are 3 steps to an L1 -> L3 teleportation:
- Send funds from L1 to a personal
L2Forwarder
whose address depends on its parameters - Create the
L2Forwarder
if it doesn't already exist and start the third step - Send tokens and ETH from the
L2Forwarder
to the recipient on L3
For more information see info.md
Testing and Deploying
To test:
forge test
To deploy:
./deploy.sh $L1_URL $L2_URL $OTHER_L2_URL ...
npm i @offchainlabs/l1-l3-teleport-contracts
Source Code
github.com/OffchainLabs/...Metadata
- Apache-2.0
- Whatever
- Offchain Labs, Inc.
- released 5/7/2024