Skip to content

@armada/sdk / index / deriveKeysetFromMnemonic

Function: deriveKeysetFromMnemonic()

deriveKeysetFromMnemonic(mnemonic, index?): Promise<Keyset>

Defined in: src/wallet/derive.ts:29

BIP-39 mnemonic (+ derivation index) → full canonical keyset. Path: BIP-32 wallet nodes → spending/viewing keypairs → nullifyingKey → masterPublicKey → 0zk address. Byte-identical to the stock engine's createWalletFromMnemonic. The relayer's mnemonic-provisioned wallet uses this.

Parameters

mnemonic

string

index?

number = 0

Returns

Promise<Keyset>