Author

Topic: send erc20 token to many ether address in JUST ONE TRANSACTION (Read 145 times)

newbie
Activity: 42
Merit: 0
Some of our campaign and bounty manager can used this in making payments for bounty. We are now seeing some progress and how cryptocurrencies is going to makes transactions easy. We are at the moment of opportunity and learning fast on how all this things work should be a welcome development.
yeah, this type of transaction was only possible in bitcoin now ether too has patched it too and i think more coming for eth
sr. member
Activity: 924
Merit: 260
Some of our campaign and bounty manager can used this in making payments for bounty. We are now seeing some progress and how cryptocurrencies is going to makes transactions easy. We are at the moment of opportunity and learning fast on how all this things work should be a welcome development.
newbie
Activity: 42
Merit: 0
Very interesting, I was learning too about this ethereum coding or algorithm (Sorry if im wrong), maybe this could be a solution for bounty managers who send token to the participants. Btw do you have a github account? and Thanks man!
yeah i do,but the source code not uploaded but very soon will be.
but anyway your welcome
full member
Activity: 1829
Merit: 134
Moderator
Very interesting, I was learning too about this ethereum coding or algorithm (Sorry if im wrong), maybe this could be a solution for bounty managers who send token to the participants. Btw do you have a github account? and Thanks man!
newbie
Activity: 42
Merit: 0
Multisend function can help you send token to many address in a single transaction with extremely low transaction fee
 sample code


contract Sender is Ownable {

    function multisend(address _tokenAddress, address[] userAddr, uint256[] values)
    onlyOwner
    returns (uint256) {
        uint256 i = 0;
        while (i < userAddr.length) {
           ERC20(_tokenAddress).transfer(userAddr, values*10000000);
           i += 1;
        }
        return(i);
    }

as easy as deploying contract on solidity,call function then execute

example
https://i.imgur.com/XD9Lsr7.png

https://ropsten.etherscan.io/tx/0x4c075f3b079f60251f9ef27ca9627e7bb907712da432f71edba6199525d20145

incase of any update
follow me on

https://twitter.com/chende_inc

 Grin Grin
Jump to: