UNPKG

444 BTypeScriptView Raw
1export * from './address/types.js';
2export * from './json/types.js';
3export interface Keypair {
4 publicKey: Uint8Array;
5 secretKey: Uint8Array;
6}
7export interface Seedpair {
8 publicKey: Uint8Array;
9 seed: Uint8Array;
10}
11export type KeypairType = 'ed25519' | 'sr25519' | 'ecdsa' | 'ethereum';
12export interface VerifyResult {
13 crypto: 'none' | KeypairType;
14 isValid: boolean;
15 isWrapped: boolean;
16 publicKey: Uint8Array;
17}