Skip to content

Contribution to crowdsale

Victor Baranov edited this page Sep 21, 2018 · 2 revisions

If the crowdsale is opened, you can invest in the current tier of crowdsale. However, if the crowdsale is whitelisted, and you are not in the whitelist, you will not be able to buy.

Contribute from MyEtherWallet

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

  2. Choose the network. For example, (ETH) Etherscan.io, if your contract is in mainnet.

  1. Attach to your tier contract. The tier contract address and its ABI are taken from the file downloaded at Step 4 of Token Wizard:

    • The address of the tier contract is at this line: Crowdsale contract address for [tier name] in the file.
    • ABI of the crowdsale contract is under this line: Crowdsale contract ABI: in the file.

    Then click Access button.

  1. In Select a function combo choose buy method

  1. In How would you like to access your wallet? choose any preferable option. If you chose MetaMask/Mist, click "Connect to Metamask".

  1. Click Write.

  2. Choose Amount to Send in eth in the appeared window. This is how much you will invest in eth. The Gas Limit will be calculated automatically. Click "Generate transaction".

  1. You'll see the transaction data. Click Yes, I am sure. Make transaction.

  1. Confirm transaction in MetaMask popup.

You can check the balance of tokens for user, who invested, in Token wizard

https://wizard.poa.network/invest?addr=[crowdsale_address]&networkID=[network_id].

It should increase.

Invest from MetaMask by method signature

  1. Open MetaMask Chrome plugin

  2. Connect to the network, where the crowdsale contract is deployed. For example, mainnet.

  3. Choose an account with sufficient balance in this network.

  4. Send a transaction to the address of the Crowdsale contract with the data 0xa6f2ae3a (signature of the buy method). Value to send is in ETH. For example, if you put 0.01 to input, you will invest 0.01 ETH.

Clone this wiki locally