Wallet

Blockchain Platformer LockBlock Bridges Off-Chain Speed With On-Chain Transparency

4 hours ago
Blockchain Platformer LockBlock Bridges Off-Chain Speed With On-Chain Transparency

A new blockchain-based gaming platform called LockBlock has launched as a skill-based 2D platformer that integrates NFT ownership with verifiable random function (VRF) technology to distribute on-chain rewards. The game, built with the Yellow SDK, divides its virtual world into small land plots called chunks, with each chunk represented as a non-fungible token that players can own or rent to create custom platformer levels.


What to Know:

• Players wager tokens to enter levels where only one randomly-selected exit leads to rewards • Chunk owners earn revenue by designing levels and setting token-based entry fees
• The platform uses Flow's on-chain randomness and audited smart contracts for transparency


The gaming platform operates on a token-based economy where players pay entry fees to access levels created by chunk owners. Each level contains multiple exits, but only one leads to a reward that equals the entry fee multiplied by the number of exits. The correct exit is determined through Flow's on-chain verifiable random function, ensuring fairness in the reward distribution process.

LockBlock's technical architecture combines blockchain infrastructure with real-time web technologies.

The frontend utilizes React and Ethers.js to handle wallet connections and communicate with the backend through REST and WebSocket protocols. A built-in map editor allows chunk owners to design levels and manage exit configurations.

The backend runs on Node.js and is powered by Nitrolite from Yellow, which functions as a state channel and transaction relay hub. This system manages off-chain token interactions and player session tracking while handling matchmaking, level availability, and result submission processes.

Smart contracts written in Solidity govern all game-critical functions including entry deposits, rewards distribution, chunk ownership, and moderation workflows. These contracts are deployed on EVM-compatible networks with interactions facilitated through Ethers.js on both frontend and backend systems.

The platform stores chunks as ERC-721 tokens with associated level metadata maintained on IPFS. Chunk owners can rent out their properties or design new maps to attract players and generate revenue. Token deposits are automatically distributed across multiple categories: reward pools, chunk owner royalties, protocol treasury, and moderation fees. This distribution system operates entirely on-chain to maintain transparency in all financial transactions.

Security measures include Flow randomness for prize exit selection and audited smart contracts designed to prevent fraudulent activities. The platform logs player interactions both on-chain and off-chain with built-in dispute resolution mechanisms.

The development team created a bridge between Nitrolite and smart contracts to simulate instant deposit confirmations through channel state updates. This innovation allows players to begin gaming immediately without waiting for on-chain transaction confirmations.

Closing Thoughts

LockBlock represents a new approach to blockchain gaming by combining traditional 2D platforming mechanics with decentralized ownership and transparent reward systems. The platform's use of Yellow SDK and VRF technology creates a gaming experience that balances player skill with verifiable fairness in reward distribution.

Disclaimer: The information provided in this article is for educational purposes only and should not be considered financial or legal advice. Always conduct your own research or consult a professional when dealing with cryptocurrency assets.
Latest News
Show All News