I want to show information about my bitcoin node on a website.. how can I do this with windows + php + html + javascript + rpc?
I want something like that but with more information and perhaps more dynamic:
Example page: http://199.58.210.124/
Bitcoin Stack Exchange is a question and answer site for Bitcoin users, developers, and enthusiasts. It only takes a minute to sign up.
Sign up to join this communityI want to show information about my bitcoin node on a website.. how can I do this with windows + php + html + javascript + rpc?
I want something like that but with more information and perhaps more dynamic:
Example page: http://199.58.210.124/
The node example is my node, this is the script that I'm using.
Download this script http://pastebin.com/wKytLZmc
Put it anywhere on your server and change the RPCUSER/PASS, NODEADDR and BITCOINADDR.
Run the script to update every time. You can also use it to create a chron job.
To run the script, after editing the values above, put it anywhere and type: python btc-update.py
If it just returns, that means it works :)
Note: If you get an error, you’ll need to install BitcoinRPC for the script to work. Go here: https://github.com/jgarzik/python-bitcoinrpc Follow Jeffs simple instructions. Once BitcoinRPC is installed, run the node script again and it will update!
Good luck!