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.
(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.