Bitcoin Forum
April 19, 2024, 10:55:32 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin api for php without running the bitcoin daemon?  (Read 1875 times)
Cyclone (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 0



View Profile
August 05, 2011, 10:04:10 PM
 #1

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.
1713524132
Hero Member
*
Offline Offline

Posts: 1713524132

View Profile Personal Message (Offline)

Ignore
1713524132
Reply with quote  #2

1713524132
Report to moderator
1713524132
Hero Member
*
Offline Offline

Posts: 1713524132

View Profile Personal Message (Offline)

Ignore
1713524132
Reply with quote  #2

1713524132
Report to moderator
1713524132
Hero Member
*
Offline Offline

Posts: 1713524132

View Profile Personal Message (Offline)

Ignore
1713524132
Reply with quote  #2

1713524132
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713524132
Hero Member
*
Offline Offline

Posts: 1713524132

View Profile Personal Message (Offline)

Ignore
1713524132
Reply with quote  #2

1713524132
Report to moderator
nhodges
Sr. Member
****
Offline Offline

Activity: 322
Merit: 251


View Profile
August 05, 2011, 10:07:31 PM
 #2

Do you need to be able to interact with a wallet.dat file or are you merely querying the balance on x wallet address?

Cyclone (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 0



View Profile
August 05, 2011, 10:11:11 PM
Last edit: August 05, 2011, 10:32:33 PM by Cyclone
 #3

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.
BitVapes
Full Member
***
Offline Offline

Activity: 140
Merit: 100


BitVapes.com


View Profile WWW
August 06, 2011, 05:50:49 AM
 #4

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

Buy Electronic Cigarettes with Bitcoin @ http://bitvapes.com
payb.tc
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
August 06, 2011, 01:12:02 PM
 #5

cyclone, i asked a similar question here, you can read the responses... https://bitcointalk.org/index.php?topic=30621.msg402697#msg402697
BitcoinNotify.com
Newbie
*
Offline Offline

Activity: 58
Merit: 0


View Profile
September 03, 2011, 03:51:17 PM
 #6

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.
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!