1 | import { IMessage } from "../interfaces";
|
2 | import { INetwork } from "../interfaces/networks";
|
3 | export 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 | }
|