如何在没有任何API的情况下通过PHP获取比特币钱包或地址余额



如何使用PHP获得比特币余额?

渴望获得分步教程。

我的服务器是共享的 Linux。

Json rpc 客户端可能是解决方案,但我需要在服务器上安装守护程序吗?如果是,我该如何通过SSH做到这一点?

你可以很容易地做到这一点。要了解如何在 ubuntu 上安装 bitcoind,请查看此处的教程:https://github.com/kyledrake/coinpunk/blob/master/docs/INSTALL.md#install-and-configure-bitcoind

确保你先做sudo apt-get update && sudo apt-get upgrade

还建议运行以下命令:

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

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

然后,您可以使用 http://jsonrpcphp.org/(对于 php)连接到守护程序并执行守护程序命令。

最新更新