{"repo":"flashnetxyz/ts-sdk","free":true,"listed":false,"github":"https://github.com/flashnetxyz/ts-sdk","clone":"git clone https://github.com/flashnetxyz/ts-sdk.git","description":"Official Flashnet TS SDK","language":"TypeScript","stars":11,"topics":["bitcoin","flashnet","lightning","nodejs","sdk","spark","types","typescript"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Flashnet SDK A comprehensive SDK for interacting with Flashnet's Spark AMM functionality. Features - Spark Wallet Integration - Full wallet functionality based on @buildonspark/issuer-sdk or @buildonspark/spark-sdk - AMM Operations - Create pools (single-sided & constant product), swap tokens, add/remove liquidity - Multi-Network Support - Works across Mainnet and Regtest - Intent-Based Signing - Transaction signing via intent - Custom Signers - Support for arbitrary signing implementations (hardware wallets, remote signers, etc.) - TypeScript First - Full type safety and IntelliSense support Installation Optional Dependencies The @buildonspark/spark-sdk and @buildonspark/issuer-sdk are now optional peer dependencies . You only need to install them if you're using the full FlashnetClient with wallet integration: 🆕 Modular Imports The SDK now supports modular imports for better tree-shaking and smaller bundle sizes: Available exports: - @flashnet/sdk/auth - Authentication utilities - @flashnet/sdk/api - API client and typed endpoints - @flashnet/sdk/utils - Utility functions (addresses, intents, etc.) - @flashnet/sdk/types - TypeScript types - @flashnet/sdk/config - Network configurations - @flashnet/sdk/client - FlashnetClient (requires wallet) For detailed modular usage examples, see docs/modular-usage.md. Usage Options The Flashnet SDK offers two approaches to suit different needs: 1. Full Client (Recommended for most users) Use FlashnetClient for a complete, ready-to-use ","default_branch":null,"files":null,"tree":[],"storefront":"/r/flashnetxyz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/flashnetxyz/ts-sdk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}