ProofVault
A Next.js app + single smart contract where users lock tokens on-chain for commitments (study, fitness, savings, etc.) and can only claim their stake after the deadline passes.
Videos
Tech Stack
Description
ProofVault β On-Chain Proof of Commitment
One-Line Idea
A Next.js app + single smart contract where users lock tokens on-chain for commitments (study, fitness, savings, etc.) and can only claim their stake after the deadline passes.
Core Concept
"Put money where your promise is."
Users commit to something meaningful, stake real tokens, and can only withdraw after time passes. The blockchain ensures accountabilityβno shortcuts, no excuses.
MVP Features
π― Create Commitment
Lock tokens (MNT) on Mantle testnet
Set your goal (study, gym, savings, career, etc.)
Choose duration: 7 days β 365 days
Transaction confirmed on-chain
β³ Lock Period
Smart contract holds your tokens
Real-time countdown timer
View all your active commitments
Earn credibility
β¨ Claim After Deadline
Only available after lock period ends
One-click claim to withdraw tokens
Prove you kept your promise
Celebrate your commitment
Tech Stack
Frontend
Next.js 16 - React framework
Tailwind CSS - Styling
ethers.js - Web3 interactions
wagmi - Wallet management
RainbowKit - Beautiful wallet UI
Smart Contract
Solidity 0.8.20
Mantle Testnet - Deployment network
EVM-compatible
Blockchain
Network: Mantle Testnet (Chain ID: 5003)
Contract Address:
0xB6568c40822689b58b1e289a26e61525fD2e325CRPC:
https://rpc.testnet.mantle.xyz
Project Structure
proofvault/
βββ app/ # Root layout & pages
β βββ layout.tsx # Root layout
β βββ globals.css # Global styles
β βββ page.tsx # Home page (in src/)
βββ src/
β βββ app/
β β βββ page.jsx # Home page
β β βββ create/
β β β βββ page.jsx # Create commitment
β β βββ vault/
β β βββ page.jsx # View commitments
β βββ components/
β β βββ WalletConnect.jsx # Wallet connection
β β βββ CreateForm.jsx # Create form
β β βββ CommitmentCard.jsx # Commitment display
β β βββ CountdownTimer.jsx # Timer display
β βββ contracts/
β β βββ ProofVault.sol # Smart contract
β β βββ ProofVaultABI.js # Contract ABI
β β βββ contractConfig.js # Contract config
β βββ utils/
β βββ ethers.js # Web3 utilities
β βββ constants.js # App constants
βββ package.json
βββ tsconfig.json
βββ postcss.config.mjs
βββ tailwind.config.ts
βββ README.md