Bitcoin Forum
June 29, 2024, 01:12:34 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Automated Payouts  (Read 615 times)
Oderion (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
May 25, 2013, 04: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?
Mitchell
Copper Member
Legendary
*
Offline Offline

Activity: 3962
Merit: 2207


Verified awesomeness ✔


View Profile WWW
May 25, 2013, 04:55:48 PM
Last edit: May 25, 2013, 05:49:54 PM by bitcoininformation
 #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)
<?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 
?>


.
Duelbits
            ▄████▄▄
          ▄█████████▄
        ▄█████████████▄
     ▄██████████████████▄
   ▄████▄▄▄█████████▄▄▄███▄
 ▄████▐▀▄▄▀▌████▐▀▄▄▀▌██

 ██████▀▀▀▀███████▀▀▀▀█████

▐████████████■▄▄▄■██████████▀
▐██████████████████████████▀
██████████████████████████▀
▀███████████████████████▀
  ▀███████████████████▀
    ▀███████████████▀
.
         ▄ ▄▄▀▀▀▀▄▄
         ▄▀▀▄      █
         █   ▀▄     █
       ▄█▄     ▀▄   █
      ▄▀ ▀▄      ▀█▀
    ▄▀     ▀█▄▄▄▀▀ ▀
  ▄▀  ▄▀  ▄▀

Live Games

   ▄▄▀▀▀▀▀▀▀▄▄
 ▄▀ ▄▄▀▀▀▀▀▄▄ ▀▄
▄▀ █ ▄  █  ▄ █ ▀▄
█ █   ▀   ▀   █ █  ▄▄▄
█ ▀▀▀▀▀▀▀▀▀▀▀▀▀ █ █   █
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█  █▄█
█ ▀▀█  ▀▀█  ▀▀█ █  █▄█

Slots
.
        ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄
        █         ▄▄  █
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄       █
█  ▄▄         █       █
█             █       █
█   ▄▀▀▄▀▀▄   █       █
█   ▀▄   ▄▀   █       █

Blackjack
|█▀▀▀▀▀█▄▄▄
       ▀████▄▄
         ██████▄
▄▄▄▄▄▄▄▄█▀    ▀▀█
████████▄        █
█████████▄        █
██████████▄     ▄██
█████████▀▀▀█▄▄████
▀▀███▀▀       ████
   █          ███
   █          █▀
▄█████▄▄▄ ▄▄▀▀
███████▀▀▀
.
                 NEW!                  
SPORTS BETTING 
|||
[ Đ ][ Ł ]
AVAILABLE NOW

Advertisements are not endorsed by me.
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!