Minimizing the cost of gas when claiming EOS using MyEtherWalletsteemCreated with Sketch.

in #eos7 years ago (edited)

Safety First:

Please beware of phishing websites. Do not enter your key on a website you arrived at by clicking a link. Use bookmarks. Always triple-check the domain. You are responsible for your safety & security.

Also, please take some time out to read through the Inherent Security Risks of MyEtherWallet, by @sandwich

Understanding the claimAll function

The steps on EOS.IO website suggests you select claimAll to claim your ERC-20 EOS Tokens.

claimAll.png

This function essentially runs the claim() function in a loop for each contribution period that has ended. And each time it executes the function it needs gas. This is a screenshot of me claiming my tokens at the end of Period #2 when my only contribution was during Period #0:

myclaims.png

As you can see it has also tried to claim EOS during Period #1 and Period #2, returning with 0 EOS since I did not make any contributions. This means I have paid 3 times as much gas as I could have paid if I claimed only for a specific window.

Claiming for a specific period

If you are sure in which period you made your contributions, claiming for a specific period is really easy. Most of the steps are taken from @sandwich's The Complete Guide :

  1. Go to https://www.myetherwallet.com/#contracts

  2. Under heading Select Existing Contract is a dropdown, select EOS Contribution

  3. Click Access

  4. Under the "Read / Write Contract" heading, in the dropdown select claim
    claim.png

  5. Under day type in the period number in which you made your contribution. Example: for period #7 you would simply type 7

  6. Load your wallet

  7. Click Unlock button

  8. Click Write button

  9. Set Amount to send to 0 and allow the wallet to suggest a Gas Limit. If it does not auto-populate, enter 90000 or more. If your TX fails, increase Gas Limit.

  10. Click Generate Transaction button

  11. Check the details of the transaction, and if you are confident with the details you have entered, click Yes, I am sure! Make transaction.

  12. If all went well, a green bar will appear at the bottom of the page including a link to your transaction on the blockchain.

Below is screenshot of my claim for Period #3. It returns with a single line of 0 EOS Tokens.
claim.png

Success!

Sort:  

Thanks for the great guide on reducing our gas fees when claiming our EOS tokens! :)

It's a shame that a bunch of gas is being wasted each day because of the recommendation to 'claim all'. The total gas price will be even more horrendous closer to the end of the ICO, imagine paying gas 300 times even though you just invested in one of the ICO days - so that 31 cent gas transaction cost would turn into $93 (.31 * 300)!

The recommendation for claimAll() is to simplify the already arduous process.

If I don't remember which periods I contributed, is there a way to find out without using claimAll ?

Go to: https://etherscan.io/address/xyz
(where xyz is your wallet address) - search for the eth transaction you sent to EOSCrowdSale. See the age column that shows "days ago" that this was sent. For example "4 days ago"
Now go to: https://eosscan.io/ and see what period we're currently at. If its say, 291, then using above example, subtract 4 from the current period and that should be your claim day (or either side of it)

Damn I wasn't aware of this, no wonder why my gas kept going up. Will resteem and upvote

Glad I read this. Thanks!

Wow! This is awesome @koyn. I didn't know about that. Thanks.

thanks, very helpful, otherwise I would waste a lot of fee on claiming my daily contribution.

And does that only work for MyEtherWallet?

I sent ether to EOS contract and I have been trying to claim my token and it has failed to work even when I increase Gas Limit it state (Window blocked) can you give me guideline on how to claim my token or contact EOS

Very late reply but I did this just now using the above instructions except I used the prescribed gas limit which I think was about 87000 and that worked. 90000 hadn't worked before.

Coin Marketplace

STEEM 0.20
TRX 0.19
JST 0.034
BTC 91382.97
ETH 3119.60
USDT 1.00
SBD 2.91