1
I'm pursuing an idea for a web app I had and I've hit a road block. I've worked with many other JSON APIs using php but I've never been introduced to this RPC side of things. I've done reading but still stuck.
I've set up a local bitcoin server using the bitcoin-qt.exe -server command in windows and I've used the resulting console to receive api responses. I'm now confused about how I go about connecting my web app to that server so I can make those calls from my php file and this let users interact with the bitcoin network from the webpage.
But if I'm just directing newjsonRPCClient() to 127.0.0.1 then how will I put that on an online file? It'll try to execute that on the server? – not anyone – 2014-02-09T01:32:08.657
PHP is server side, and otherwise interfacing with Bitcoin-qt on the client side would be dangerous. What's stopping me from modifying your website code to empty out the wallet client side would connect to? – John T – 2014-02-09T02:21:38.520