Function grin_wallet::cmd::wallet_args::wallet_command
source · pub fn wallet_command<C, F>(
wallet_args: &ArgMatches<'_>,
wallet_config: WalletConfig,
tor_config: Option<TorConfig>,
node_client: C,
test_mode: bool,
wallet_inst_cb: F
) -> Result<String, Error>where
C: NodeClient + 'static + Clone,
F: FnOnce(Arc<Mutex<Box<dyn WalletInst<'static, DefaultLCProvider<'static, C, ExtKeychain>, C, ExtKeychain>>>>),