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