ERC20 Deposit/Withdraw - viem/op-stack #2250
Unanswered
danielsimao
asked this question in
Idea / Feature Request
Replies: 2 comments
-
With this feature would be good to also have a fee estimate for bridging erc20. |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you need an example, you can use the following implementation Using the Portal contract did not work, at least with the old version of OP. So I had to use a custom implementation for depositing and initiating withdrawals for ERC20, using the L1StandardBridge, and the L2Bridge. 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
-
By looking at the docs and some of the source code, I could not find anything related to depositing or withdrawing ERC20 on viem/op-stack. I know there is this functionality in op-viem from base-org. Could someone clarify me if I'm missing something or if this feature is yet to come?
Thank you so much in advance.
Beta Was this translation helpful? Give feedback.
All reactions