Skip to content

Commit

Permalink
Merge pull request #1605 from input-output-hk/feat/add-optional-block…
Browse files Browse the repository at this point in the history
…chain-identifier-to-wallet-repo

feat(wallet-extension): add optional blockchain name to Bip32Wallet properties
  • Loading branch information
AngelCastilloB authored Feb 25, 2025
2 parents d3f03b2 + b731a11 commit b556e5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/web-extension/src/walletManager/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ export type Bip32WalletAccount<Metadata extends {}> = {
extendedAccountPublicKey: Bip32PublicKeyHex;
};

export type Blockchain = 'Cardano' | 'Bitcoin';
export type Bip32Wallet<WalletMetadata extends {}, AccountMetadata extends {}> = {
walletId: WalletId;
metadata: WalletMetadata;
accounts: Bip32WalletAccount<AccountMetadata>[];
blockchainName?: Blockchain;
};

export type HardwareWallet<WalletMetadata extends {}, AccountMetadata extends {}> = Bip32Wallet<
Expand Down

0 comments on commit b556e5e

Please sign in to comment.