@arkade-os/sdk Documentation - v0.4.21
    Preparing search index...

    Class MnemonicIdentity

    Mnemonic-based identity derived from a BIP39 phrase.

    This is the most user-friendly identity type — recommended for wallet applications where users manage their own backup phrase. Extends

    SeedIdentity with mnemonic validation and optional passphrase support.

    const identity = MnemonicIdentity.fromMnemonic(
    'abandon abandon abandon ...',
    { isMainnet: true, passphrase: 'secret' }
    );

    Hierarchy (View Summary)

    Index

    Properties

    descriptor: string

    Methods

    • Sign an arbitrary message using the requested signature type.

      Parameters

      • message: Uint8Array
      • signatureType: "schnorr" | "ecdsa" = "schnorr"

      Returns Promise<Uint8Array<ArrayBufferLike>>