@okxweb3/coin-bitcoin
Version:
@okxweb3/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
11 lines (10 loc) • 495 B
TypeScript
import { GetDerivedPathParam, SignTxParams, VerifyMessageParams } from "@okxweb3/coin-base";
import { BtcWallet } from "./BtcWallet";
import * as bitcoin from "../index";
export declare const litecoin: bitcoin.Network;
export declare class LtcWallet extends BtcWallet {
network(): bitcoin.networks.Network;
getDerivedPath(param: GetDerivedPathParam): Promise<any>;
signMessage(param: SignTxParams): Promise<string>;
verifyMessage(param: VerifyMessageParams): Promise<boolean>;
}