Flashnet Trading
⚡ Flashnet
Flashnet is a decentralized trading and liquidity protocol built on Spark. It enables:
Instant swaps between Spark BTC and Spark-based tokens
Permissionless liquidity pools (constant product or bonding curve)
Token launchpads powered by bonding curves
🚀 Build Trading Experiences on Flashnet
With Sats Connect, you can integrate Flashnet trading directly into your app, while keeping users in control of their Spark wallet.
Using the methods in this section, your dApp can:
Trigger swaps via
spark_flashnet_executeSwap
Orchestrate liquidity provision via
spark_flashnet_addLiquidity
andspark_flashnet_removeLiquidity
Launch new trading pools with
spark_flashnet_createCPPool,
spark_flashnet_createBondingPool
andspark_flashnet_confirmInitialDeposit
All of these flows are presented through the Xverse wallet’s transaction review screens, so users:
See a clear breakdown of what they’re approving
Sign transactions with their Spark keys
Stay fully self-custodial throughout the process
Last updated