@polkadot/keyring
Version:
21 lines (20 loc) • 785 B
TypeScript
import type { HexString } from '@polkadot/util/types';
import type { KeypairType } from '@polkadot/util-crypto/types';
import type { KeyringInstance, KeyringOptions } from './types.js';
interface PairDef {
name?: string;
p: HexString;
s: HexString;
seed?: string;
type: KeypairType;
}
export declare const PAIRSSR25519: PairDef[];
export declare const PAIRSETHEREUM: PairDef[];
/**
* @name testKeyring
* @summary Create an instance of Keyring pre-populated with locked test accounts
* @description The test accounts (i.e. alice, bob, dave, eve, ferdie)
* are available on the dev chain and each test account is initialized with DOT funds.
*/
export declare function createTestKeyring(options?: KeyringOptions, isDerived?: boolean): KeyringInstance;
export {};