> For the complete documentation index, see [llms.txt](https://trex-1.gitbook.io/trex/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trex-1.gitbook.io/trex/architecture/chain-layer.md).

# Chain Layer

Personas are the new foundation of the on-chain economy, but they only matter if the infrastructure can keep up: fast, cheap, and secure.

So T-Rex must be designed from the ground up to support high-frequency engagement, Proof-of-Engagement rewards, and the Value Graph itself. By combining scale with security, Personas can become portable, verifiable, and usable in real time.

This is why T-Rex runs on its own Layer 2 blockchain, an EVM-compatible Optimistic Rollup that inherits Ethereum’s security while delivering the scale required for real-time Persona engagement.

<figure><img src="/files/NodTh3O2exnUQcxL5S9x" alt="" width="375"><figcaption></figcaption></figure>

**Execution Layer.** The T-Rex chain executes transactions off-chain under the optimistic assumption of validity. This means thousands of actions can be bundled into a single proof. So micro-rewards, in-game moves, and high-frequency social interactions all settle at negligible cost.

**Sequencer Layer.** But speed without fairness would collapse quickly. That is why ordering is handled by a decentralized network of sequencers. They batch and order transactions, so there is no single point of failure, and risks like front-running or MEV are reduced. Sequencers are rewarded transparently on-chain, keeping the process open and resilient.

**Data Availability Layer.** Yet ordering alone isn’t enough if the data itself disappears. So every transaction is published to a decentralized data availability layer. Anyone can reconstruct the full state of the chain, which guarantees permissionless validation, enables fast withdrawals, and lowers storage costs by separating execution from data.

**Fraud Proofs.** Even with all this, mistakes or fraud can still happen. That is why the system allows challenges during a dispute window. Fraud proofs inherit Ethereum’s security, so any invalid transaction can be overturned, keeping the system trust-minimized.

<figure><img src="/files/dr5NpYU4LzXSGJSkKjRG" alt=""><figcaption></figcaption></figure>

Together, these components make the T-Rex chain **scalable, inexpensive, and secure**, while still fully compatible with the Ethereum ecosystem. Developers can port existing contracts and dApps seamlessly, while gaining access to an environment optimized for high-frequency engagement.
