chaingate
Version:
A complete TypeScript library for connecting to and making transactions on different blockchains
12 lines (11 loc) • 713 B
TypeScript
import { UtxoCurrencyUtils } from '../abstract/UtxoCurrencyUtils/UtxoCurrencyUtils';
import { ChainGateContext } from '../ChainGateContext';
import { DogecoinInfo } from '../../CurrencyInfo';
import { PublicKey } from '../../../Wallet/entities/PublicKey';
import { PrivateKey } from '../../../Wallet/entities/Secret/implementations/PrivateKey';
export declare class DogecoinUtils extends UtxoCurrencyUtils<typeof DogecoinInfo> {
constructor(context: ChainGateContext);
publicKeyToAddress(publicKey: PublicKey): string;
signMessage(message: string | Uint8Array, privateKey: PrivateKey): Promise<string>;
verifySignedMessage(message: string, signature: string, address: string): Promise<boolean>;
}