Skip to content
Velmora
Aug 2026

Velmora

Cross-chain NFT gaming platform with real-time multiplayer battles

01. The Challenge

Most NFT games either bolt gameplay onto static JPEGs with no real interaction, or run real-time state entirely off-chain with no verifiable ownership behind it.

02. The Solution

Built a five-subsystem monorepo where NFT minting and ownership live entirely on-chain while movement, trading, and combat are relayed through a server-authoritative real-time backend that validates every action.


Overview

Velmora is a cross-chain NFT gaming platform: players connect a wallet, mint a hand of generative NFTs, and take them into a real-time 2D multiplayer world to trade, battle, and earn soulbound achievement tokens.


Architecture

The game is split into five independently deployable subsystems: a Next.js/Phaser/Three.js game client, a Socket.IO game server, a Cloudflare Workers backend for persistent progress, a Solidity contract suite, and a generative art engine for the NFT collection.


Key Design Decisions

  • **On-chain truth for ownership:** Minting and ownership are entirely on-chain — the client talks to the deployed contracts directly, no off-chain database of record.
  • **Server-authoritative real-time state:** Movement and combat are relayed live through Socket.IO, with positions and health server-validated so clients can't cheat.
  • **Wallet-signed persistence:** Every mutating request to the profile/XP backend requires an EIP-191 signature proving control of the wallet being modified.

  • What's Next

    The roadmap includes AI-driven NPCs for dynamic trade/battle negotiation, Chainlink VRF to replace the current pseudo-random mint draw, and trustless cross-chain bridging via LayerZero.


    System Architecture

    Next.js 14 + Phaser 3 + Three.js game client with Privy wallet auth
    Node.js/Express/Socket.IO server-authoritative relay for player position, combat, and room state
    Hono on Cloudflare Workers backend for player profiles and XP, gated behind wallet-signature auth
    Solidity 0.8.24 contracts (Hardhat, OpenZeppelin): VelmoraCoin ERC-20 economy, an ERC-721 NFT collection with a Polygon mirror, and non-transferable soulbound achievement tokens
    Custom generative art engine producing the 1,200-piece layered NFT collection

    Project Links

    Technologies

    Next.jsPhaser 3Three.jsSocket.IOSolidityHardhatOpenZeppelinCloudflare WorkersMongoDB

    Key Impact

    Server-validated movement and combat, clamped and sanitized so a malicious client can't teleport or god-mode
    EIP-191 signature auth required on every mutating backend request
    Soulbound achievement tokens enforced as non-transferable at the contract level