Skip to main content

Dynamic.xyz Integration

Complete integration with Dynamic.xyz for multi-chain wallet support.
This example includes Solana wallet support, which is currently in beta and requires additional dependencies. See the EVM + Solana installation for setup instructions.

RainbowKit Integration

Privy Integration

Complete integration with Privy for multi-chain wallet support with external wagmi configuration.

Next.js Setup

App Router

In your layout.tsx:

Pages Router

In your _app.tsx:

Vite Setup

When using the widget with Vite, you’ll need to configure Node.js polyfills: Install the plugin:
Update your vite.config.ts:
If you already have other plugins configured, simply add the nodePolyfills plugin to your existing plugins array.

Advanced Configuration

Configure the widget with advanced options for production use.

Analytics Integration

Track widget usage and user interactions: