• Generate typed KILT blockchain keypair from a seed or random data.

    Type Parameters

    • KeyType extends "ed25519" | "sr25519" | "ecdsa" = "ed25519"

    Parameters

    • seed: Uint8Array = ...

      The keypair seed, only optional in the tests.

    • Optional type: KeyType

      Optional type of the keypair.

    Returns KiltKeyringPair & {
        type: KeyType;
    }

    The keypair.