UNPKG

@polkadot/util-keyring

Version:
4 lines (3 loc) 253 B
import { KeypairType } from '@polkadot/util-crypto/types'; import { KeyringPair, KeyringPair$Meta } from '../types'; export default function pair({ publicKey, secretKey }: KeypairType, meta?: KeyringPair$Meta, defaultEncoded?: Uint8Array): KeyringPair;