Yelay V3 SDK Docs
  • Intro
  • Main entities
  • Setting up your account
  • Initialization
  • Deposit
  • Withdrawals
  • Tracking balance and TVL
  • Yield tracking and claiming
  • Supportive methods
  • Deposits with timelock
  • Yelay's yield farming sources
Powered by GitBook
On this page

Intro

NextMain entities

Last updated 1 month ago

What is Yelay?

provides infrastructure and tooling that enable crypto companies to seamlessly integrate yield-generating "Earn" products for stablecoins, ETH, and BTC into their applications—without requiring deep DeFi expertise or smart contract development knowledge.

If you are a:

  • DeFi project (that requires action providers to earn yield)

  • Launchpool (deposit X → farm token Y)

  • Treasury and invoice management solution

  • Exchange

  • Wallet provider

  • Custodian

and want to offer a "Stake & Earn" feature to your clients, Yelay is the right choice for you.

Instead of developing individual connections to DeFi protocols that generate yield—and being exposed to yield fluctuations—companies using Yelay gain access to an infrastructure that dynamically rebalances users' liquidity, seeking the best yield opportunities while compounding farmed rewards, all in one go.

Yelay SDK

is a TypeScript npm package that provides a convenient way to interact with the Yelay protocol. It encapsulates RPC calls to Yelay smart contracts, making it easier for developers to integrate Yelay functionality into their projects.

This document contains code snippets of all SDK functions, along with concise explanations. Additionally, all key concepts are explained in an easy-to-understand manner using both text and visual diagrams. This ensures that developers new to Yelay can quickly grasp how everything works, streamlining their onboarding process.

Yelay V3 is highly modular and focuses on five key "Yield Layer for Partners" requirements:

  1. Generating maximum risk-adjusted yield from connected protocols at any given time.

  2. Providing simple tooling for the "convert yield to anything" use case.

  3. Enabling flexibility to update the types of strategies/protocols vaults are connected to over time.

  4. Offering low gas fees on deposits.

  5. Supporting multi-chain compatibility.

Multi-chain Yelay

Yelay V3 contract addresses

As of May 2025, Yelay V3 is available on , and .

Find the latest contract deployment addresses here:

Yelay
Yelay V3 SDK
Base
Ethereum
Sonic
https://github.com/YieldLayer/yelay-lite/tree/main/deployments