Bitcoin Forum
December 11, 2024, 06:35:40 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Coin Distribution from 1 Wallet to Many - Possible?  (Read 92 times)
Zempa (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100

MoonRunner.io


View Profile WWW
January 10, 2018, 03:01:15 AM
 #1

I am looking for someone who can setup an ERC20 Smart Contract that would enable someone to send a sum of ERC20 coins to one address, and have those coins distributed evenly among 500 to 1500 different addresses.

Would this be possible?

TommyZ
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
January 10, 2018, 09:59:58 AM
 #2

The functionality you are asking for would be possible just not the way you want it to work. That amount of data saved during one transaction would cost between 2.5m - 30m gas. Given the fact that block has 8m gas limit, any transaction above 500 people would potentially go out of gas.

The way to do it is to make users collect their coins instead. "Pull instead of push". So you run single transaction setting up some data and requirements for splitting and then users can claim the token.
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!