0

I am new to this bitcoin world, I have installed bitcoin core on my centos server. Bitcoin daemon is running fine. And commands like getinfo works fine on bitcoin-core.cli. But the same command getinfo does not work with easybitcoin. My bitcoin.conf file looks like:

prune=4096 txindex=0 rpcuser=user rpcpassword=password rpcport=8332 server=1

enter image description here

Inshort, commands are working with cli but not with easybitcoin. Please help.

2
  • What is "easybitcoin"? Why do you think it would respond to the same commandline interface as Bitcoind. Are you sure that you didn't download some malware?
    – Murch
    Commented Feb 16, 2022 at 19:02
  • github.com/aceat64/EasyBitcoin-PHP A library based on curl to use bitcoin core functions Commented Feb 16, 2022 at 19:04

1 Answer 1

1

If I had to venture a guess, I would say it's because EasyBitcoin-PHP hasn't been updated since June 2017, and the author actually states in the "About":

A simple class for making calls to Bitcoin's API using PHP. This is an old library, I suggest instead using https://github.com/denpamusic/php-bitcoinrpc

2
  • I used the php-bitcoinrpc but still no luck. Not working for me. I am not even getting any error. What it could be ? Please help Commented Feb 19, 2022 at 11:44
  • This is the version info: Bitcoin Core RPC client version v22.0.0 Commented Feb 19, 2022 at 11:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.