XRPLabel
XRPLabel: A blockchain marketplace connecting farmers, producers and labs with transparent traceability using XRPL NFTs and Multi-Purpose Tokens for certified agricultural products.
Project Information
At a Glance
XRPLabel: A blockchain marketplace connecting farmers, producers and labs with transparent traceability using XRPL NFTs and Multi-Purpose Tokens for certified agricultural products.
Description
XRPLabel is a transparent marketplace that uses XRPL blockchain to improve traceability and certification of agricultural products while ensuring fair payment for all actors.
The Problem 40% of organic and AOP labels in France are fake or fraudulent. Agricultural revenues are declining year after year. The root cause: too many intermediaries in the supply chain, each adding margins and opacity.
Our Solution We built a decentralized platform where every actor (farmer, producer, lab) is verified and every transaction is recorded on-chain.
How It Works
-
Actor Registration: Each actor presents a recent audit proof to join the network. They receive a Verifiable Credential (VC) based on their role (Farmer = Seller, Producer = Buyer, Lab = Certifier) giving access to their dedicated dashboard.
-
Harvest Creation: When a farmer harvests, they create an NFT containing metadata about the harvest and an encrypted image that will be used later for verification.
-
Offer System: Producers can view non-encrypted NFT data and make offers if interested.
-
Transaction Flow: When a farmer accepts an offer, a Dynamic Multi-Purpose Token (MPT) with multisig is created, including the lab as a signing party. The MPT is sent to the lab.
-
Certification: Once the producer receives goods and creates the product, the lab analyzes it and decrypts the NFT image to verify the farmer's credentials. The lab then signs the MPT, validating the entire chain.
Key Advantages
- Transparency: Every step signed and traced on-chain. No fraud possible.
- Fair Payment: Remove intermediaries. Money goes directly to farmers.
- Easy Traceability: On-chain history visible to all actors.
Roadmap
- Phase 1: Farmer dashboard, producer offers, lab certification
- Phase 2: QR codes on products for customer verification
- Phase 3: On-chain payments and European expansion
Technical Details
Architecture
- Frontend: Next.js 14, React, Framer Motion, Tailwind CSS
- Backend: Node.js, Express
- Blockchain: XRPL (XRP Ledger)
XRPL Implementation
- NFTs: Created by farmers for each harvest, containing metadata and encrypted image proof
- Multi-Purpose Tokens (MPT): Dynamic tokens with multisig capability tracking product lifecycle
- Verifiable Credentials (VC): Role-based access control for actors
Key Technical Features
- Dynamic MPT with multisig (Farmer + Producer + Lab)
- Encrypted image in NFT metadata for authenticity verification
- On-chain signature verification at each step
- Real-time XRPL connection via xrpl.js library
Challenges Overcome
- Implementing multisig flow across multiple actors
- Encrypting/decrypting images within NFT metadata
- Building dynamic MPT state updates on XRPL
Team
3Séchon Armand
Noé WALES
Wiliams Lopes
Hackathon
HACK4GOOD: Build with XRPL Commons ECE
Duration
Nov 29, 7:30 AM - Nov 30, 5:00 PM UTC