문제

How can I get bitcoin balance by using PHP?

Keen to get a step by step tutorial.

My server is shared Linux.

Json rpc Client might be the solution but do I need to install daemon on my server. If yes, how can I do that, by SSH?

도움이 되었습니까?

해결책

You can easily do this. To learn how to install bitcoind on ubuntu, check the tutorial here: https://github.com/kyledrake/coinpunk/blob/master/docs/INSTALL.md#install-and-configure-bitcoind

Make sure you do sudo apt-get update && sudo apt-get upgrade first!

It is also reccomended to run these commands:

sudo apt-get install git autoconf libtool ntp build-essential

and

sudo apt-get install unattended-upgrades
sudo dpkg-reconfigure -plow unattended-upgrades

You can then use http://jsonrpcphp.org/ (for php) to connect to the daemon and execute daemon commands.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top