UNPKG

@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

4 lines (3 loc) 300 B
import { Network } from './networks'; export declare function signSimple(message: string, address: string, privateKey: string, network?: Network): Promise<string>; export declare function verifySimple(message: string, address: string, witness: string, publicKey: string, network?: Network): boolean;