hackquest logo

Stake2Take

Built for MetaMask Card Dev Cook-Off

Videos

Description

📛 Project Name: Stake2Take
🏁 Track: Smart Agents & Liquidity Automation (Track 1)


🧠 What is Stake2Take?
Stake2Take is an autonomous smart agent that manages your MetaMask Card balance, vault allocation, cashback rewards, and credit usage — all on autopilot, every 5 seconds.

Stake once. Let the agent take care of the rest.


⚙️ Key Features:

  • 💳 Spending Detection: Detects when your balance drops below the target → auto top-up (simulated with Circle & LI.FI).

  • 🔁 Vault Rebalancing: Shifts allocation when APYs change to maximize yield.

  • 🌉 Cross-Chain Liquidity: Automatically bridges USDC across chains using LI.FI SDK.

  • 🎁 Rewards Optimization: Automatically claims cashback from your chosen spending categories (e.g. Spotify, Food, Gaming).

  • ⚠️ Credit Monitoring & Auto-Repay: Tracks credit usage and repays automatically when the threshold is hit.


🧭 How It Works (Closed Journey):

  1. 🔧 User sets: target balance, vault allocation, reward preferences, credit limit, and bridging toggle.

  2. 🟢 Click Activate Agent

  3. 🤖 Agent runs every 5 seconds to:

    • Check balance and top-up if low

    • Rebalance vaults if APYs shift

    • Claim cashback

    • Repay credit

    • Bridge funds cross-chain if needed

  4. 📋 All actions are recorded in real-time with timestamped logs and emojis in the Logs tab.


🧱 Tech Stack:

  • 💻 Frontend: Next.js, Tailwind CSS, shadcn/ui

  • 🦊 Wallet: MetaMask SDK + Delegation Toolkit

  • 🌉 Bridging: LI.FI SDK

  • 💵 Stablecoin: USDC via Circle CCTP (simulated)

  • 🧠 Agent Engine: React useEffect + setInterval()

  • 🧾 Smart Contracts (Simulated): AgentManager.sol, TopUpModule.sol, VaultManager.sol


✅ Why It Perfectly Fits Track 1:
Track 1 asks for smart agents that automate:

  • Spending ✅

  • Rebalancing ✅

  • Real-time liquidity ✅

  • Card top-ups ✅

  • Credit usage ✅

  • Rewards ✅

  • Minimal user input ✅

  • Cross-chain logic ✅

Stake2Take executes all of this automatically, without AI assistants, and can be manually simulated and verified.

Progress During Hackathon

Pra MVP - Built for MetaMask Card Dev Cook-Off

Fundraising Status

Fresh Project

Team LeaderMMalioboro Dev
Sector
DeFi