Skip to main content
Module

x/polkadot/util-crypto/types.ts

Package publishing for deno.land/x/polkadot
Go to Latest
File

export * from './address/types.ts';export * from './json/types.ts';
export interface Keypair { publicKey: Uint8Array; secretKey: Uint8Array;}
export interface Seedpair { publicKey: Uint8Array; seed: Uint8Array;}
export type KeypairType = 'ed25519' | 'sr25519' | 'ecdsa' | 'ethereum';
export interface VerifyResult { crypto: 'none' | KeypairType; isValid: boolean; isWrapped: boolean; publicKey: Uint8Array;}