debeem-wallet
interface WalletEntityBaseItem {
    address: string;
    chainCode?: string;
    depth?: number;
    fingerprint?: string;
    index: number;
    isHD: boolean;
    mnemonic?: string;
    parentFingerprint?: string;
    password: string;
    path?: null | string;
    privateKey: string;
    publicKey: string;
}

Hierarchy

  • TWalletBaseItem
    • WalletEntityBaseItem

Properties

address: string

address of wallet. this, wallet address is the globally unique stored key for storage

chainCode?: string

The chaincode, which is effectively a public key used to derive children.

depth?: number

The depth of this wallet, which is the number of components in its path.

fingerprint?: string

The fingerprint.

A fingerprint allows quick qay to detect parent and child nodes,
but developers should be prepared to deal with collisions as it is only 4 bytes.
index: number

The index of the generated wallet address. For non-HD wallets, the index will always be 0

isHD: boolean

HD wallet?

mnemonic?: string

mnemonic phrase, a word list

parentFingerprint?: string

The parent fingerprint.

password: string

The password of the wallet, used to encrypt mnemonic and privateKey. If password is not empty, mnemonic and privateKey should be ciphertext

path?: null | string

Wallet path. For non-HD wallets, the path is empty

privateKey: string

private key and public key

publicKey: string