Beispiel #1
0
        public async Task GetAndInitialize()
        {
            if (KeepKeyManager != null)
            {
                return;
            }

            KeepKeyManager = await ConnectAsync();
        }
Beispiel #2
0
        private async Task GetAndInitialize()
        {
            if (KeepKeyManager != null)
            {
                return;
            }

            var keepKeyDevice = await Connect();

            KeepKeyManager = new KeepKeyManager(GetPin, keepKeyDevice);
            await KeepKeyManager.InitializeAsync();

            var coinTable = await KeepKeyManager.GetCoinTable();

            KeepKeyManager.CoinUtility = new KeepKeyCoinUtility(coinTable);
        }