OPN RewardVault
Transparent on-chain reward distribution system for giveaways, bounties, ambassador programs, and campaigns on OPN Chain.
by rishug4436 · submitted May 31, 2026
Community votes
0
Voting opens when this submission reaches the Top 10 stage.
Overall score
—/ 100
Weighted average across the 5 judging criteria.
Description
01/03
What the builder said.
Written by the team, rendered as the markdown they typed in the submission wizard.
What I built?
OPN RewardVault is a decentralized, on-chain reward distribution system built specifically for OPN Chain.
It allows projects to deposit ERC20 tokens into a smart contract vault and distribute them transparently using Merkle proofs. Recipients can claim their rewards directly on OPN Chain by submitting a cryptographic proof — no spreadsheets, no trusted admins, and no off-chain processes required.
The system supports partial claims, includes an easy CSV upload tool in the frontend for generating proofs, and records every action (deposits, root updates, claims) fully on-chain through events.
Why it matters?
Reward distribution is one of the most frequent and important operations in Web3. Projects constantly run giveaways, ambassador programs, bounty systems, community incentives, and airdrops. Despite how common this activity is, the current infrastructure for handling rewards remains surprisingly primitive and centralized.
Most existing solutions have serious limitations: • They rely on off-chain spreadsheets or third-party platforms, creating single points of failure and trust. • Recipients have no way to independently verify whether the distribution was fair or complete. • There is little to no transparency or auditability after the fact. • These methods are prone to human error, accusations of bias, or even manipulation.
These problems are especially damaging for projects trying to build long-term trust and strong communities.
OPN RewardVault addresses these issues by moving the entire reward distribution process on-chain with cryptographic guarantees. By using Merkle proofs, it ensures that: • Distributions are mathematically verifiable by anyone. • No central party can alter who receives rewards once the root is published. • Every action is permanently recorded on OPN Chain with full event history. • Recipients can claim without needing permission from any admin.
This approach brings real utility to OPN Chain. It shows that the chain can support sophisticated, production-grade infrastructure that goes beyond simple token transfers. Verifiable incentive systems are foundational for decentralized communities, DAOs, and growth programs — all of which are natural use cases for OPN Chain.
By building this natively on OPN rather than as a generic multi-chain tool, we are creating infrastructure that is optimized for the chain’s strengths and directly contributes to its ecosystem growth.
How it works?
OPN RewardVault works through a simple but powerful on-chain mechanism using Merkle proofs:
--1. Deposit Phase (Project Side) • The project owner deposits the reward tokens (ERC20) into the OPNRewardVault smart contract using the deposit() function. • These tokens are held securely in the vault until claims are made.
--2. Merkle Root Setup • The project prepares a CSV file containing the list of recipients and their reward amounts. • The frontend automatically generates a Merkle tree from this data. • The project owner calls setMerkleRoot() on the contract to publish the root on-chain. This root represents the complete reward distribution.
--3. Claiming Phase (User Side) • Recipients receive (or download) a proof file containing their individual Merkle proof and allocated amount. • They connect their wallet on the frontend and submit a claim. • The smart contract verifies the proof against the on-chain Merkle root using OpenZeppelin’s MerkleProof library. • If valid, the contract transfers the tokens to the user.
Roadmap
02/03
What ships next.
The builder's own next-quarter plan. Use it to gauge follow-through and ambition.
What We Have Achieved So Far
Fully deployed and functional OPN RewardVault smart contract on OPN Testnet (Chain ID 984)
• Reward token (MockERC20) also deployed and integrated with the vault
• Live public frontend deployed on Vercel with complete user flow: • CSV upload for reward lists • Automatic Merkle tree + proof generation • On-chain Merkle root setting • Public claiming with Merkle proof verification • Support for partial claims
• Builder profile completed (wallet + Discord connected to OPN Builders programme)
• Public GitHub repository with clean, documented codebase
• Modern tech stack: Solidity 0.8.35 + Hardhat 3, Next.js 16, Wagmi v3, RainbowKit, shadcn/ui
• All core contract functions implemented and tested (deposit, setMerkleRoot, claim, closeVault, emergency withdrawal)
• Full on-chain transparency via events
• Prepared verification materials and ready for mainnet deployment
Roadmap
Next Quarter (Q3 2026)
• Release a "Campaign Builder" interface for non-technical teams to create and manage reward programs directly from the dapp.
• Deploy OPN RewardVault to OPN Mainnet with full feature parity.
• Complete a professional smart contract audit (target: reputable firm).
• Launch a public documentation site and improved user guides.
• Add support for multiple simultaneous campaigns per project.
• Collect feedback from 5–10 early projects running real reward distributions.
Following Quarter (Q4 2026)
• Add on-chain analytics dashboard (total distributed, claim rates, top recipients, etc.).
• Support gasless claims via account abstraction or meta-transactions.
• Integrate with popular OPN Chain projects and protocols for native reward tooling.
• Launch a public leaderboard of campaigns run on the platform.
Beyond (2027 and onward)
• Expand to support NFT and Soulbound token distributions.
• Build a permissionless "Reward Marketplace" where projects can discover and use pre-built incentive templates.
• Add multi-chain support while keeping OPN Chain as the primary settlement layer.
• Develop enterprise-grade features (role-based access, multi-sig workflows, compliance reporting).
• Open-source key components (Merkle proof generator, claim SDK) to help other teams build on top of the protocol.
Our goal is to become the standard infrastructure for transparent, on-chain reward and incentive programs across the OPN ecosystem.
On-chain proof
03/03
2 contracts on OPN Chain.
The chain itself confirmed every deployment is valid, signed by the builder's wallet, and inside the season's window.