#  \[Grant Proposal\] Eldonia - A Fully On-Chain 3D RTS Game Capitalizing on Secret's Native Privacy Architecture

**URL:** <https://forum.scrt.network/t/grant-proposal-eldonia-a-fully-on-chain-3d-rts-game-capitalizing-on-secrets-native-privacy-architecture/8051>\
**Category:** Secret Contracts and Secret Apps\
**Created:** [September 17, 2026, 10:24pm UTC](https://forum.scrt.network/t/grant-proposal-eldonia-a-fully-on-chain-3d-rts-game-capitalizing-on-secrets-native-privacy-architecture/8051 "2026-09-17T22:24:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TtT](https://avatars.discourse-cdn.com/v4/letter/t/d07c76/32.png) [@TtT](https://forum.scrt.network/u/TtT)\
**Post date:** [September 17, 2026, 10:24pm UTC](https://forum.scrt.network/t/grant-proposal-eldonia-a-fully-on-chain-3d-rts-game-capitalizing-on-secrets-native-privacy-architecture/8051/1 "2026-09-17T22:24:56Z")

</div>

👑 **1. Executive Summary & Core Paradigm**

Eldonia is a fully on-chain 3D Real-Time Strategy (RTS) multi-kingdom simulation sandbox designed to run natively within the Cosmos/CosmWasm environment. While traditional Fully On-Chain Games (FOCG) face existential design constraints due to public ledger transparency, Eldonia embraces Secret Network’s hardware-based **Trusted Execution Environments (TEE/Intel SGX)** to introduce mechanic structures previously thought impossible on-chain: an unbreakable macro-tactical **Confidential Fog of War** and a **100% Inflation-Free Velocity-Driven Financial Ecosystem**.

Following the community consensus of Proposal #365, the network requires transactional utility dApps that generate high-frequency velocity without bleeding ecosystem pools. Eldonia delivers exactly this: a high-engagement sink for $SCRT that rewards territorial sovereignty, active logistics management, and skill-based tactical gameplay.

* * *

**🛡 2. Comprehensive Architecture & Secret Network TEE Integration**

Unlike standard EVM games or pseudonymous turn-based card protocols, Eldonia maps a massive, multi-biome 10,000 × 10,000 grid universe where state validation occurs inside encrypted enclaves.

**A. Cryptographic Spatial Obfuscation (True Fog of War)**

The raw X/Z coordinate vectors of roaming bandit squads, commercial NPC supply caravans, and rival military cohorts are committed to the ledger as encrypted variables (`private`).  
When a commander moves their golden 3D Cylinder mesh across the Aureon Plains or Ferndon Crags, the front-end client queries the `view_radar()` contract function. The enclave calculates Euclidean spatial proximities strictly behind the cryptographic curtain of the TEE:  
\(\text{Proximity}=\sqrt{(X\_{\text{entity}}-X\_{\text{player}})^{2}+(Z\_{\text{entity}}-Z\_{\text{player}})^{2}}\)  
Only coordinates validating within the specific vision envelope (140 units) are temporarily decrypted and streamed via secure state-channels to the individual user’s WebGL viewport. **This prevents network client scraping and entirely mitigates map-hack exploits at the protocol level.**

**B. Standalone 3D RTS Battle Switching & Multi-Unit Routing**

When a player mesh collides with an active bandit vector, macro-movement halts, and the camera re-angles to a dedicated **3D Grid Tactical Battle Arena**. To execute complex real-time commands without state desynchronization, the contract orchestrates micro-management handlers via detached structural arrays:

- **Independent Unit Manipulation:** In the RTS overlay hud, selecting the _Spearman Group_ (Blue 3D Block) to intercept a target vector modifies _only_ the Spearman pathfinding array inside the enclave. The _Bowman Group_ (Green 3D Sphere) remains statically fixed at its current parameters.
- **Ballistic Simulation:** Stationary bowmen autonomously acquire the coordinates of the _Red Enemy Chief Cone_. The TEE calculates real-time ballistic projectile lines, dynamically deducting HP until combat completion before restoring the player’s updated army array to the macro world plane.

* * *

**🪙 3. Sustainable Tokenomics & Cash-Flow质量守恆 (Mass Conservation)**

Eldonia rejects the standard “mint-to-reward” hyper-inflation mechanics that destroyed the first generation of GameFi. The circular architecture enforces strict capital velocity:

1. **Genesis Capital Pools:** Fiefdoms, independent villages, and main hold capitals spawn with dedicated starting reserves backed by the initial allocation pool. Players enter by staking native $SCRT directly into the macro expedition smart contract at a hard 1:1 backed ratio.
2. **The Let-Profit (讓利) 5% / 3% Tax Router:** To spark aggressive territorial conflicts, all economic matching executed inside a settlement’s market matrix incurs a strict 8% total processing transaction fee:
  - **92% Net Margin:** Transferred directly to the merchant wallet.
  - **5% Local Lord Allocation:** Routed directly to the regional vault of the player who currently occupies and secures that specific 3D sector. This yields immediate, high-frequency revenue for dominant regional nodes to subsidize standing armies.
  - **3% Global Sovereign Chest:** Maintained at the central finance contract to act as the macro prize pool for weekly Kingdom PvP Sieges, with a **20% stream of this specific sub-pool routed to the developer wallet** for permanent infrastructure upkeep.

3. **The Hardcore Logistic Sinks:** Standing troops consume a flat 0.1 units of grain per day-cycle (8 seconds). Spent token fees flow straight back to the corresponding village contract vaults. If grain drops to zero, the player mesh suffers a mandatory **50% speed penalty code-lock** , and an on-chain automated randomness check triggers a 25% attrition/desertion rate, forcing continuous engagement with localized agrarian trade loops.
4. **confindential Highway Robbery (Black Market Loop):** Players wanting to bypass the 5% local lord tax can haul resources under the shield of midnight fog to the _Confidential Black Market_ (2% flat fee). However, traveling these routes exposes the cargo arrays to high-rate bandit encounters. If a player loses to a bandit, **25% of their carried $SCRT cache is programmatically extracted and added to the bandit mesh’s on-chain drop wallet** , returning capital directly into the gameplay loop via emergent player-vs-environment bounty-hunting.

* * *

**📅 4. Development Milestones & Funding Request**

We are requesting a total development grant of **30,000 USD (payable in equivalent native SCRT based on 30-day trailing averages)**, milestone-gated against verifiable on-chain code deliverables:

- **Milestone 1: 3D Macro Plane Infrastructure & Keplr Authentication (Month 1-2)**
  - _Deliverables:_ 10,000 × 10,000 Three.js WebGL terrain scrolling engine, smooth camera tracking handlers, multi-biome grid partition (Plains, Mountains, Ocean), and a Web3 server locking universe entry behind an authentic Keplr wallet signature.
  - _Allocation:_ $15,000 USD (50%)

- **Milestone 2: Independent RTS Combat Canvas & Supply Engine (Month 3-4)**
  - _Deliverables:_ Standalone 3D grid battle system allowing parallel unit array update manipulation (Spearman vs. Bowman command splits), Cylinder projectile tracking, 0.1 grain consumption loop scripts, and automated AI defensive patrol pathing.
  - _Allocation:_ $9,000 USD (30%)

- **Milestone 3: CosmWasm Encrypted State Integration & Sandbox Launch (Month 5)**
  - _Deliverables:_ Compilation of the 5% Lord / 3% Central CosmWasm tax router modules, TEE distance check validation matrices for obscured entities, and official public deployment on the Secret Network Testnet.
  - _Allocation:_ $6,000 USD (20%)

* * *

**🚀 5. Core Team & Prototype Status**

We are highly agile, independent developers focused on high-utility engineering. We believe in building working prototypes before approaching governance pools.  
Our core WebGL render loop, camera system, spatial collision arrays, and tax split user interface are **already fully compiled, optimized for Google Chrome, and operational**.

_(Note: Once you host your code folder on Netlify Drop, insert your unique Netlify URL right here so validators can click and play instantly, guaranteeing high conversion for YES votes!)_

We look forward to collaborating with the Secret Foundation, validators, and node operators to build an un-bottlenecked gaming ecosystem that champions Secret’s true cryptographic advantages. We welcome feedback in this thread!
