Copy-pasteable integration examples for the most common wallet libraries. All examples use the unified deposit API and include proper error handling.Documentation Index
Fetch the complete documentation index at: https://developers.paxoslabs.com/llms.txt
Use this file to discover all available pages before exploring further.
Deposit Examples
Privy Deposit
Complete deposit flow using Privy embedded wallets with unified API.
Wagmi Deposit
React hooks-based deposit with wagmi and unified API.
Viem Deposit
Pure TypeScript deposit using viem wallet client.
Withdraw Examples
Privy Withdraw
Withdraw vault shares using Privy embedded wallets.
Wagmi Withdraw
React hooks-based withdrawal with wagmi.
Viem Withdraw
Pure TypeScript withdrawal using viem wallet client.
Before You Start
All examples require:- SDK Initialization - Call
initAmplifySDK()with your API key - Wallet Connection - User must have a connected wallet
- Token Balance - User must have sufficient token balance for deposits