Bitcoin Forum
November 10, 2024, 03:02:40 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to automate Bitcoin withdrawal  (Read 698 times)
BitCoinDream (OP)
Legendary
*
Offline Offline

Activity: 2394
Merit: 1216

The revolution will be digital


View Profile
February 27, 2014, 02:36:56 PM
 #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 ?

Automatic
Full Member
***
Offline Offline

Activity: 238
Merit: 109


View Profile
February 27, 2014, 02:39:05 PM
 #2

How I recommend doing it, allows a lot of customization:-
https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list

Blockchain.info:-
https://blockchain.info/api

Please ask for a signed message from my on-site Bitcoin address (Check my profile) before doing any offsite trades with me.
BitCoinDream (OP)
Legendary
*
Offline Offline

Activity: 2394
Merit: 1216

The revolution will be digital


View Profile
February 27, 2014, 03:26:15 PM
 #3


Thank you for your response. For the recommended part I need to run Bitcoind on a web server I guess.

lukesims
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
May 06, 2014, 07: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:
<?php

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;
}

?>

Mitchell
Staff
Legendary
*
Offline Offline

Activity: 4102
Merit: 2315


Verified awesomeness ✔


View Profile WWW
May 06, 2014, 07: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

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