Send ERC20 between L1 and L2 | Optimism
Smart Contract Programmer Smart Contract Programmer
53.2K subscribers
804 views
0

 Published On Mar 1, 2024

Send ERC20 between L1 and L2 on Optimism using Solidity

0:00 intro
1:35 Steps
2:29 ERC20 and OPERC20
4:18 L1Bridge
10:40 L2Bridge
12:11 Deploy ERC20
12:48 Deploy OPERC20
13:57 Deploy L1Bridge
14:30 Deploy L2Bridge
15:10 Mint and approve ERC20
15:49 Send ERC20 to L2
16:11 Check L2 transaction on Blockscout
16:47 Check OPERC20 balance
17:47 Send OPERC20 to L1
18:52 Copy withdrawal transaction hash
19:22 Execute node script to prove and finalize withdrawal
20:11 Check ERC20 balance
21:04 Check finalize withdrawal transaction on L1

Code
https://github.com/t4sk/notes/tree/ma...

Doc
https://docs.optimism.io/

Blockscout
https://optimism-sepolia.blockscout.com/

Sepolia ETH faucet
https://sepoliafaucet.com/

OP Sepolia ETH faucet
https://app.optimism.io/faucet

Remix IDE
https://remix.ethereum.org/

Take a course
https://www.smartcontract.engineer/

#Solidity #SmartContract #Ethereum #スマートコントラクト

Follow
https://odysee.com/@SmartContractProg...
  / programmersmart  
  / discord  
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com

show more

Share/Embed