Function makeKeypairFromSeed
- makeKeypairFromSeed<KeyType>(seed?: Uint8Array, type?: KeyType): KiltKeyringPair & {
type: KeyType;
}
-
Type Parameters
-
KeyType extends "ed25519" | "sr25519" | "ecdsa" = "ed25519"
Parameters
-
seed: Uint8Array = ...
-
Optional
type: KeyType
Generate typed KILT blockchain keypair from a seed or random data.
Returns
The keypair.