Issuing bitcoin-cli commands via terminal

0

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?

Fontaine

Posted 2019-05-08T11:36:18.623

Reputation: 158

Are you running bitcoin-cli on a printer?chytrik 2019-05-08T11:45:29.897

Haha, no, I have to disguise the hotspot I create at work.. I am living under harsh conditions ;)Fontaine 2019-05-08T11:50:39.673

Answers

0

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

Fontaine

Posted 2019-05-08T11:36:18.623

Reputation: 158