Blockchain Traits

This commit is contained in:
Jim Hamill
2025-04-20 02:22:30 +00:00
parent b097abbd1c
commit 22bff76a55
13 changed files with 302 additions and 189 deletions
+2 -3
View File
@@ -1,10 +1,9 @@
import { BaseWallet } from './base-wallet.js';
import { type TransactionTemplate } from './types.js';
import { TransactionBuilder } from './transaction-builder.js';
import { type WalletDependencies } from './types.js';
import { type WalletBlockchain, type WalletDependencies } from './types.js';
import { WalletP2PKH } from './wallet-p2pkh.js';
import { type BaseBlockchain } from '../blockchain';
import { type BaseStore, Activities, StoreInMemory } from '../storage';
import {
@@ -80,7 +79,7 @@ export class WalletHD extends BaseWallet {
// Dependencies.
public readonly activities: Activities;
public readonly blockchain: BaseBlockchain;
public readonly blockchain: WalletBlockchain;
public readonly cache: BaseStore;
// Genesis Data.