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.

Deck: https://docs.google.com/presentation/d/1WaWhyVo1I5H4D5PKzKkpX3Sr1J87HRKVPmQj95Vx0ZU/edit?slide=id.g3ab669228f0_0_87#slide=id.g3ab669228f0_0_87

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

  1. Upload Utility Bills - Users upload water or energy bills (PDF/images)
  2. AI Verification - GPT-4O and Gemini AI extract and verify consumption data with 95%+ accuracy
  3. Baseline Comparison - A hybrid model (85% regional averages + 15% personal history) calculates your reduction
  4. Earn Credits - Consumption below baseline earns reward credits
  5. Mint Tokens - Convert credits to $WTR (water) or $ENG (energy) tokens on XRPL
  6. Trade or Hold - Use tokens in our ecosystem or trade on XRPL DEX

Three-Token Economy

TokenPurpose
$WTRBacked by verified water savings
$ENGBacked by verified energy reductions
$NXSGovernance, 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 TypeCostRarity Odds
Basic Egg10 $WTR70% Common, 25% Uncommon, 5% Rare
Premium Egg25 $WTR40% Uncommon, 40% Rare, 15% Epic, 5% Legendary
Mythic Egg50 $ENG30% 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

ActionCostEffect
💧 Water1 $WTR+10 XP, +happiness
🍎 Feed2 $WTRMaintains health
⚡ Energize1 $ENGTemporary boost
🔥 Power Up5 $ENGUnlock 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

  1. Hybrid baseline model for fair reward calculation
  2. Dual token system (fungible + NFT) on XRPL

Team

3
DS

Divgun Singh

JW

Joshua Walter

XG

Xavier Guiter

Hackathon

HACK4GOOD: Build with XRPL Commons ECE

Duration

Nov 29, 7:30 AM - Nov 30, 5:00 PM

View Hackathon Details

Prizes Won

1

Prizes Won

1 prize awarded

Second Place - XRPL

Sponsored by XRPL COMMONS
€1,500
EUR
Total Prize Money
€1,500