]> git.codecow.com Git - libnemo.git/commitdiff
Rename wallet to be main index file.
authorChris Duncan <chris@zoso.dev>
Sun, 10 Aug 2025 06:27:58 +0000 (23:27 -0700)
committerChris Duncan <chris@zoso.dev>
Sun, 10 Aug 2025 06:27:58 +0000 (23:27 -0700)
src/lib/block.ts
src/lib/tools.ts
src/lib/wallet/create.ts
src/lib/wallet/index.ts [moved from src/lib/wallet/wallet.ts with 100% similarity]
src/lib/wallet/ledger.ts
src/lib/wallet/load.ts
src/main.ts

index 3261c500bcc412eee6b0c8492db0400f3ca0f1e4..ef2318feb3bb2c84ec999d0c3d2553815da23176 100644 (file)
@@ -8,7 +8,7 @@ import { BURN_PUBLIC_KEY, PREAMBLE, DIFFICULTY_RECEIVE, DIFFICULTY_SEND, UNITS }
 import { bytes, dec, hex } from './convert'
 import { Rpc } from './rpc'
 import { convert } from './tools'
-import { Wallet } from './wallet/wallet'
+import { Wallet } from './wallet'
 
 /**
 * Represents a block as defined by the Nano cryptocurrency protocol.
index 7deb136cdae7ae6585fef290a572d13cc07096e9..f175d5dbe266df5ae4795995725522a20585a729 100644 (file)
@@ -9,7 +9,7 @@ import { MAX_SUPPLY, UNITS } from './constants'
 import { bytes, hex } from './convert'
 import { Ledger } from './wallet/ledger'
 import { Rpc } from './rpc'
-import { Wallet } from './wallet/wallet'
+import { Wallet } from './wallet'
 
 type SweepResult = {
        status: "success" | "error"
index b9a38c87a49f898298c444a37329a8adf666b9fe..7bb7b8c6d5a830b3e68e609a8f854d4f06fae118 100644 (file)
@@ -3,7 +3,7 @@
 
 import { Database } from '../database'
 import { _load } from './load'
-import { Wallet } from './wallet'
+import { Wallet } from '.'
 
 /**
 * Creates a new HD wallet by using an entropy value generated using a
index 5d3c2fa965f7cb5144262d6c72940d8a79aae8db..98e93d267c6331f2acb725a70919fa5a11a9fccc 100644 (file)
@@ -11,7 +11,7 @@ import { BIP44_COIN_NANO, BIP44_PURPOSE, HARDENED_OFFSET, LEDGER_ADPU_CODES, LED
 import { bytes, dec, hex } from '../convert'\r
 import { Database } from '../database'\r
 import { Rpc } from '../rpc'\r
-import { Wallet } from './wallet'\r
+import { Wallet } from '.'\r
 import { DeviceStatus, LedgerAccountResponse, LedgerResponse, LedgerSignResponse, LedgerVersionResponse } from '#types'\r
 \r
 /**\r
index a31e3b36eb2a1f99ebd65fe8f7f9876b4086eb8b..2a2a0745a3519cd4797a69eb0c9339b642a74800 100644 (file)
@@ -5,7 +5,7 @@ import { Bip39 } from '#crypto'
 import { NamedData } from '#types'
 import { hex } from '../convert'
 import { Database } from '../database'
-import { Wallet } from './wallet'
+import { Wallet } from '.'
 
 /**
 * Imports an existing HD wallet by using an entropy value generated using a
index 090c562f3149741792de3505eb35d2dca5ab1cc7..421925c5f2001b56506435e2dbe967e733819b81 100644 (file)
@@ -8,7 +8,7 @@ import { Ledger } from './lib/wallet/ledger'
 import { Rolodex } from './lib/rolodex'
 import { Rpc } from './lib/rpc'
 import { Tools } from './lib/tools'
-import { Wallet } from './lib/wallet/wallet'
+import { Wallet } from './lib/wallet'
 
 export {
        Blake2b,