Author

Topic: Automated Payouts (Read 624 times)

copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
May 25, 2013, 12:55:48 PM
#2
So wait, you want to send bitcoins to an address which then sends it to another address? You could just use the BlockChain.info API (but it will be send within 1 or 2 minutes):

Code: (php)
$the_address_where_it_has_to_go "somewhere";
$root_url 'https://blockchain.info/api/receive';
$parameters 'method=create&address=' $the_address_where_it_has_to_go .'&shared=false';
$response file_get_contents($root_url '?' $parameters);
$object json_decode($response);
echo 
$object->input_address//If you send BTC to this address, it will be send to the address set in $the_address_where_it_has_to_go 
?>

newbie
Activity: 5
Merit: 0
May 25, 2013, 12:40:25 PM
#1
Hi everyone!
Me and a friend are developing a PHP based site that's going to generate multiple addresses automatically,
and those addresses will in turn send bitcoins to multiple other accounts, at specified times.
It's very likely that the receiving addresses will be payed by multiple of the sending addresses.

What would be the best way implement this do you think?
Jump to: