UNPKG

785 BTypeScriptView Raw
1import type { HexString } from '@polkadot/util/types';
2import type { KeypairType } from '@polkadot/util-crypto/types';
3import type { KeyringInstance, KeyringOptions } from './types.js';
4interface PairDef {
5 name?: string;
6 p: HexString;
7 s: HexString;
8 seed?: string;
9 type: KeypairType;
10}
11export declare const PAIRSSR25519: PairDef[];
12export declare const PAIRSETHEREUM: PairDef[];
13/**
14 * @name testKeyring
15 * @summary Create an instance of Keyring pre-populated with locked test accounts
16 * @description The test accounts (i.e. alice, bob, dave, eve, ferdie)
17 * are available on the dev chain and each test account is initialized with DOT funds.
18 */
19export declare function createTestKeyring(options?: KeyringOptions, isDerived?: boolean): KeyringInstance;
20export {};