Overview
Flashnet leverages several key primitives facilitated through Spark to enable secure, efficient trading. All solutions are built on the foundation of non-custody and the atomic swap primitive. Depending on the product requirements, we implement different approaches:- For trustless flows like our RFQ system, we simply rely on vanilla atomic swaps with no external coordination other than quote discovery
- For advanced solutions like our CLOB or AMM, we combine TEEs and validators to enable intent-based execution at settlement — funds stay completely in the user’s control and trust is only required during execution.
Core Primitives
Atomic Swap
The atomic swap is the fundamental building block of Flashnet. On Spark, atomic swaps are implemented using adaptor signatures, where the exchange is enforced by L1 validation and Bitcoin consensus rules. This creates a trustless exchange mechanism between two parties.Intents System

- Minimal exposure window: Each execution environment is designed with the shortest possible lifecycle, ensuring funds are only exposed during the brief settlement period and not subject to long-term holding risks unless the user explicitly opts to hold. (market makers, LPing, etc. where it makes more sense to have a long-term exposure)
- Isolated MPC wallets: Rather than using a single shared MPC wallet, each user operates with multiple dedicated MPC wallets, ensuring that if one wallet is compromised, the others remain secure and isolated from system-wide risk.
AMM

Centralized Limit-Orderbook

- Advanced matching engine for efficient order execution
- Settlement via our intent-based execution engine with validator oversight
- User-controlled delegated trading wallets using threshold signature schemes
- Safety mechanisms allowing users to:
- Exit unilaterally to L1
- Coordinate exit via Spark transaction
- Cancel orders at any time to revoke approval and recover locked funds