> For the complete documentation index, see [llms.txt](https://docs.singularityfinance.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.singularityfinance.ai/sfi-l2/l2-architecture/sequencer.md).

# Sequencer

####

The sequencer serves as a critical component of the rollup architecture, batching and ordering transactions before submitting them to the Ethereum mainnet. Singularity Finance’s sequencer design prioritises fairness, decentralisation and performance.

Key **Features**:

1. Transaction Ordering: Prevents front-running and MEV (Miner Extractable Value) by implementing fair ordering algorithms.
2. Low Latency: Reduces the time it takes for transactions to be confirmed by processing them offchain in near real-time.
3. Decentralised Sequencing (Future Upgrade): Initially run by trusted operators, the sequencer role will transition to a decentralised network of participants to enhance security and censorship resistance.

<br>

Operational Flow:

1. User Transactions: Submitted to the L2 through wallets or dApps.
2. Batch Formation: The sequencer aggregates multiple transactions into a batch.
3. State Commitment: Generates cryptographic proofs and submits them to Ethereum.
4. Fraud Challenges: Validators can challenge incorrect proofs, ensuring trustless dispute resolution.
