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

24 lines (23 loc) 540 B
export interface TokenInfo { name: string; symbol: string; decimals: number; minterMd5: string; } export declare const MAX_TOTAL_SUPPLY = 2147483647n; export interface ClosedMinterTokenInfo extends TokenInfo { } export interface OpenMinterTokenInfo extends TokenInfo { max: bigint; limit: bigint; premine: bigint; } export interface TokenMetadata { info: TokenInfo; tokenId: string; tokenAddr: string; minterAddr: string; genesisTxid: string; revealTxid: string; timestamp: number; }