You are viewing a single comment's thread from:
RE: Qtum Staking Tutorial using qtumd on a Raspberry Pi 3
Can I suggest adding an alias to the .bashrc? Instead of typing : ~/qtum-wallet/bin/qtum-cli
, we can add to ~/.bashrc:
alias qtum-cli='~/qtum-wallet/bin/qtum-cli'
That way, we can just execute qtum-cli from the wallet directory by typing: qtum-cli
I cant connect to my wallet using qtum-cli :
$ ~/qtum-wallet/bin/qtum-cli getinfo
error: couldn't connect to server: unknown (code -1)
(make sure server is running and you are connecting to the correct RPC port)
I know nothing about .cookie so I don't know what to do. Any help?
The .cookie file gets created in the datadir (by default under
~/.qtum
) whenqtumd
starts up and RPC is enabled. You probably don't haveqtumd
running -- you can use$ pgrep -a qtumd
to check (if that outputs nothing, then it isn't running).Yes, or add
~/qtum-wallet/bin
into your$PATH
. I should indeed have suggested it.