Yieldhive

Yieldhive is the home for cross-chain and native yield strategy vaults of OP chains.

Superhack 2024Shipped August 2, 2024Prize winner#defi#payments#infra
Visit Repo
Yieldhive banner

About

Yieldhive is a one-stop shop for strategies where you can put your hard-earned crypto and earn passive income. We are targeting all the chains part of the Superchain group where we are integrating with various protocols cross-chain and native. People can invest their funds on our platform and we take care of the end-to-end process of investing them through various strategies, routing them to various protocols and farming rewards for them.

How it's made

The core of the project are Solidity smart contracts that implements an ERC4626 vault strategy. It uses OpenZeppelin contracts for standard implementations like ERC20, ERC4626, and Ownable. The contract interacts with multiple DeFi protocols: 1. Aave: For lending and borrowing 2. Aerodrome: For liquidity provision and yield farming 3. Uniswap V3: For token swaps 4. Oracle Integration: Pyth Network is used for price feeds, allowing the contract to get real-time price data for various assets. 5. Asset Management: The strategy involves supplying USDC to Aave, borrowing cbETH, and then using these assets in Aerodrome's liquidity pools. It includes functions for depositing, withdrawing, and harvesting rewards. 6. Swap Router: Uniswap V3's swap router is used for token swaps, allowing the contract to exchange between different assets efficiently. 7. Testing and Deployment: Tenderly's virtual testnet was used for deploying and testing the contract, providing a sandbox environment. 8. Frontend Integration: Aa frontend that interacts with this contract, Wagmi and Ethers.js. Notable technical aspects: 1. Multi-protocol Integration: The contract seamlessly integrates with multiple DeFi protocols (Aave, Aerodrome, Uniswap) to create a complex yield strategy. 2. Dynamic Asset Management: The contract dynamically manages assets based on price feeds and protocol parameters, adjusting positions for optimal yield. 3. Price Oracle Usage: Pyth Network is used for reliable price feeds, crucial for making informed decisions in the strategy. 4. Gas Optimization: The contract uses various techniques to optimize gas usage, such as batching operations and efficient swap routing.

Prizes

  • Superform · Best ERC-4626 vault implementation · 2nd place
  • Blockscout · Use Blockscout Block Explorer! · Use Blockscout Block Explorer!
  • Mode · Best DeFi innovation · Best DeFi innovation
  • Pyth · Most Innovative use of Pyth pull oracle (Price Feeds) · 3rd place
  • Tenderly · Build a dapp with Virtual TestNets · Build a dapp with Virtual TestNets

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Meta Lending Vault

Meta-Vaults are curated ERC-4626 vaults to simplify and optimize DeFi yield strategies.

Vaulture

A cross-chain, AI empowered yield bearing vault. It will be accesible and help onboard non-crypto users with Alchemy & Metal while being accessible accross multiple chains using Superform, Optimism, Base, Mode & Fraxtal. Our AI will use data supplied by Chainlink, Goldsky & Pyth.