UNPKG

airgap-coin-lib

Version:

The airgap-coin-lib is a protocol agnostic library to prepare, sign and broadcast cryptocurrency transactions.

11 lines (10 loc) 382 B
/// <reference types="node" /> import { CryptoClient } from '../CryptoClient'; export declare class SubstrateCryptoClient extends CryptoClient { constructor(); signMessage(message: string, keypair: { publicKey: string; privateKey: Buffer; }): Promise<string>; verifyMessage(message: string, signature: string, publicKey: string): Promise<boolean>; }