Author

Topic: How to automate Bitcoin withdrawal (Read 699 times)

copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
May 06, 2014, 02:32:40 AM
#5
I recently encountered the same issue and created a PHP class that simplifies using the blockchain wallet API. Using the API you can maintain a wallet, generate addresses, send money etc.

Take a look at the class on github https://github.com/lukesims/Blockchain-Wallet-API-PHP-Class/

It's as easy as
-SNIP-
This looks great! Well done Wink
newbie
Activity: 4
Merit: 0
May 06, 2014, 02:27:09 AM
#4
I recently encountered the same issue and created a PHP class that simplifies using the blockchain wallet API. Using the API you can maintain a wallet, generate addresses, send money etc.

Take a look at the class on github https://github.com/lukesims/Blockchain-Wallet-API-PHP-Class/

It's as easy as
Code:

require_once("blockchain.php");

$myWallet = new Blockchain"Identifier""Main Password""Second Password" );

$options = array( "from"   => "18d3cd2DVzcWMtpwShJGxEcRHx8LRZCShr",
                  
"shared" => "false",
                  
"fee"    => "55000",
                  
"note"   => "Money is not our god");

$sendCoins $myWallet->sendCoins"1Gp4K5AnNmT6tdSt5Hv5EArsBBWQi169Ks""124842"$options );

if( 
$sendCoins !== false )
{
    
$message             $sendCoins->message;
    
$tx_hash             $sendCoins->tx_hash;
    
$additional_message  $sendCoins->notice;
}

?>

legendary
Activity: 2394
Merit: 1216
The revolution will be digital
February 27, 2014, 10:26:15 AM
#3

Thank you for your response. For the recommended part I need to run Bitcoind on a web server I guess.
full member
Activity: 238
Merit: 109
legendary
Activity: 2394
Merit: 1216
The revolution will be digital
February 27, 2014, 09:36:56 AM
#1
I have seen in applications like Satoshi Dice bitcoin withdrawal is automated. Can someone please point to some API or something that enables this automation on web wallet like blockchain.info ?
Jump to: