]> git.codecow.com Git - libnemo.git/commitdiff
Create wallet import path.
authorChris Duncan <chris@zoso.dev>
Sun, 10 Aug 2025 06:31:14 +0000 (23:31 -0700)
committerChris Duncan <chris@zoso.dev>
Sun, 10 Aug 2025 06:31:14 +0000 (23:31 -0700)
src/lib/block.ts
src/lib/tools.ts
src/main.ts

index ef2318feb3bb2c84ec999d0c3d2553815da23176..2566ab535f692e82ab618eb6af0f92f461024da4 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'
+import { Wallet } from '#wallet'
 
 /**
 * Represents a block as defined by the Nano cryptocurrency protocol.
index f175d5dbe266df5ae4795995725522a20585a729..744d6b806c3755b780e6471fe093d061179e3e5d 100644 (file)
@@ -3,13 +3,13 @@
 
 import { Blake2b, NanoNaCl } from '#crypto'
 import { Key } from '#types'
+import { Wallet } from '#wallet'
 import { Account } from './account'
 import { Block } from './block'
 import { MAX_SUPPLY, UNITS } from './constants'
 import { bytes, hex } from './convert'
 import { Ledger } from './wallet/ledger'
 import { Rpc } from './rpc'
-import { Wallet } from './wallet'
 
 type SweepResult = {
        status: "success" | "error"
index 421925c5f2001b56506435e2dbe967e733819b81..e94f6c9547c7a4e92a2139b92bc0f7908530c016 100644 (file)
@@ -2,21 +2,21 @@
 //! SPDX-License-Identifier: GPL-3.0-or-later
 
 import { Blake2b } from '#crypto'
+import { Wallet } from '#wallet'
 import { Account } from './lib/account'
 import { Block } from './lib/block'
 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'
 
 export {
        Blake2b,
+       Wallet,
        Account,
        Block,
        Ledger,
        Rolodex,
        Rpc,
-       Tools,
-       Wallet
+       Tools
 }