public static Task <MoneroWalletClient> CreateAsync(MoneroNetwork networkType, string filename, string password, CancellationToken cancellationToken = default) { var moneroWalletClient = new MoneroWalletClient(networkType); return(moneroWalletClient.InitializeAsync(filename, password, cancellationToken)); }
public static Task <MoneroDaemonClient> CreateAsync(MoneroNetwork moneroNetwork, CancellationToken cancellationToken = default) { var moneroDaemonClient = new MoneroDaemonClient(moneroNetwork); return(moneroDaemonClient.InitializeAsync(cancellationToken)); }
/// <summary> /// Initialize a Monero Wallet Client using default network settings (<localhost>:<defaultport>) /// </summary> private MoneroWalletClient(MoneroNetwork networkType) { _moneroRpcCommunicator = new RpcCommunicator(networkType, ConnectionType.Wallet); }
/// <summary> /// Initialize a Monero Wallet Client using default network settings (<localhost>:<defaultport>) /// </summary> private MoneroDaemonClient(MoneroNetwork networkType) { _moneroRpcCommunicator = new RpcCommunicator(networkType, ConnectionType.Daemon); }