Function grin_wallet::cmd::wallet_args::inst_wallet
source · [−]pub fn inst_wallet<L, C, K>(
config: WalletConfig,
node_client: C
) -> Result<Arc<Mutex<Box<dyn WalletInst<'static, L, C, K>>>>, ParseError> where
DefaultWalletImpl<'static, C>: WalletInst<'static, L, C, K>,
L: WalletLCProvider<'static, C, K>,
C: NodeClient + 'static,
K: Keychain + 'static,