SDK

A TypeScript SDK for the Yo yield protocol. Full ERC-4626 vault support with React hooks and multi-chain coverage.

Features

  • ERC-4626 Vaults — Deposit, withdraw, and redeem with full tokenized vault support.

  • Multi-Chain — Native support for Ethereum and Base with unified APIs.

  • Type-Safe — Zod-validated API responses and end-to-end TypeScript types.

  • Built on viem — Low-level contract interactions via viem for reliability and performance.

  • React Hooks — Automatic caching, refetching, and optimistic updates via TanStack Query.

  • Gateway Deposits — Deposit any supported asset with built-in slippage protection.

Supported Vaults

Vault
Underlying
Chains

yoETH

WETH

Ethereum, Base

yoBTC

cbBTC

Base

yoUSD

USDC

Base

yoEUR

EURC

Base

yoGOLD

XAUt

Ethereum

yoUSDT

USDT

Ethereum

Last updated