Liminal Games
Liminal Games is a decentralized protocol for skill-based psychological strategy games deployed on Ethereum’s Layer 2 network, Base. The system enables wagerable multiplayer games where outcomes are resolved on-chain through deterministic smart contracts, removing the need for centralized referees or game servers.
Problem
Skill-based wagering games require a trustless system where players can stake assets and resolve outcomes without relying on centralized infrastructure. The challenge was designing a protocol that can manage game state transitions, handle player staking, and resolve matches entirely on-chain while remaining usable through a traditional web interface.
Constraints
- Game resolution needed to be deterministic and verifiable on-chain
- Player funds had to remain secured within smart contracts throughout gameplay
- Frontend systems needed to expose blockchain interactions in a simple and understandable way
- The protocol had to remain efficient enough to run on Ethereum Layer 2 infrastructure
Approach
Protocol Architecture
Designed the core architecture for the Liminal Games protocol, defining how games are created, joined, resolved, and rewarded through smart contracts.
Smart Contract Systems
Implemented Solidity contracts responsible for game state management, staking mechanics, and deterministic match resolution.
Dual Token Integration
Integrated the protocol's dual-token economy using $LIM and $SPIRIT, supporting staking, rewards, and asset interaction across gameplay sessions.
Web3 Frontend Integration
Developed the Next.js frontend and connected it directly to smart contract functions, enabling players to create games, join matches, and interact with protocol systems through wallet-based authentication.
Implementation Highlights
On-Chain Game Resolution
Implemented smart contract systems that resolve game outcomes directly on-chain using deterministic logic.
Trustless Staking Mechanics
Built staking systems allowing players to lock tokens into matches and receive rewards based on verified outcomes.
Protocol Smart Contracts
Developed Solidity contracts governing game lifecycle, staking flows, and reward distribution.
Next.js Web3 Frontend
Implemented the protocol interface using Next.js and connected wallet interactions directly to contract functions.
Screens
Tap an image to open. Pinch to zoom inside the modal.
Results
Fully On-Chain Game Logic
Protocol Layer
Implemented gameplay resolution systems that operate entirely through smart contracts.
Ethereum L2 (Base)
Blockchain Network
Deployed the protocol within the Base ecosystem to benefit from lower fees and improved scalability.
Next.js Frontend
Web3 Interface
Developed a complete frontend interface allowing players to interact with smart contracts through standard Web3 wallets.
Next Steps
Future improvements could include additional game modules built on top of the protocol, expanded staking mechanics, and deeper token-driven incentive systems.