Core Components and Mechanism of The Adventure Layer
Last updated
Last updated
The Adventure Layer is a cutting-edge Layer 2 (L2) solution specifically designed to meet the high demands of blockchain gaming by leveraging an Optimistic rollup framework and a sharding architecture. In addition, the Adventure Layer includes a dedicated Solidity game library called the Adventure Game Library (AGL) to empower developers to create fully onchain games more efficiently.
The core design of The Adventure Layer aims to provide a scalable, efficient, and secure gaming environment by deploying an advanced sharding system, the Shard-Sharing State, alongside an Optimistic Rollup mechanism for settling transactions on a data availability layer. This architecture ensures rapid processing speeds, high transaction throughput, and low operational costs, all while maintaining compliance with the security and decentralization principles of the main Ethereum network. The optimistic rollup serves as the functional layer of The Adventure Layer, handling the aggregation and execution of transactions off-chain while ensuring their eventual consistency and finality on Ethereum L1.
Components:
Batch Processor: Aggregates multiple transactions into batches for off-chain execution, significantly reducing the load on Ethereum L1 and lowering gas costs.
Data Transport Layer: Facilitates the secure and efficient transfer of transaction data between L1 and L2, ensuring integrity and timely updates.
State Committer: Regularly commits the state root of all processed transactions back to Ethereum L1, leveraging the security of the main blockchain for final state validation.
Functionality:
This module enables The Adventure Layer to process a high volume of transactions with minimal delay, offering an ideal environment for real-time gaming applications. The optimistic rollup also allows for a simplified dispute resolution mechanism, where only the challenged transaction data will be processed for verification, enhancing the overall efficiency.