// SPDX-FileCopyrightText: 2025 Chris Duncan <chris@zoso.dev>
// SPDX-License-Identifier: GPL-3.0-or-later
-// import './test.blake2b.mjs'
-// import './test.calculate-pow.mjs'
-// import './test.create-wallet.mjs'
-// import './test.derive-accounts.mjs'
-// import './test.import-wallet.mjs'
+import './test.blake2b.mjs'
+import './test.calculate-pow.mjs'
+import './test.create-wallet.mjs'
+import './test.derive-accounts.mjs'
+import './test.import-wallet.mjs'
import './test.ledger.mjs'
-// import './test.lock-unlock.mjs'
-// import './test.manage-rolodex.mjs'
+import './test.lock-unlock.mjs'
+import './test.manage-rolodex.mjs'
import './test.refresh-accounts.mjs'
import './test.sign-blocks.mjs'
import './test.tools.mjs'
await test('should verify a block using the public key', async () => {\r
const wallet = await Bip44Wallet.fromSeed(NANO_TEST_VECTORS.PASSWORD, NANO_TEST_VECTORS.BIP39_SEED)\r
await wallet.unlock(NANO_TEST_VECTORS.PASSWORD)\r
- const accounts = await wallet.accounts()\r
- const account = accounts[0]\r
+ const account = await wallet.account()\r
const sendBlock = new SendBlock(\r
account.address,\r
'5618869000000000000000000000000',\r
await test('should reject a block using the wrong public key', async () => {\r
const wallet = await Bip44Wallet.fromSeed(NANO_TEST_VECTORS.PASSWORD, NANO_TEST_VECTORS.BIP39_SEED)\r
await wallet.unlock(NANO_TEST_VECTORS.PASSWORD)\r
- const accounts = await wallet.accounts()\r
- const account = accounts[0]\r
+ const account = await wallet.account()\r
const sendBlock = new SendBlock(\r
account.address,\r
'5618869000000000000000000000000',\r