UNPKG

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