airgap-coin-lib
Version:
The airgap-coin-lib is a protocol agnostic library to prepare, sign and broadcast cryptocurrency transactions.
11 lines (10 loc) • 413 B
TypeScript
/// <reference types="node" />
import { CryptoClient } from '../CryptoClient';
export declare class TezosCryptoClient extends CryptoClient {
readonly edsigPrefix: Uint8Array;
constructor(edsigPrefix?: Uint8Array);
signMessage(message: string, keypair: {
privateKey: Buffer;
}): Promise<string>;
verifyMessage(message: string, signature: string, publicKey: string): Promise<boolean>;
}