Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: phazon307 on February 28, 2014, 04:39:16 AM



Title: How to send and recieve bitocins automatically
Post by: phazon307 on February 28, 2014, 04:39:16 AM
What I mean is for instance how a store works they have it set up so that when you purchase that item it automatically sends that amount to their deposits and I need to know how to automatically send bitcoins as well not as important as the first but would be helpful. What I really want to know is how to display deposits for instance if they deposit 0.0001 for an item that item would display that one of that item had been bought and when. This is driving me nuts trying to find resources on this I see these casinos that show provably fair and stuff like that and shows the bets like satoshicircle and prime dice and I would like to know how to do something like that.


Title: Re: How to send and recieve bitocins automatically
Post by: nimda on February 28, 2014, 04:49:07 AM
Here's a start:
  • bitcoind documentation: https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)
  • blockchain.info api: https://blockchain.info/api

Some exchanges roll their own software.


Title: Re: How to send and recieve bitocins automatically
Post by: phazon307 on February 28, 2014, 05:00:58 AM
So what I need is API references to start a site where they send me bitcoins and it displays the amount they sent and what they purchased?


Title: Re: How to send and recieve bitocins automatically
Post by: nimda on February 28, 2014, 10:32:54 PM
Right. Someone's got to do the transaction processing. That can be you or blockchain.info, depending on your volume and how much you trust blockchain.info. Have you ever done server-side scripting?


Title: Re: How to send and recieve bitocins automatically
Post by: phazon307 on February 28, 2014, 11:33:42 PM
I did it for my Web Design class just a little though and I am going to learn some more of it towards the end of my JavaScript book.