Bitcoin Forum
May 25, 2024, 09:37:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Writing a payment system in PHP using blockchain API.  (Read 1186 times)
matt_boyd (OP)
Sr. Member
****
Offline Offline

Activity: 246
Merit: 250


View Profile
May 04, 2013, 07:33:21 PM
 #1

Hey guys,

I am trying to code a visual dice game, found here; http://matt-boyd.co.uk/dice_revamp. I was just wondering would anyone know how to do the payments so that when a person pays into a wallet, it updates their "credits" let's say 1 per satoshi. So they have their balance and everytime they click the submit button and the result is wrong it would withdraw 1 credit. If they get it right, they triple their 1 credit and so it becomes 3. Lastly, I need to know how to code a withdrawal system that would work with the credits? Thanks for any help, that would be awesome. Matt.
minzie
Member
**
Offline Offline

Activity: 110
Merit: 10



View Profile WWW
May 14, 2013, 01:24:09 PM
 #2

Are you asking how to use an API to check balances and transfer money out of wallets, or are you asking how to do calculations in PHP?

Professional Freelance Web Apps Engineer ° Portfolio °  ModoBot Automated Trading Platform ° BitThingy ° My Github  ° Skype: cclites_1
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!