UNPKG

@okxweb3/coin-bitcoin

Version:

@ok/coin-bitcoin is a Bitcoin SDK for building Web3 wallets and applications. It supports BTC, BSV, DOGE, LTC, and TBTC, enabling private key management, transaction signing, address generation, and inscriptions like BRC-20, Runes, CAT, and Atomicals.

12 lines (11 loc) 553 B
import * as bitcoin from '../index'; import { GetDerivedPathParam, SignTxParams, VerifyMessageParams } from '@okxweb3/coin-base'; import { BtcWallet } from './BtcWallet'; export declare const dogeCoin: bitcoin.Network; export declare class DogeWallet extends BtcWallet { network(): bitcoin.networks.Network; getDerivedPath(param: GetDerivedPathParam): Promise<any>; signTransaction(param: SignTxParams): Promise<any>; signMessage0(param: SignTxParams): Promise<string>; verifyMessage(param: VerifyMessageParams): Promise<boolean>; }