Bitcoin Forum
May 28, 2024, 02:20:30 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Integrating Bitcoin to the php browser game  (Read 893 times)
RoooooR (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


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


View Profile
December 11, 2013, 09:42:45 PM
Last edit: February 26, 2014, 07:57:52 PM by RoooooR
 #1

..


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
























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












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

Activity: 546
Merit: 501


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 (OP)
Legendary
*
Offline Offline

Activity: 1008
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: 501


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 (OP)
Legendary
*
Offline Offline

Activity: 1008
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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!