Skip to main content

Documentation Index

Fetch the complete documentation index at: https://flashnet-build.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Flashnet Execution is where you swap on Flashnet markets and run your own contracts against Spark balances. One signed intent moves assets in from Spark, runs the action, and returns the result.

What you can do

Swap on Flashnet markets

Use TradingClient to quote, swap, and withdraw in a single intent. The default path for integrators.

Deploy your own contracts

Sign Solidity transactions with your Spark identity key. Standard tooling, zero gas.

How an intent moves through the system

        Spark wallet                                Execution
        ────────────                                ─────────
   1.   send_sats / send_token  ──────────────►    SparkGateway

   2.   sign deposit-and-execute intent               │
        (Spark transfer ids + EVM tx + expiry)        │
                ─────────────────────────────────►    │
   3.                                              sequencer orders intent
                                                   validators sign finality
                                                   contract runs

   4.                                              SparkWithdrawal event

                ◄──────────────────────────────────  send_sats / send_token
        Spark wallet receives output
One identity key controls both ends. There is no separate Execution account to fund and no gas to manage. The sequencer runs the EVM at zero base fee and zero priority fee.

Where it fits

Flashnet Execution is the runtime referenced in Architecture. Spark holds custody and finality; Execution runs the programmable settlement step in between. The runtime is EVM-compatible, so contracts compile with Solidity and standard tooling. The integration model is intent-based, not raw transactions: you submit an intent that contains your transaction, the sequencer includes it, and validators sign the finality certificate before settlement dispatches back to Spark.

Concepts

Accounts

One identity key, two addresses. How Spark and Execution share custody.

Intents

The signed unit of work: deposits, action, expiry.

Deposits

Move sats and Spark tokens in.

Withdrawals

Move sats and Spark tokens out.

Spark tokens

The ERC20 representation of a Spark-native asset.

How it works

Sequencer, validators, TEEs. The architecture in detail.