import * as N from '../dist/index.js'
+console.log(`wallet...`)
const wallet = N.wallet.generate()
let now = performance.now()
-const accounts = N.wallet.accounts(wallet.seed, 0, 0x2000)
-console.log(`${-now + (now = performance.now())} ms`)
+N.wallet.accounts(wallet.seed, 0, 0x2000)
+console.log(`${performance.now() - now} ms`)
+
+console.log(`wallet legacy...`)
+const walletLegacy = N.wallet.generateLegacy()
+now = performance.now()
+N.wallet.legacyAccounts(walletLegacy.seed, 0, 0x2000)
+console.log(`${performance.now() - now} ms`)