Bitcoin Forum
May 27, 2024, 10:34:38 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Send many small payments  (Read 1188 times)
giantdragon (OP)
Legendary
*
Offline Offline

Activity: 1582
Merit: 1002



View Profile
July 14, 2011, 06:42:06 PM
 #1

Is it possible to send many small payments simultaneously and pay smaller transaction fee?
willphase
Hero Member
*****
Offline Offline

Activity: 767
Merit: 500


View Profile
July 14, 2011, 08:55:56 PM
 #2

Yes, the bitcoin protocol allows this but you'd have to craft the transaction yourself since the bitcoin client doesn't allow you to sent payments to multiple addresses in one transaction. As long as the sum of the inputs is less than the sum of the outputs then the transaction is valid.

read this for more info: https://en.bitcoin.it/wiki/Transaction

Will

giantdragon (OP)
Legendary
*
Offline Offline

Activity: 1582
Merit: 1002



View Profile
July 14, 2011, 09:20:34 PM
 #3

I want to do this from my PHP website. Does BitCoin API allows it? Does external libs exists to do that?
Leon
Newbie
*
Offline Offline

Activity: 14
Merit: 0



View Profile
July 14, 2011, 10:43:40 PM
 #4

I want to do this from my PHP website. Does BitCoin API allows it? Does external libs exists to do that?

There was a website that offered something like this and I think a script too, not sure if it was in PHP. I'll look for it.
willphase
Hero Member
*****
Offline Offline

Activity: 767
Merit: 500


View Profile
July 14, 2011, 10:50:17 PM
 #5

Isn't this just the sendmany function? ./bitcoind --help and read up on it. No special crafting needed, format already exists to do this.

I wasn't aware the sendmany command had been pulled into main - that's pretty cool.  Someone needs to update the api call list?

Will

giantdragon (OP)
Legendary
*
Offline Offline

Activity: 1582
Merit: 1002



View Profile
July 15, 2011, 10:28:08 AM
 #6

Thanks.
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!