OPN VaultGuard
Self-custodial DeFi savings vaults for goal-based native IOPN deposits on OPN Chain.
by harley7317 · submitted May 29, 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 we built
OPN VaultGuard is a self-custodial DeFi savings vault built on OPN Chain. Users can create goal-based vaults, deposit native IOPN, track progress toward a savings target, and withdraw funds after the vault unlock date.
The project includes a deployed Solidity smart contract, a Next.js dApp, wallet connection, OPN Chain configuration, contract reads/writes, transaction flow, and explorer-linked on-chain activity.
Why
Most savings products are custodial or depend on centralized financial intermediaries. OPN VaultGuard demonstrates a simple open-finance primitive where users keep custody of their funds while using transparent on-chain rules for savings goals and timed withdrawals.
It fits Season 1 DeFi & Open Finance because the core product flow depends directly on OPN Chain: vault creation, deposits, withdrawals, balances, and user vault history are all stored and executed on-chain.
How it works
- A user connects their wallet on OPN Chain.
- The user creates a vault with a name, goal amount, and unlock date.
- The vault is created by calling
createVault(name, goalAmount, unlockTime)on the deployed contract. - The user deposits native IOPN into a vault through
deposit(vaultId). - The dApp reads
getUserVaults(address)to show vault balances, progress, and unlock status. - After the unlock time, the user can call
withdraw(vaultId). - If needed, the user can call
emergencyWithdraw(vaultId), which closes the vault and emits an on-chain event.
OPN Chain integration
OPN Chain is not decorative in this project. It is the execution layer for the product.
Network details:
- Chain: OPN Chain
- Chain ID:
984 - RPC:
https://testnet-rpc2.iopn.tech - Explorer:
https://testnet.iopn.tech - Native asset:
IOPN
Deployed contract:
- Contract:
0xe1D9598Dd692c8a2a773B883616a79E4DeD40Dd9 - Deploy tx:
0x75c224d40b4c46df078cd73ff5bfcb8e36e20a113f4492cccd91b62245b9a74b - Explorer:
https://testnet.iopn.tech/address/0xe1D9598Dd692c8a2a773B883616a79E4DeD40Dd9
Technical implementation
Smart contract:
- Solidity
0.8.24 - Hardhat deployment
- Native IOPN payable deposits
- User vault registry
- Events for vault creation, deposits, withdrawals, and emergency withdrawals
Frontend:
- Next.js
- Tailwind CSS
- wagmi + viem
- RainbowKit wallet connection
- OPN Chain config built into the dApp
- Live contract reads/writes
- Explorer links for on-chain proof
Current MVP features
- Create a personal savings vault
- Deposit native IOPN
- View user vaults
- Track savings progress against a goal
- See lock/unlock status
- Withdraw after unlock
- Emergency withdraw before unlock
- View deployed contract on the OPN explorer
Roadmap
- Shared vaults for teams and groups
- Vault templates for emergency funds, builder grants, and community goals
- Completion badges or reputation for finished savings goals
- Optional treasury/penalty routing for emergency withdrawals
- More detailed analytics for total vault activity and user savings behavior
Links
- Demo:
https://opn-vaultguard.vercel.app - GitHub:
https://github.com/awley-del/opn-vaultguard
Roadmap
02/03
What ships next.
The builder's own next-quarter plan. Use it to gauge follow-through and ambition.
Phase 1 - Current MVP
- Deployed OPNVaultGuard smart contract on OPN Chain testnet.
- Launched the public demo dApp with wallet connection, vault creation, native IOPN deposits, vault dashboard, withdrawals, and explorer links.
- Published the GitHub repository with contract source, frontend code, deployment script, tests, and documentation.
Phase 2 - Next 30 Days
- Add hosted contract verification on the OPN explorer.
- Improve vault analytics, including completed vaults, active vaults, and total user savings over time.
- Add transaction history per vault so users can review deposits, withdrawals, and emergency withdrawals directly in the UI.
- Add clearer onboarding for new OPN Chain users, including network setup and faucet guidance.
Phase 3 - Next Quarter
- Add shared vaults for teams, communities, and group savings goals.
- Add vault templates for emergency funds, builder grants, community pools, and recurring savings.
- Add optional achievement badges for completed vault goals.
- Improve mobile UX and wallet connection reliability.
Beyond
- Explore programmable savings rules, including recurring deposits and milestone-based unlocks.
- Add optional treasury or community routing for emergency-withdraw penalty metrics.
- Build public dashboards for aggregate OPN VaultGuard activity across the network.
- Expand the product into a broader open-finance savings primitive for OPN Chain users and builders.
On-chain proof
03/03
1 contract on OPN Chain.
The chain itself confirmed every deployment is valid, signed by the builder's wallet, and inside the season's window.