UNPKG

chaingate

Version:

A complete TypeScript library for connecting to and making transactions on different blockchains

14 lines (13 loc) 853 B
import { UtxoCurrencyUtils } from '../abstract/UtxoCurrencyUtils/UtxoCurrencyUtils'; import { Client } from '@hey-api/client-fetch'; import { TtlCache } from '../../../InternalUtils/TtlCache'; import { GlobalMarketsResponse } from '../../../Client'; 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(client: Client, markets: TtlCache<GlobalMarketsResponse>); publicKeyToAddress(publicKey: PublicKey): string; signMessage(message: string | Uint8Array, privateKey: PrivateKey): Promise<string>; verifySignedMessage(message: string, signature: string, address: string): Promise<boolean>; }