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.
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
To test:
forge test
To deploy:
./deploy.sh $L1_URL $L2_URL $OTHER_L2_URL ...