Skip to main content
These guides walk you through common integration patterns with complete, working examples.

Installation & Setup

Install the SDK, configure environment variables, and initialize.

Concepts

Vaults, yield types, shares, authorization flows, and slippage.

Deposits

Complete deposit flows with Privy, Wagmi, and Viem examples.

Withdrawals

Redeem vault shares for underlying tokens with step-by-step examples.

Smart Wallets

Integration patterns for Privy Smart Wallets and Alchemy ERC-4337 accounts.

Multi-Chain

Discover assets by chain and route write operations to the correct network.

Logging

Configure SDK logging levels and integrate custom loggers.

Choose Your Framework

All guides include examples for multiple wallet integration libraries:
FrameworkBest For
PrivyEmbedded wallets, social login, enterprise features
WagmiReact applications with wagmi hooks
ViemNode.js scripts, vanilla TypeScript, server-side

Learning Path

  1. Installation & Setup - Install the SDK and configure your project
  2. Concepts - Understand vaults, shares, and authorization flows
  3. Deposits - Implement your first deposit flow
  4. Withdrawals - Allow users to redeem shares
  5. Smart Wallets - Enable gas sponsorship and batching
  6. Multi-Chain - Add chain-aware discovery and execution