Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Secp256k1HdWallet

Hierarchy

Implements

Index

Constructors

constructor

Properties

id

implementationId

implementationId: string & As<"wallet-implementation-id"> = "secp256k1-hd" as WalletImplementationIdString

label

label: ValueAndUpdates<string | undefined>

Methods

clone

createIdentity

  • createIdentity(chainId: ChainId, options: unknown): Promise<Identity>

createTransactionSignature

  • createTransactionSignature(identity: Identity, transactionBytes: SignableBytes, prehashType: PrehashType): Promise<SignatureBytes>

getIdentities

  • getIdentities(): keyof Identity[]

getIdentityLabel

  • getIdentityLabel(identity: Identity): string | undefined

previewIdentity

  • previewIdentity(chainId: ChainId, options: unknown): Promise<Identity>

printableSecret

  • printableSecret(): string

serialize

setIdentityLabel

  • setIdentityLabel(identity: Identity, label: string | undefined): void

setLabel

  • setLabel(label: string | undefined): void

Static fromEntropy

Static fromEntropyWithCurve

  • fromEntropyWithCurve(curve: Slip10Curve, bip39Entropy: Uint8Array, cls?: Slip10WalletConstructor): Slip10Wallet

Static fromMnemonic

Static fromMnemonicWithCurve

  • fromMnemonicWithCurve(curve: Slip10Curve, mnemonicString: string, cls?: Slip10WalletConstructor): Slip10Wallet

Generated using TypeDoc