VoucherDAO
Turn forgotten vouchers into tradable value
Created on 30th December 2025
•
VoucherDAO
Turn forgotten vouchers into tradable value
The problem VoucherDAO solves
VoucherDAO
Overview
VoucherDAO is a Web3 protocol that turns unused vouchers and gift cards into liquid, on-chain assets users can actually use instead of letting them expire. It tokenizes each voucher type as an ERC-1155 asset and routes trading through an AMM-style liquidity pool, so anyone can swap a voucher for ETH, buy discounted vouchers, or provide liquidity and earn fees.
On top of that, it offers a simple interface to view all vouchers, see real-time on-chain value, choose between selling, pooling, or redeeming, and finally redeem on-chain vouchers into off-chain claim codes or QR codes that can be used at real stores, bridging traditional voucher value into DeFi and back.
Problem Statement
A large amount of value locked in vouchers and gift cards expires unused because people forget about them, move cities, or don't like the specific brand. Existing ways to sell vouchers are fragmented and risky: informal P2P trades on chats/OLX, or opaque centralized resale platforms with high spreads.
Users have no unified place to see all their vouchers, current value, and best action (sell, hold, or redeem). There is no simple way to plug vouchers into DeFi primitives like swaps, liquidity pools, and yield.
Use Cases
Instantly Sell Unwanted Vouchers
Convert unused vouchers directly into ETH through an automated market maker (AMM) instead of hunting for a buyer. Get a transparent, on-chain price based on pool reserves rather than arbitrary discounts. Turn "I'll probably never use this card" into liquid crypto that can be reused anywhere.
Buy Discounted Vouchers
Users who actually want to shop at a brand can buy vouchers at a discount using ETH. AMM pricing means more sell pressure leads to cheaper vouchers, rewarding buyers who are willing to use them. This creates a continuous, permissionless discount marketplace for popular brands.
Provide Liquidity and Earn Fees
Users can deposit vouchers + ETH into liquidity pools and receive LP tokens in return. Every swap pays a small fee to LPs, giving them yield on top of otherwise idle gift cards. This lets both crypto-native users and regular voucher holders participate in DeFi-style fee farming using real-world value.
Safely Trade Without Trusting Strangers
All swaps and deposits go through transparent smart contracts, removing "who sends first?" risk from informal P2P deals. Either the transaction succeeds atomically (both sides receive assets) or it reverts; there is no partial failure or ghosting. Users can verify pool balances, prices, and their own positions directly on-chain.
Unify and Manage Voucher Portfolio
Users see all supported vouchers in one dashboard: brand, face value, expiry, and on-chain market value. The app makes it easy to decide per voucher: "sell now", "hold and LP", or "redeem at store". This reduces cognitive load and prevents vouchers from being forgotten in inboxes and SMS threads.
Bridge On-Chain Value Back to Real World
When a user wants to actually use a voucher, they trigger an on-chain redeemVoucher flow that burns or locks the voucher token. The system then issues an off-chain claim code or QR that can be presented at a store or in an app checkout. This completes the loop: real-world voucher → on-chain trading/yield → real-world redemption again, showing a clear integration path for brands.
Enable Future Integrations and Automation
Brands and platforms can later integrate via APIs to automatically issue on-chain vouchers instead of legacy gift codes. Corporate or bulk vouchers can be instantly made liquid, solving "corporate gifting that nobody uses" problems. Over time, users could set rules like "auto-sell any voucher 7 days before expiry" or "auto-LP my high-value vouchers," automating value preservation.
Challenges we ran into
Challenges I Ran Into
Getting the swap math and pricing right
The main challenge was implementing the AMM swap logic correctly so that voucher ↔ ETH prices updated smoothly without breaking invariants. The first version of the formula was too naive and either underpriced vouchers or caused huge slippage on small trades. To fix this, the constant-product AMM math was re-derived carefully on paper, then verified with a small local simulation and unit tests in Hardhat. Reading DeFi contract examples and discussions, and checking multiple explanations of Uniswap-style x·y = k, helped settle on a correct pattern, and a friend cross-checked the edge cases for zero liquidity and tiny trades.
Designing a clean escrow flow for redemptions
Designing the escrow/redeem flow was also tricky: the question was when to burn/lock the voucher on-chain versus when to issue an off-chain claim code without opening up race conditions or double spends. The first design tried to mix too much logic into the smart contract, which made it complex and hard to reason about. The solution was to simplify the contract to just emit a clear "Redeemed" event and handle claim code generation in the backend, using event listening and a simple status field in the database. To get there, documentation and forum posts on event-driven Web3 backends were reviewed, a couple of Stack Overflow answers on escrow patterns were studied, and the final design was sanity-checked with peers.
Coordinating frontend, contracts, and backend data
Another subtle challenge was keeping the frontend in sync with both on-chain state (balances, reserves, prices) and off-chain data (voucher metadata and claim codes). Initially, the UI was mixing concerns and trying to pull everything from one place, which led to inconsistent views and stale data. The fix was to clearly split responsibilities: contracts are the source of truth for balances and prices, while the backend only serves metadata and redemption info. The integration was then refactored so the React app calls contracts directly for financial data and uses simple REST endpoints only for metadata and claim codes, guided by examples from documentation and by asking more experienced friends how they structure hybrid Web2/Web3 frontends.
Tracks Applied (2)
Ethereum Track
ETHIndia
