UNPKG

378 BTypeScriptView Raw
1import { IMessage } from "../interfaces";
2import { INetwork } from "../interfaces/networks";
3export declare class Message {
4 static sign(message: string, passphrase: string): IMessage;
5 static signWithWif(message: string, wif: string, network?: INetwork): IMessage;
6 static verify({ message, publicKey, signature }: IMessage): boolean;
7 private static createHash;
8}