Rakshit.sol
Back to Projects

Ephemeral Empires

A fully on-chain multiplayer RTS game combining elements of Clash Royale with MagicBlock's Ephemeral Rollups.

SolanaReactTypeScriptViteAnchorEphemeral RollupsWebSockets

Magic Royale is an ambitious, fully on-chain multiplayer Real-Time Strategy game, heavily inspired by Clash Royale but built completely on the Solana blockchain.

Architecture

By migrating logic to MagicBlock's Ephemeral Rollups, it manages to facilitate high-frequency asset interactions smoothly without bogging down the main network with transaction congestion.

  • Frontend Client: High-performance React + TypeScript app bundled with Vite.
  • Node Server: Intermediate server to manage multiplayer matchmaking and state syncing.
  • On-chain Logic: Implements the Clash Royale fighting logic directly into Anchor programs via Rust.

Tech Stack

  • Frontend: React, TypeScript, Vite
  • Backend & Comm: Node.js, WebSockets
  • Blockchain: Solana, Anchor, MagicBlock Ephemeral Rollups