We have finished the development of ICO Token dApp.

dApp Builder team
Ethereum dApp Builder
3 min readJul 24, 2018
development of ICO Token dApp

Now you can create your own ICO token based on ERC20 standard. It’s an extended version of Custom Token dapp that we have presented earlier. You can read the solidity code here.

A dApp creator specifies the standard token parameters (such as token name, token symbol and decimals number) and the special parameters for token sale:

  1. Initial supply — number of tokens that will be issued immediately, before the token sale starts.
  2. Token fund deposit — an Ethereum address that get initial token supply.
  3. ETH deposit — an Ethereum address that will get Ether after ICO successfully finish.
  4. Token exchange rate — how many tokens a customer can buy for 1 ETH.
  5. Token creation cap — the maximum number of tokens for issue.
  6. Token creation min — the number of tokens that must be issued before the ICO ends.
  7. Start funding block — the Ethereum block number after which ICO starts.
  8. End funding block — the Ethereum block number after which ICO stops.
ICO Token dApp: Creation form

Then the creation form is submitted and smart contract creating transaction is successfully mined the dApp creator gets his/her own smart contract for ICO and token fund deposit gets the initial token supply.

The token sale starts after the start funding block and goes on before the end funding block or before the token creation cap is reached.

The main dApp screen is the ICO screen:

Here customers can buy tokens and watch the token sale progress. A customer can enter the number of tokens he/she wants to buy or the value of Ether he/she wants to spend (the number of tokens will be calculated automatically).

ICO Token dApp: Token sale interface

In the sidebar menu user can switch into token screen. This is the screen for standard token operations like the interface for Custom Token dApp , that we have made earlier.

ICO Token dApp: Token interface

After the successfully finished ICO the organizer (ETH deposit) can withdraw all ETH from the contract.

ICO Token dApp: Finalizing

If ICO ends before the reaching of token creation min, the ICO organizer can not withdraw Ether from contract and all the customers (except for holder of initial supply) can do refund.

ICO Token dApp: Refunding

Try it now on https://dappbuilder.io/builder

Or watch the code on https://github.com/DAPPBUILDER/dApp-Builder

Stay in touch for for updates via

--

--