-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eth carried with the deposit erc20 token #465
Comments
For depositing ETH, you should use |
yes, I mean when I deposit
and can I know how much |
The ETH sent is there to cover for the retryable execution fees and it's necessary for your ERC-20 deposit to succeed. You can calculate this amount upfront by using the |
First of all, this is an awesome library!
I have a question about when I call
Erc20Bridger.deposit
I can control the amount ofETH
to send?if not, how can I know I will send the
ETH
amount inL1
and will receive theETH
amount inL2
before do deposit action?the code like:
Thank of all!
The text was updated successfully, but these errors were encountered: