@airgap/aeternity
Version:
The @airgap/aeternity is an Aeternity implementation of the ICoinProtocol interface from @airgap/coinlib-core.
9 lines (8 loc) • 373 B
TypeScript
import { Ed25519CryptoClient } from '@airgap/coinlib-core/protocols/Ed25519CryptoClient';
export declare class AeternityCryptoClient extends Ed25519CryptoClient {
constructor();
signMessage(message: string, keypair: {
privateKey: string;
}): Promise<string>;
verifyMessage(message: string, signature: string, publicKey: string): Promise<boolean>;
}