Nexgen
Demo Video
Project Information
At a Glance
Liquid Environmental Assets on XRPL - transforming verified water & energy savings into tradable tokens, with NFT-based creature nexgen game rewarding sustainable behavior.
Description
The Problem
Climate action lacks economic incentives for individuals. Despite widespread awareness, most people have no tangible way to monetize their sustainability efforts. Meanwhile, carbon credits and environmental assets remain locked in opaque corporate markets.
Our Solution: NexGen
NexGen is the first Liquid Environmental Asset (LEA) exchange built on XRPL, transforming verified real-world sustainability actions into tradeable blockchain tokens.
How It Works
- Upload Utility Bills - Users upload water or energy bills (PDF/images)
- AI Verification - GPT-4O and Gemini AI extract and verify consumption data with 95%+ accuracy
- Baseline Comparison - A hybrid model (85% regional averages + 15% personal history) calculates your reduction
- Earn Credits - Consumption below baseline earns reward credits
- Mint Tokens - Convert credits to $WTR (water) or $ENG (energy) tokens on XRPL
- Trade or Hold - Use tokens in our ecosystem or trade on XRPL DEX
Three-Token Economy
| Token | Purpose |
|---|---|
| $WTR | Backed by verified water savings |
| $ENG | Backed by verified energy reductions |
| $NXS | Governance, settlement & rewards |
🎮 Regenz: NFT-Powered Sustainability Game
The heart of NexGen's engagement layer is Regenz - an NFT-based virtual pet game where your sustainability actions directly power gameplay.
NFT Creatures
Every Regenz creature is a unique NFT minted on the XRP Ledger:
- 6 Rarity Tiers: Common → Uncommon → Rare → Epic → Legendary → Mythic
- Unique Traits: Each NFT has distinct visual attributes, stats, and abilities
- True Ownership: Stored on-chain, fully tradeable on XRPL marketplace
- Scarcity: Limited editions and seasonal drops create collector value
NFT Egg Hatching System
| Egg Type | Cost | Rarity Odds |
|---|---|---|
| Basic Egg | 10 $WTR | 70% Common, 25% Uncommon, 5% Rare |
| Premium Egg | 25 $WTR | 40% Uncommon, 40% Rare, 15% Epic, 5% Legendary |
| Mythic Egg | 50 $ENG | 30% Epic, 40% Legendary, 25% Mythic, 5% Special |
- Purchase eggs with earned sustainability tokens
- Hatch to reveal your unique NFT creature
- Trade duplicates or rare finds on marketplace
Gameplay Mechanics
| Action | Cost | Effect |
|---|---|---|
| 💧 Water | 1 $WTR | +10 XP, +happiness |
| 🍎 Feed | 2 $WTR | Maintains health |
| ⚡ Energize | 1 $ENG | Temporary boost |
| 🔥 Power Up | 5 $ENG | Unlock abilities |
NFT Progression
- XP System: Care actions earn XP (100 base, 1.5x multiplier per level)
- Evolution: NFTs evolve at milestone levels, changing appearance and stats
- Breeding (Coming Soon): Combine two NFTs to create offspring with inherited traits
- Staking: Lock NFTs to earn passive $NXS rewards
The Sustainability-Gaming Loop
Save Water/Energy IRL → Earn $WTR/$ENG → Hatch NFT Eggs → Collect Creatures → Level & Evolve → Trade on Marketplace → Continue Saving → Earn More
Your real conservation efforts create real digital value.
Technical Details
Architecture
Frontend: React 19, Vite, Tailwind CSS 4, shadcn/ui, Framer Motion, xrpl-connect
Backend: Express.js/TypeScript, Drizzle ORM, PostgreSQL (Neon)
AI: GPT-4O + Gemini for bill extraction (98%+ accuracy)
Blockchain:
- MPT tokens ($WTR/$ENG) for fungible rewards
- XRPL NFTs for Regenz creatures with on-chain metadata
- NFTokenMint for creature creation, NFTokenCreateOffer for marketplace
NFT Game System:
- Creatures: 6 rarity tiers, unique attributes, evolution mechanics
- Eggs: Purchasable with tokens, randomized hatching with weighted rarity
- Progression: XP-based leveling (100 base, 1.5x curve)
- Economy: Token sinks (care, hatching) balanced with sustainability earning
Database: 20+ tables tracking users, bills, consumption, rewards, NFT ownership, creature stats, game transactions
Challenges Solved
- Hybrid baseline model for fair reward calculation
- Dual token system (fungible + NFT) on XRPL
Team
3Divgun Singh
Joshua Walter
Xavier Guiter
Hackathon
HACK4GOOD: Build with XRPL Commons ECE
Duration
Nov 29, 7:30 AM - Nov 30, 5:00 PM
Prizes Won
1Prizes Won
1 prize awarded