Author

Topic: Bitcoin api for php without running the bitcoin daemon? (Read 1909 times)

newbie
Activity: 58
Merit: 0
User pays bitcoins to the server. Server can see how many bitcoins user paid. Server pays another user or the original user an amount of bitcoins.

https://bitcoinnotify.com solves at least half of your problem - you can receive payment notifications as HTTP requests.
hero member
Activity: 812
Merit: 1000
cyclone, i asked a similar question here, you can read the responses... https://bitcointalksearch.org/topic/m.402697
full member
Activity: 140
Merit: 100
BitVapes.com
you can run bitcoind remotely (like on your home pc) and interact with it via rpc, but I wouldn't suggest that.  Just upgrade to a VPS server so you can install bitcoind
newbie
Activity: 22
Merit: 0
Presumably I'd need to interact with a wallet.dat file. The basic flow of events would be as such:

User pays bitcoins to the server. Server can see how many bitcoins user paid. Server pays another user or the original user an amount of bitcoins.

The server needs to be able to do those three actions solely from php.

EDIT: I've read the "lazy api" stuff on the wiki, none of that is desired or possible because they depend on trusting outside services to be reliable.
sr. member
Activity: 322
Merit: 251
Do you need to be able to interact with a wallet.dat file or are you merely querying the balance on x wallet address?
newbie
Activity: 22
Merit: 0
I've got a site set up on shared hosting, pretty standard stuff with cPanel and the works. Naturally my host doesn't allow me any process control, and would certainly not take kindly to my attempting to run bitcoin.exe on the server.

Is there any sort of api which can run without the bitcoin daemon? All I need in the are ways to check how many coins are in a given wallet, how many coins were sent from a particular address TO that given wallet, and a way to send bitcoins to any wallet (not owned by me necessarily)

Can someone point me in the right direction here? I do understand that I could run the daemon on a home computer but that's really not optimal, and it's too much effort to purchase and configure a vps for this. Surely there's some purely PHP api for this?

I should also point out that my host has limitations in place which will auto-suspend my account should my cpu usage be too high, so this cannot be too intensive for my server.
Jump to: