Bitcoin Forum
September 27, 2018, 10:33:38 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Integrating Bitcoin to the php browser game  (Read 809 times)
RoooooR
Legendary
*
Offline Offline

Activity: 994
Merit: 1000


GigTricks.io | A CRYPTO ECOSYSTEM FOR ON-DEMAND EC


View Profile
December 11, 2013, 09:42:45 PM
 #1

..


            █ █ █ █ █
         ██           ██
       ██     █ █ █ █   ██
     ██    ██        ██
   ██   ██               
  ██   ██     ████████                  ██████████
            ███          ██   █████████     ██      ██████  ██   ███████  ██    ███   ███████
 ██   ██    ███              ██      ███    ██      ██          ███       ██   ███  ██
 ██   ██    ███  ██████  ██  ██      ███    ██      ██      ██  ███       ██  ███   ██
            ███      ██  ██  ██      ███    ██      ██      ██  ███       ██████     ███████
 ██   ██    ███      ██  ██  ██      ███    ██      ██      ██  ███       ██  ██           ██
             ██      ██  ██  ██      ███    ██      ██      ██  ███       ██   ███         ██
 ██   ██      ███████    ██   █████████     ██      ██      ██   ███████  ██    ███  ███████
  ██   ██                           ███
   ██    ██          ██            ███
     ██    ██ █ █ █ █   ██
       ██             ██
          █ █ █ █ █ █
























Telegram     Facebook     Twitter     Medium
-------------------------------------------------------------------
.WEBSITE. |█| .WHITEPAPER.












......BOUNTY......
-----------------------------------
..ANN THREAD..
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1538087618
Hero Member
*
Offline Offline

Posts: 1538087618

View Profile Personal Message (Offline)

Ignore
1538087618
Reply with quote  #2

1538087618
Report to moderator
1538087618
Hero Member
*
Offline Offline

Posts: 1538087618

View Profile Personal Message (Offline)

Ignore
1538087618
Reply with quote  #2

1538087618
Report to moderator
tutkarz
Hero Member
*****
Offline Offline

Activity: 546
Merit: 500


View Profile
December 11, 2013, 09:53:39 PM
 #2

you can use blockchain.info api, its simpler to set up and use but later you will have to implement bitcoind since you will want to have full control and not worry about blockchain.info being up or not. Maybe there are others who have wallet api too, I don't know since I was looking for it like half year ago. A lot probably changed since then.

RoooooR
Legendary
*
Offline Offline

Activity: 994
Merit: 1000


GigTricks.io | A CRYPTO ECOSYSTEM FOR ON-DEMAND EC


View Profile
December 11, 2013, 10:01:49 PM
 #3

Thanks for reply.. Look like I'll use Blockchain API.
But how about this very primitive idea? :
Create hundreds of wallet on my windows 8 Qt (I don't trust any hosting company.. I have a bad experience)
Match them with users(every user has one of this wallets) .
getbalance from his wallet->save database deposits/wins/loses
...
May be I'm missing something.


            █ █ █ █ █
         ██           ██
       ██     █ █ █ █   ██
     ██    ██        ██
   ██   ██               
  ██   ██     ████████                  ██████████
            ███          ██   █████████     ██      ██████  ██   ███████  ██    ███   ███████
 ██   ██    ███              ██      ███    ██      ██          ███       ██   ███  ██
 ██   ██    ███  ██████  ██  ██      ███    ██      ██      ██  ███       ██  ███   ██
            ███      ██  ██  ██      ███    ██      ██      ██  ███       ██████     ███████
 ██   ██    ███      ██  ██  ██      ███    ██      ██      ██  ███       ██  ██           ██
             ██      ██  ██  ██      ███    ██      ██      ██  ███       ██   ███         ██
 ██   ██      ███████    ██   █████████     ██      ██      ██   ███████  ██    ███  ███████
  ██   ██                           ███
   ██    ██          ██            ███
     ██    ██ █ █ █ █   ██
       ██             ██
          █ █ █ █ █ █
























Telegram     Facebook     Twitter     Medium
-------------------------------------------------------------------
.WEBSITE. |█| .WHITEPAPER.












......BOUNTY......
-----------------------------------
..ANN THREAD..
tutkarz
Hero Member
*****
Offline Offline

Activity: 546
Merit: 500


View Profile
December 11, 2013, 10:36:02 PM
 #4

don't complicate things. Just use blockchain api, create fresh bitcoin account upon user register, when you detect they send money store amount in database and send bitcoins to cold wallet you created outside of blockchain.info without storing its private key anywhere in the web. Of course you will have to send bitcoins also to users but I don't know if you are planning to have second server who will manage payments so game server will have no knowledge of it and if it would be hacked there will be no way to access cold wallet.

coreli
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
December 11, 2013, 10:37:05 PM
 #5

Thanks for reply.. Look like I'll use Blockchain API.
But how about this very primitive idea? :
Create hundreds of wallet on my windows 8 Qt (I don't trust any hosting company.. I have a bad experience)
Match them with users(every user has one of this wallets) .
getbalance from his wallet->save database deposits/wins/loses
...
May be I'm missing something.

Your not missing anything apart from how you would store that sensitive data. There is of course the possibility of running out of addresses, I guess it comes down to how many you generate...
RoooooR
Legendary
*
Offline Offline

Activity: 994
Merit: 1000


GigTricks.io | A CRYPTO ECOSYSTEM FOR ON-DEMAND EC


View Profile
December 11, 2013, 10:52:52 PM
 #6

Thanks for reply.. Look like I'll use Blockchain API.
But how about this very primitive idea? :
Create hundreds of wallet on my windows 8 Qt (I don't trust any hosting company.. I have a bad experience)
Match them with users(every user has one of this wallets) .
getbalance from his wallet->save database deposits/wins/loses
...
May be I'm missing something.

Your not missing anything apart from how you would store that sensitive data. There is of course the possibility of running out of addresses, I guess it comes down to how many you generate...

Hundreds maybe thousands of wallet.

Anyway, thanks for your kindly replies @tutkarz @coreli.
I'm going to start project.
Thanks a lot again.


            █ █ █ █ █
         ██           ██
       ██     █ █ █ █   ██
     ██    ██        ██
   ██   ██               
  ██   ██     ████████                  ██████████
            ███          ██   █████████     ██      ██████  ██   ███████  ██    ███   ███████
 ██   ██    ███              ██      ███    ██      ██          ███       ██   ███  ██
 ██   ██    ███  ██████  ██  ██      ███    ██      ██      ██  ███       ██  ███   ██
            ███      ██  ██  ██      ███    ██      ██      ██  ███       ██████     ███████
 ██   ██    ███      ██  ██  ██      ███    ██      ██      ██  ███       ██  ██           ██
             ██      ██  ██  ██      ███    ██      ██      ██  ███       ██   ███         ██
 ██   ██      ███████    ██   █████████     ██      ██      ██   ███████  ██    ███  ███████
  ██   ██                           ███
   ██    ██          ██            ███
     ██    ██ █ █ █ █   ██
       ██             ██
          █ █ █ █ █ █
























Telegram     Facebook     Twitter     Medium
-------------------------------------------------------------------
.WEBSITE. |█| .WHITEPAPER.












......BOUNTY......
-----------------------------------
..ANN THREAD..
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!