hackquest logo

Synapse Yield

A non-custodial yield optimizer using Account Abstraction and Delegation. It offers automated, secure asset rebalancing for maximum returns and one-click swap, transfer, and stake via Smart Accounts

视频

技术栈

Next
React
Web3
Ethers
Envio
MetaMask Delegation Toolkit
Node
permissionless.js

描述

Project Name
Synapse Yield

Tagline
Maximize Your DeFi Yield on Monad with Automated Optimization & Enhanced Security

Description
Synapse Yield is a decentralized application built on the Monad Testnet that automates yield optimization using Account Abstraction (ERC-4337) and the MetaMask Delegation Toolkit. Each user gets a dedicated Smart Account, enabling a seamless, one-click DeFi experience for staking, swapping, and rebalancing—with gas-sponsorship on testnet.

At its core, Synapse Yield features a fully non-custodial keeper automation system. Users authorize automation through a single EIP-712 delegation, granting limited permissions for specific actions like staking or swapping. A FastCron-powered backend continuously monitors portfolios and automatically executes rebalancing strategies to maximize yield—without ever exposing user private keys or taking custody of funds.

Security is enforced through SIWE (Sign-In With Ethereum) and Iron Session, while real-time transparency is provided by the Envio Indexer, which tracks both automated and user-driven actions.

Tech Stack
Core Blockchain: Monad Testnet
AA & Delegation: MetaMask Delegation Toolkit, Permissionless.js, Pimlico (Bundler & Paymaster)
Frontend: Next.js (App Router), React, TypeScript, Tailwind CSS, Framer Motion
Web3 Libraries: Viem, Wagmi, RainbowKit
Backend & Database: Next.js API Routes, MongoDB, Mongoose
Automation: FastCron (triggering Node.js keeper script)
Authentication: SIWE, Iron Session
Data Indexing: Envio, Apollo Client

GitHub Repo
https://github.com/akm2006/synapse-yield

Live Demo
https://synapse-yield.vercel.app/

本次黑客松进展

The Synapse Yield platform was conceived, designed, and built entirely from scratch during the MetaMask Smart Accounts × Monad Dev Cook Off. All components—from the smart account backend to the polished frontend—were developed within the hackathon period. We first ideated a non-custodial, automated yield optimizer to simplify complex DeFi operations and designed a full-stack architecture built on the Monad Testnet using ERC-4337 Smart Accounts as the core user identity layer, enhanced by the MetaMask Delegation Toolkit for secure and permissioned automation. We then implemented ERC-4337 Smart Account generation, deployment, and management using permissionless.js and the Pimlico bundler/paymaster. Non-custodial, scoped delegations were created using the MetaMask Delegation Toolkit to enable automated actions without exposing user keys. Authentication was secured through SIWE (Sign-In With Ethereum) and Iron Session. On the frontend, we built a complete application using Next.js (App Router), React, TypeScript, and Tailwind CSS, including a multi-section landing page with 3D models and Framer Motion animations, plus key sections like Dashboard, Onboarding, Fund Management, Staking, Swapping, and the Yield Optimizer control panel. On the backend, we developed Next.js API Routes to handle delegated transactions, session management, and database operations, along with the keeper automation script (src/scripts/keeper.ts) to fetch balances, compute rebalancing logic, and execute delegated swaps every 5 minutes using FastCron. We integrated MongoDB for secure data storage and the Envio indexer for a real-time on-chain activity feed. Finally, the entire full-stack application, including automation via FastCron, was deployed to Vercel for live public demonstration.
队长
AAakash Mandal
项目链接
赛道
DeFiInfraOther