Example #1
0
        public static Task <MoneroDaemonClient> CreateAsync(MoneroNetwork moneroNetwork, CancellationToken cancellationToken = default)
        {
            var moneroDaemonClient = new MoneroDaemonClient(moneroNetwork);

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

            return(moneroDaemonClient.InitializeAsync(cancellationToken));
        }