1

I need to use bitcoin testnet3 server for testing via php.

bitcoin.conf

rpcuser=bitcoinrpc

rpcpassword=random string

testnet=1

create JsonRpc object with easy bitcoin:

$bitcoin = new Bitcoin('bitcoinrpc', 'random string', 'localhost', 18332);

what is the solution for this? does rpc port is right for tesnet3 server?

  • Yeah, that all looks fine. Are you having a problem with it? – Nick ODell Aug 14 '15 at 7:02
  • 1
    @NickODell I thought Bitcoind/cli was disabled without the the daemon/server flags? – Wizard Of Ozzie Aug 14 '15 at 7:25
  • note: mainnet and testnet rpcpassword are same – Md Shahadat Hossain Aug 14 '15 at 8:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.