I am having issues utilizing bitcoin-cli via terminal. For example:

DIRECT-8A-HP-OfficeJet-4650:~ peter$ bitcoin-cli deriveaddresses "wpkh(xpub6Dy2ikUu5mXbDdhw2vAP1C4eiQM8rTz1NiWQt2BzGi83iHC2gEgTSD54JveyuHF9VLAqNkCGnee1jdBL7nA3JNorbqjSSS8DEV6Hn3PuNBt/*)#mn5jvyc3" 99 error code: -8 error message: Range must be specified as end or as [begin,end] DIRECT-8A-HP-OfficeJet-4650:~ peter$

However the exact same text in the Bitcoin Core console works without issue.

What am I doing wrong?

  • Are you running bitcoin-cli on a printer?
    – chytrik
    May 8, 2019 at 11:45
  • Haha, no, I have to disguise the hotspot I create at work.. I am living under harsh conditions ;)
    – Fontaine
    May 8, 2019 at 11:50

1 Answer 1


I figured out a solution, just use curl in the terminal which communicates the commands via binary data.

Your Answer

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

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