1

Title really says it all.

I want to create a token, and handle the distribution manually for the time being. If things progress at a later date, I would like to create a smart contract to automatically handle the distribution. At this time I don't intend to create or use this feature.

Thanks for the help!

1

Yes, just assign the tokens to an address you control. Then later you can make a contract that distributes them based on whatever you want to distribute them based on, and transfer them from your address to that contract's address.

You can do the same if you want to control new issuance: Make a function that issues new tokens controllable by a single address, and allow that address to replace itself with a different address. Then later you can create a contract, and replace your address with that contract's address.

0
0

You can use this code to multi send your tokens from a different contract. It works best with parity.

pragma solidity ^0.4.19;
    import "Ownable.sol";

    import "ERC20.sol";



    contract Airdrop is Ownable {


        function multisend(address _tokenAddr, address[] dests, uint256[] values)

        onlyOwner

        returns (uint256) {

            uint256 i = 0;

            while (i < dests.length) {

               ERC20(_tokenAddr).transfer(dests[i], values[i]);

               i += 1;

            }

            return(i);

        }

    }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.