@particle-network/simple-deposit) lets your app accept deposits from any chain, with funds automatically detected and bridged to your configured destination chain in USDC. This guide takes you from install to your first deposit.
New to Simple Deposit? Start with the Overview to learn how it works and what it’s for.
Installation
Quick Start
1. Import styles
The React components (DepositWidget, DepositModal, RecoveryWidget, RecoveryModal) use Tailwind utility classes. The SDK ships a pre-built CSS file that you must import in your app:
Tailwind v4 users: If you prefer to avoid duplicate utility CSS, you can skip the import above and add an@sourcedirective in your CSS instead:
2. Setup — Wrap your app with DepositProvider
3. Modal — Open a deposit dialog
The user address above is only used as reference for the deposit account generation, the SDK is fully wallet-agnostic.
4. Inline Widget — Embed the deposit UI
5. Headless — Build your own UI
Next Steps
React SDK
DepositProvider, hooks, and UI components.
Core SDK
Headless DepositClient for non-React apps.
Reference
Types, constants, chain utilities, and advanced topics.
