> For the complete documentation index, see [llms.txt](https://docs.gameplan.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gameplan.io/tech-specs/execution-environment/sequencer.md).

# Sequencer

In Gameplan, **sequencer is** responsible for ordering transactions before they are included in blocks. This process is vital for ensuring that transactions are processed fairly and in a timely manner, without conflicts or double spending. Sequencers play a key role in optimizing the transaction throughput and efficiency of the zkEVM.

* **Transaction Ordering**: Sequencers receive transactions from users or decentralized applications (dApps) and place them in a queue, determining the order in which they will be included in blocks.
* **zk-Proof-Enabled Sequencing**: To ensure that the transaction ordering is trustless and verifiable, sequencers generate cryptographic proofs (using zk-STARKs) that can be used to verify the integrity of the ordering. This prevents any malicious actors from manipulating transaction sequences for personal gain.
* **Decentralized Sequencers (Future Integration)**: In the future, Gameplan aims to introduce decentralized sequencers, allowing multiple independent parties to participate in the transaction ordering process, further enhancing security and decentralization.
* **Block Production**: Once transactions are ordered by the sequencers, **block producers** (also called validators) collect these transactions, execute them, and package them into blocks. Every block is accompanied by cryptographic proofs generated by zk-STARKs, ensuring the correctness of the transactions without needing re-execution by every node.<br>

Sequencers manage **transaction ordering**, while block producers ensure the secure and scalable inclusion of those transactions on-chain. Together, these roles, reinforced by zk-STARK proofs, enable Gameplan's zkEVM to achieve high-performance, trustless operation, with both scalability and verifiable security at its core.
