TokenMint Blog

How to Reclaim Your ICO Investments Using Etherscan


Etherscan

This article is a simple, step-by-step, tutorial which will guide you through the process of:

  • - Retrieving your invested Ether after an unsuccessful ICO.
  • - Collecting your purchased tokens after a successful ICO.

This procedure applies to the ICOs created by the TokenMint tool, which offers you an easy way to deploy your own ICO, and is set up for 'regular' folks who are not Ethereum developers. You can deploy your own ICO in just a few minutes!

If you'd like to watch a video guide, you can watch a short 2 minute video in a video walkthrough section. If you prefer going through step-by-step instructions where we explain every step on the way, keep on reading.

Prerequisites

To finish this tutorial, make sure you have the following:

  • - Metamask browser extension installed and unlocked
  • - ETH funds in your wallet in the amount that is necessary to invoke a contract method
  • - The address of the ICO contract

Also, the ICO needs to be finalized. After the ICO has ended, anyone can finalize it (not only the ICO creator).

Video Walkhrough

In this video, we will go through the proccess of retrieving your invested Ether after an unsuccessful ICO. The procedure for collecting your tokens after the successful ICO is very similar. The only difference is that you would need to invoke the withdrawTokens method instead of the claimRefund one.

Also, this video demonstrates how to finalize an ICO, if the finalization hasn't been already done.

For step-by-step instructions, read on.

Common steps

Step 1. Navigate to Etherscan

Step 2. Find the ICO by entering the ICO address into search field. You'll land on the ICO contract page.

Step 3. Click on the Write Contract tab (as depicted on the image below). WriteContract

Step 4. Click on the Connect with Metamask link (as depicted on the image below). WriteContract

Step 5. Confirm by clicking on Connect button on MetaMask popup window.

Retrieve your invested Ether after an unsuccessful ICO

Step 6. Find the claimRefund method.

Step 7. Enter the address you used for purchasing tokens into the refundee (address) field (as depicted on the image below). WriteContract

Step 8. Click on the the Write button (as depicted on the image below). WriteContract

Step 9. Confirm the transaction in the MetaMask popup window.

After the transaction is mined, your refundee address will reclaim the Ether invested in the failed ICO.

Collect your purchased tokens after a successful ICO

Step 6. Find the withdrawTokens method.

Step 7. Enter the address you used for purchasing tokens into the beneficiary (address) field (as depicted on the image below). WriteContract

Step 8. Click on the the Write button (as depicted on the image below). WriteContract

Step 9. Confirm the transaction in the MetaMask popup window.

After the transaction is mined, your beneficiary address will receive the tokens purchased in the successful ICO. You can add those tokens to your MetaMask by following the steps from our How to Add Your Custom ERC Token to MetaMask blog post.

Create Your Own ICO

Create your own ICO using TokenMint app.

Share This Post

What's Next

If you've completed this tutorial, we recommend you follow up with these blog posts:

Flat Rate Crowdsale Explained
Increasing Price Crowdsale Explained
Integrating Web3: How to Connect Your Landing Page With ICO Smart Contract

Connect With Us

Thank you for reading this far! You can:
- follow us on Twitter
- subscribe to our channel on Youtube

Contact us

We are Merkle Blue DOO, a blockchain startup.

Vardarska 1c/54, 21000 Novi Sad, Serbia

Phone: (+381 64 321 2640)