Post
Topic
Board Gambling
Re: I have an idea for a bitcoin game
by
coinableS
on 25/09/2015, 02:47:34 UTC
Well instant deposit and you cant withdraw until it has a confirmation so you can start playing immediately. There has to be some limit on withdraws because it will protect against people hacking the hot wallet, something that just happened to bitpay.

If you are looking for an API 3rd party instead of using bitcoind with RPC I personally have been enjoying block.io API. It's pretty easy to use and it has been more reliable than blockchain.info.  Also if people are hacking your hot wallet, you should really consider patching up the security and limit the withdrawal amounts. You could do it with a if/then statement like  if($cashoutAmount > 200000000){ //insert into DB for pending cashouts }   that's for 2 bitcoins since you should be working in integers(satoshis), not floats, when handling bitcoin payments/transactions on your site.