public async Task DeleteWallet()
        {
            await pool.CloseAsync();

            await wallet.CloseAsync();

            await WalletUtils.DeleteWallet(WALLET, WALLET_KEY);
        }
Ejemplo n.º 2
0
        public async Task SetUp()
        {
            await InitHelper.InitAsync();

            await Pool.SetProtocolVersionAsync(PROTOCOL_VERSION);

            WALLET_CONFIG = WalletUtils.GetWalletConfig();
        }
        public async Task CreateWallet()
        {
            await Pool.SetProtocolVersionAsync(PoolUtils.PROTOCOL_VERSION);

            poolName = PoolUtils.CreatePoolLedgerConfig();
            pool     = await Pool.OpenPoolLedgerAsync(poolName, null);

            await WalletUtils.CreateWallet(WALLET, WALLET_KEY);

            wallet = await WalletUtils.OpenWallet(WALLET, WALLET_KEY);
        }
Ejemplo n.º 4
0
        public async Task CreateWallet()
        {
            await WalletUtils.CreateWallet(WALLET, WALLET_KEY);

            wallet = await WalletUtils.OpenWallet(WALLET, WALLET_KEY);
        }