Post
Topic
Board Development & Technical Discussion
Re: sx command line utilities - Empower The Sysadmin With Bitcoin Tools
by
DannyHamilton
on 25/06/2014, 13:11:30 UTC
Code:
altoidnerd@LEPTON:~$ bitcoind importprivkey $priv

or

Code:
altoidnerd@LEPTON:~$ echo $priv | bitcoind importprivkey

both of which seem to freeze bitcoind or return an error. I guess because bitcoind importprivkey doesn't like stdin?

Is your wallet encrypted?

If so, you'll probably need to unlock the wallet with walletpassphrase before you try to import a private key.