Deposit SDK

Demo

Accept deposits from any chain, automatically bridge to your preferred network. Explore the three integration modes: Modal, Inline, and Headless.

Loading...

Quick Start

1// providers.tsx
2import { PrivyProvider } from "@privy-io/react-auth";
3import { DepositProvider, CHAIN } from "@particle-network/deposit-sdk/react";
4
5export function Providers({ children }) {
6 return (
7 <PrivyProvider appId="your-privy-app-id">
8 <DepositProvider config={{
9 destination: { chainId: CHAIN.POLYGON },
10 autoSweep: true,
11 minValueUSD: 1,
12 }}>
13 {children}
14 </DepositProvider>
15 </PrivyProvider>
16 );
17}