Technology

2 Layers System

TPA consists of two distinct layers: the Central Layer and the Unity Layer. This two-layer architecture was adopted to overcome scalability limitations while ensuring compatibility with Ethereum, a critical consideration during the system's design.

Central Layer In the context of a multi-chain environment, maintaining compatibility with the Ethereum Virtual Machine (EVM) is paramount. It is crucial for code written within this ecosystem to be interoperable with other platforms and tools, eliminating unnecessary complications for developers. Being unable to utilize established or emerging industry-standard tools can disrupt even the simplest tasks, posing significant challenges for developers.

To create a structure that seamlessly aligns with Ethereum, we made the strategic decision to fork geth (G-Ethereum) and build TPA upon it. This approach allows us to readily incorporate new version updates and emerging technologies into TPA as they emerge. Moreover, to ensure a stable blockchain environment, we have designated the Unity Layer for application execution, while the Central Layer focuses on recording rollup information, managing NFTs, and overseeing bridge information. Notably, smart contracts cannot be deployed directly on the Central Layer.

Unity Layer Relying solely on Ethereum can be impractical for gaming purposes, as games often involve numerous transactions, necessitating a network capable of handling high transaction volumes in short intervals. With compatibility in mind, we had two primary objectives when developing the EVM Layer within the Unity Layer.

  1. Simplicity and Familiarity: When constructing the EVM Layer, we carefully considered the experience of teams entering the TPA ecosystem. Straying too far from the structure of other EVM-based projects could introduce complexities in design and development. To mitigate this, we have streamlined the Unity building contract to be as straightforward as possible.

  2. Security: As users actively engage with games on the Unity Layer, safeguarding against scams and undesirable behavior becomes paramount. Additionally, addressing the threat of bots, which can disrupt network stability, is of utmost importance. To counter these challenges, we have implemented robust anti-scam measures within Unity to maintain a secure and stable gaming environment.

By structuring TPA with these two layers, we strike a balance between compatibility and security, ensuring a smooth and secure gaming experience for developers and users alike.

Last updated