Smart Contract Layer

Battle Records

At the core of Gamers L.A.B. is a set of open-source smart contracts known as Battle Records, deployed to the blockchain. These contracts are released under the MIT license, ensuring that the underlying system remains freely accessible and operable regardless of the status of Uprising Labs or any affiliated entities. The smart contracts are written in the Solidity programming language, which is suitable for deployment to EVM-compatible blockchains.

As long as the underlying blockchain network remains accessible, the gameplay data stored within Battle Records will remain permanently available.

Structured Data

Battle Records are responsible for recording structured data and events related to gameplay and player identity. This includes player account creation, login sessions, match or level sessions, match outcomes, and game events.

Event Records

The primary data unit within the system is the Event Record, which captures key-value data pairs along with associated scores and timestamps. Event Records can be logged during active gameplay, for example, item pickups, enemy defeats, or outside-of-match sessions, such as currency transactions, level unlocks, or character upgrades.

Player Identity

In addition to gameplay data and events, Battle Records maintains player identity data essential for social graph construction and authentication. This includes support for multiple linked wallet addresses, as well as integration with third-party authentication systems such as Steam or Epic ID. Player profiles also include updatable user IDs (also known as gamer tags), key-value metadata, customizable account attributes, and more.

Indexing

All data written to the Battle Records contracts is stored immutably, enabling the creation of a transparent and decentralized ledger of gameplay history. The contracts emit detailed events upon data changes, making the information easily indexable through off-chain systems such as The Graph. This design facilitates real-time analytics and broad integration with web2 applications.

Standardization

The contract architecture is designed to strike a balance between flexibility and standardization. While unstructured data formats provide maximal adaptability, they hinder downstream usability and interoperability. Gamers L.A.B. adopts a semi-structured approach that preserves developer flexibility while ensuring that data can be consistently interpreted, shared, and reused by other applications and services in the ecosystem.

Last updated