Why We Built on X Layer
Fast finality, near-zero gas, and OKX ecosystem integration made X Layer the obvious choice for a real-time sentiment market.
Building a real-time sentiment market means one thing above all else: transactions have to be fast and cheap. When England loses on penalties, the grief spike has to hit the chain before the emotional moment passes.
X Layer delivers this.
The Technical Case
X Layer is an EVM-compatible L2 built by OKX, powered by Polygon CDK. Transactions confirm in seconds. Gas costs are negligible — our AI agent pushes 48 score updates every 30 minutes for fractions of a cent total.
For comparison: doing this on Ethereum mainnet would cost hundreds of dollars per update cycle. Doing it on most L2s would still be prohibitively expensive for a free-to-use protocol.
OKB as Native Currency
OKB is the native gas token. Grief tokens are priced in OKB. This creates a natural alignment with the OKX ecosystem — users who already hold OKB on OKX Exchange can bridge directly and start trading.
The OKX wallet is natively supported in Elegy's RainbowKit configuration.
The Hackathon Context
Elegy was built for the X Layer Build XCup hackathon (deadline May 28, 2026). The timing is deliberate — the World Cup starts June 11, giving us two weeks post-hackathon to prepare for live tournament trading.
Building on X Layer meant we could deploy 49 smart contracts (oracle + bonding curve + 48 tokens) for under 0.05 OKB total. That's the kind of economics that makes an experimental protocol viable.
What's On-Chain
- SentimentOracle —
0x234200FF134ddA9B36a1F13E83dEA006aE8A2443 - GriefBondingCurve —
0x113aC3D59766DC82604d748ff00E9a80cEF00ee6 - 48 GriefToken contracts, one per qualified team
All contracts are verified and live on X Layer Mainnet (Chain ID 196).