cryptean / bitcoinlib

Bitcoin Core RPC compatible, battle-tested .NET library and RPC wrapper for Bitcoin and Altcoins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hide passphrase from config file

macdasi opened this issue · comments

Is there a way to work the client without revealing the passphrase in the config file ?
I would recommend making the keys : Bitcoin_WalletPassword , Bitcoin_RpcUsername , Bitcoin_RpcPassword optional and let the user call WalletPassphrase instead

So I managed to do so with

IBitcoinService BitcoinService = new BitcoinService(DAEMONURL, RPCUSERNAME, RPCPASSWORD, WALLET_PASS_PHRASE);