Skip to content

GoalVault is a decentralized collaborative savings and accountability platform built on Scroll that helps teams achieve their financial goals through smart contract-powered vaults. We combine group savings** with **task accountability to ensure teams don't just collect money they actually achieve their goals. Deployed on SCROLL SEPOLIA

Notifications You must be signed in to change notification settings

Elite-tch/goalvault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎯 Scroll GoalVault

Deployed and Ready

✅ Project Status

Scroll GoalVault is fully built, deployed, and functional.


📜 Smart Contract


🎨 Frontend Application

The frontend is fully integrated with the smart contract and includes:

Pages

  • Landing Page Hero section with clear project overview

  • Create Vault Full form connected to the smart contract

  • Dashboard Displays all vaults fetched from the blockchain

  • Vault Details Page Join vaults Complete tasks Verify tasks Release funds

Wallet Integration

  • RainbowKit
  • Scroll Sepolia network support

🚀 Getting Started

1. App Access

The app runs locally at: http://localhost:3000

2. Connect Wallet

  • Click Connect Wallet in the navbar
  • Switch to Scroll Sepolia
  • Ensure you have testnet ETH

🧪 How to Use the App

Create a Vault

  1. Click Start a Vault or go to Dashboard → Create New Vault

  2. Fill in:

    • Vault name (example: Hackathon Team Fund)
    • Financial goal (example: 0.1 ETH)
    • Duration (example: 7 days)
    • Tasks (example: Complete project, Deploy contract)
  3. Click Create Vault on Scroll

  4. Approve the transaction

  5. Wait for confirmation

Join a Vault

  1. Open Dashboard
  2. Select a vault
  3. Enter deposit amount
  4. Click Join Vault

Complete Tasks

  1. Open your vault details page
  2. Go to Your Tasks
  3. Click Mark Complete

Verify Tasks (Vault Creator Only)

  1. Open vault details
  2. Select a member
  3. Click Verify on completed tasks

Release Funds

  1. All tasks must be verified
  2. Financial goal must be met
  3. Vault creator clicks Release Funds
  4. Funds are returned to members

🎮 Core Features

  • Create group savings vaults
  • Set financial goals and deadlines
  • Assign tasks to members
  • Join vaults with ETH deposits
  • Track progress on-chain
  • Complete and verify tasks
  • Release funds when conditions are met
  • Cancel vaults and refund members

🔐 Smart Contract Capabilities

  • Trustless escrow on Scroll zkEVM
  • Dual verification (tasks + funding)
  • Time-locked vaults
  • Member management
  • Per-member task tracking
  • Automated fund distribution
  • Emergency cancellation support

🖥️ Frontend Capabilities

  • Real-time blockchain data
  • Responsive and clean UI
  • Wallet connection with RainbowKit
  • Transaction state tracking
  • Loading and error handling
  • Block explorer links
  • Progress visualization

🏗️ Tech Stack

  • Smart Contracts: Solidity 0.8.28
  • Frontend: Next.js, React, TypeScript
  • Styling: Tailwind CSS
  • Animations: Framer Motion
  • Web3: Wagmi, Viem, RainbowKit
  • Network: Scroll Sepolia
  • Deployment: Hardhat

📁 Project Structure

syncvault/
├── contracts/
│   └── GoalVault.sol
├── app/
│   ├── page.tsx
│   ├── dashboard/
│   │   ├── page.tsx
│   │   └── create/page.tsx
│   └── vault/[id]/page.tsx
├── components/
│   ├── Navbar.tsx
│   └── LandingHero.tsx
├── lib/
│   ├── contracts.ts
│   └── hooks/useGoalVault.ts
└── scripts/
    └── deployGoalVault.ts

🎯 Next Steps

Hackathon Demo

  1. Create demo flow

    • Create vault
    • Join with multiple wallets
    • Complete tasks
    • Release funds
  2. Record demo video

    • UI walkthrough
    • Dual accountability explanation
    • Scroll zkEVM advantages
  3. Optional enhancements

    • Gamification
    • Vault templates
    • Social sharing

Production Readiness

  1. Get WalletConnect Project ID
  2. Update providers config
  3. Deploy to Scroll mainnet
  4. Update contract address
  5. Add notifications
  6. Add vault discovery page

🐛 Troubleshooting

Wallet Not Connected

  • Click Connect Wallet
  • Switch to Scroll Sepolia

Insufficient Funds

  • Ensure enough ETH for gas and deposits

Transaction Failed

  • Confirm correct network
  • Increase gas if needed

App Not Loading

  • Run npm run dev
  • Clear browser cache
  • Check console logs

📚 Resources


🎉 Final Notes

Scroll GoalVault is a complete group savings and task accountability platform running on Scroll zkEVM.

Contract Address: 0xf7ef04b4d03fa5c64e61110f052b9ddee715e8a6

Local App: http://localhost:3000

About

GoalVault is a decentralized collaborative savings and accountability platform built on Scroll that helps teams achieve their financial goals through smart contract-powered vaults. We combine group savings** with **task accountability to ensure teams don't just collect money they actually achieve their goals. Deployed on SCROLL SEPOLIA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published