Skip to content

Transfer ownership

Victor Baranov edited this page Feb 2, 2018 · 8 revisions

Paper explains how to transfer ownership of token contract to the address that holds collected ether, which filled at step 2 of Token Wizard.

Transfer ownership 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 token contract: token contract address and its ABI are taken from the file downloaded at step 4 of Token Wizard.

    • ABI of the contract is below the line ****Token contract ABI:****

    Then click Access button.

  1. In Select a function combo choose transferOwnership 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. Fill newOwner input with the address that holds collected ether, which filled at step 2 of Token Wizard.

  2. Click Write.

  3. Choose 0 in Amount to Send. 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.

Transfer ownership 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, which is the owner of crowdsale. This account should has sufficient balance in this network too.

  4. Send transaction to the address of the token contract with the data = 0xf2fde38b + address_of_the_eth_holder_wallet, where

    • 0xf2fde38b - the method's signature
    • address_of_the_eth_holder_wallet - address of the wallet which holds ethers filled at step 3 of Token Wizard setup, normalized to 32 bytes (required number of zeros before address).

    For example, if you need to set wallet address 0x7ae09e9963c835959b06240ba69b00febdff681a, the data should be: 0xf2fde38b0000000000000000000000007ae09e9963c835959b06240ba69b00febdff681a. Amount to send should be 0.

Clone this wiki locally