🌿 VerdeX — Project Story

VerdeX is a decentralized Real World Asset (RWA) marketplace for carbon credits built on the XRP Ledger (XRPL). Our platform bridges the gap between environmental impact and blockchain technology, enabling transparent, verifiable, and liquid carbon credit trading.


Inspiration

The carbon credit market is plagued by fundamental issues that undermine its potential to combat climate change:

  1. Double Counting — The same credit can be sold multiple times, inflating offset claims.
  2. Lack of Transparency — Buyers cannot easily verify origin, certification, or retirement status.
  3. Illiquidity — Traditional credits are locked in siloed registries, making trading slow and expensive.
  4. Greenwashing — Without immutable records, companies can make unverifiable claims.

We asked: What if every carbon credit had a tamper-proof digital identity? The XRP Ledger's energy efficiency ( kWh/tx) aligned perfectly with our mission. Additionally, the Multi-Purpose Tokens (MPT) standard (XLS-33d) provided the ideal primitive for assets with rich metadata.


What it does

VerdeX provides a complete end-to-end solution for carbon credit tokenization and trading:

🏭 For Issuers

  • Mint MPTs with embedded metadata (project name, vintage, certification).
  • Upload Audit Reports to IPFS, permanently linked to tokens for verification.
  • Manage Requests and track token distribution across the marketplace.

🛒 For Buyers

  • Browse Verified Credits in a transparent, decentralized marketplace.
  • Atomic Swaps allow secure purchases using XRP via escrow logic.
  • Retire Credits to claim offsets and receive on-chain certificates.

🔒 Key Features

  • Atomic Swaps: Crypto-conditional escrows ensure trustless exchange of XRP and tokens.
  • Immutable Retirement: Retired credits are permanently recorded; they cannot be resold.
  • Provenance Tracking: Full traceability from issuance to retirement.
  • IPFS Integration: Decentralized storage for audit reports ensures data integrity.

How we built it

The Green Foundation (XRPL & MPTs) We leveraged the XRP Ledger's native Multi-Purpose Tokens (XLS-33d) to represent carbon credits, allowing us to embed project metadata directly on-chain without smart contracts. For the marketplace, we implemented Crypto-Conditional Escrows (PREIMAGE-SHA-256), creating a trustless atomic swap mechanism where XRP and carbon tokens exchange simultaneously only when cryptographic conditions are met.

The Bridge to Reality (IPFS) To prevent greenwashing, we integrated Pinata to pin PDF Audit Reports and Verification Certificates to IPFS. We hex-encode the resulting Content Identifier (CID) into the MPT's metadata field during issuance. This creates an immutable, unbreakable link between the digital asset and its physical environmental proof.

The Institutional Interface (Next.js) We built a responsive dashboard using Next.js 14 and Tailwind CSS, utilizing a custom React Context to manage real-time ledger state. To improve the demo experience, we implemented a "Burner Wallet" strategy that auto-generates and funds Devnet wallets instantly, allowing judges to test the full lifecycle without installing browser extensions.

Data Fusion Strategy A unique challenge was tracking "retired" tokens, which disappear from on-chain balances. We solved this by building a portfolio engine that merges live blockchain data with a persistent local storage layer. This allows users to view a permanent history of their offsets and "Soulbound" retirement certificates even after the tokens are burned.


Technology Stack

  • Frontend: Next.js 14, React 18, TypeScript, Tailwind CSS
  • Blockchain: xrpl.js 4.x (XRPL SDK)
  • Storage: IPFS (Pinata) for audit reports
  • State: localStorage + React Context for wallet management
  • Network: XRPL Devnet (wss://s.devnet.rippletest.net:51233)

Key Technical Components

1. Token Issuance (MPT Creation) We use MPTokenIssuanceCreate to mint tokens with specific AssetScale and MPTokenMetadata that embeds project details directly on-chain.

2. Escrow-Based Atomic Swaps We implemented PREIMAGE-SHA-256 crypto-conditional escrows:

This ensures atomicity: The Issuer only gets paid if they reveal the secret that unlocks the tokens for the Buyer.

3. Token Retirement To "retire" a credit, users send tokens back to the issuer with a specific memo. We track these transactions to generate a permanent record of environmental impact.


Challenges we ran into

  1. MPT vs IOU Formats: We initially confused the schema for MPTs with standard IOUs, causing temMALFORMED errors. MPTs require mpt_issuance_id instead of currency/issuer.
  2. Escrow Logic: Debugging the direction of funds was tricky. We had to ensure the Buyer locks XRP, and the Issuer provides the fulfillment to claim it.
  3. State Persistence: "Retired" tokens technically disappear from the balance. We solved this by caching retirement certificates in localStorage so users can still see their impact history.
  4. Decimal Math: MPTs use AssetScale. Forgetting to divide raw values by resulted in display errors (e.g., showing 100x the actual amount).

Accomplishments that we're proud of

  • Working Atomic Swap: Successfully implemented trustless exchanges using crypto-conditions without smart contracts.
  • Full Lifecycle: Built a complete flow: Issuance → Listing → Purchase → Retirement.
  • Real-Time Data Fusion: Created a system that merges live on-chain data with local metadata for a seamless portfolio view.
  • UX Wins: One-click Devnet wallets allow judges to test instantly without installing browser extensions.

What we learned

  • Multi-Purpose Tokens (MPT): These are far superior to standard IOUs for assets needing native metadata and provenance tracking.
  • Crypto-Conditions: We learned how PREIMAGE-SHA-256 enables complex logic (like atomic swaps) on a non-Turing-complete ledger.
  • RWA Verification: The critical importance of linking off-chain proof (IPFS PDFs) to on-chain assets.
  • Carbon Market Dynamics: Understanding vintages, certification standards, and the difference between "holding" and "retiring" a credit.

What's next for VerdeX

  • Secondary Marketplace: Enabling peer-to-peer trading between buyers.
  • Mainnet Launch: Moving from Devnet to Mainnet with real verified credits.
  • Oracle Integration: Automating verification by connecting directly to registries like Verra or Gold Standard.
  • Retirement NFTs: Minting soulbound NFTs as commemorative "Proof of Offset" badges.

Built with 💚 for NUS Fintech Summit 2026

Built With

Share this project:

Updates