Replies: 1 comment
-
I implemented the depositing/withdrawing of ETH/ERC20 tokens on a fork of OP or a webapp. Using the Portal contract did not work, at least with the old version of OP, using the L1StandardBridge, and the L2Bridge. So I had to use a custom implementation for depositing and initiating withdrawals for ERC20. In case anyone needs it, here is the deposit and the withdrawal. We may eventually move this into a publishable package |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The
depositERC20
seems missing in [email protected] but available in op-viem.Looks like we have to call
l1StandardBridge
contract instead ofportal
contract which is missing in opstack chain's definitions?Beta Was this translation helpful? Give feedback.
All reactions