UNPKG

271 BTypeScriptView Raw
1import type { Keypair } from '../../types.js';
2/**
3 * @name sr25519PairFromSeed
4 * @description Returns a object containing a `publicKey` & `secretKey` generated from the supplied seed.
5 */
6export declare function sr25519PairFromSeed(seed: string | Uint8Array): Keypair;