Bitcoin Forum
September 19, 2018, 06:02:25 PM *
News: ♦♦ Bitcoin Core users must update to 0.16.3 [Torrent]. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: What is the best way to unlock coind?  (Read 18 times)
BlockEncryptor
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
June 11, 2018, 10:44:10 AM
 #1

Hello,

I would like to unlock my wallet from CLI without exposing my password to the bash history or any kind of process tools.

A convenient way for bitcoin is to unlock bitcoind with the -stdin param.
Code:
(pass bitcoin; echo 3600) | ./bitcoin-cli -stdin walletpassphrase

So, I would be quite satisfied with this solution, but many altcoin daemons don't support -stdin. What is the best workaround to unlock the wallet without exposing my password?

Unfortunately I can't use the bitcoin-cli for this, because I have a stakingwallet and need to set 'forstakingonly' to true.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!