Templates
Yield Migrator
A DeFi application that optimizes returns by migrating yield-bearing positions between protocols using the Enso SDK.
Overview
Yield Migrator is a React/Vite web application that simplifies the process of moving funds between yield-generating protocols. The application leverages Enso’s Router API to execute complex multi-step transactions in a single operation.
Features
- Position Discovery: Automatically detects user’s current yield-bearing positions across protocols
- APY Comparison: Displays potential yield improvements across alternative protocols
- One-Click Migration: Executes the entire migration process in a single transaction
- Transaction Preview: Shows expected APY improvement, fees, gas costs, and price impact before execution
- Cross-Protocol Support: Works with major lending, staking, and liquidity protocols
Technology Stack
- Frontend: React, Chakra UI
- Web3: wagmi, viem, RainbowKit
- DeFi Integration: Enso Finance SDK
- Build Tools: Vite, TypeScript