Bitcoin Forum
April 23, 2024, 07:33:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: send erc20 token to many ether address in JUST ONE TRANSACTION  (Read 138 times)
chende (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
May 10, 2018, 07:39:08 PM
 #1

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
1713857627
Hero Member
*
Offline Offline

Posts: 1713857627

View Profile Personal Message (Offline)

Ignore
1713857627
Reply with quote  #2

1713857627
Report to moderator
1713857627
Hero Member
*
Offline Offline

Posts: 1713857627

View Profile Personal Message (Offline)

Ignore
1713857627
Reply with quote  #2

1713857627
Report to moderator
1713857627
Hero Member
*
Offline Offline

Posts: 1713857627

View Profile Personal Message (Offline)

Ignore
1713857627
Reply with quote  #2

1713857627
Report to moderator
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713857627
Hero Member
*
Offline Offline

Posts: 1713857627

View Profile Personal Message (Offline)

Ignore
1713857627
Reply with quote  #2

1713857627
Report to moderator
1713857627
Hero Member
*
Offline Offline

Posts: 1713857627

View Profile Personal Message (Offline)

Ignore
1713857627
Reply with quote  #2

1713857627
Report to moderator
1713857627
Hero Member
*
Offline Offline

Posts: 1713857627

View Profile Personal Message (Offline)

Ignore
1713857627
Reply with quote  #2

1713857627
Report to moderator
dhemasm
Full Member
***
Offline Offline

Activity: 1829
Merit: 134


Moderator


View Profile
May 10, 2018, 08:23:25 PM
 #2

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!
chende (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
May 10, 2018, 08:33:46 PM
 #3

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
Idrisu
Sr. Member
****
Offline Offline

Activity: 924
Merit: 260



View Profile
May 10, 2018, 08:43:11 PM
 #4

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.
chende (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
May 10, 2018, 09:17:22 PM
 #5

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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!