public static Task <MoneroDaemonClient> CreateAsync(MoneroNetwork moneroNetwork, CancellationToken cancellationToken = default) { var moneroDaemonClient = new MoneroDaemonClient(moneroNetwork); return(moneroDaemonClient.InitializeAsync(cancellationToken)); }
public static Task <MoneroDaemonClient> CreateAsync(string url, uint port, CancellationToken cancellationToken = default) { var moneroDaemonClient = new MoneroDaemonClient(url, port); return(moneroDaemonClient.InitializeAsync(cancellationToken)); }