Skip to main content

Scaffold

Environment Setup

Create a .env.local file in the frontend/ directory:
Get your App ID from the Privy Dashboard. Make sure to enable SVM (Solana) support for your App ID in the Privy dashboard settings.

Provider Setup

Privy for SVM is configured in Solana-only mode with embedded wallet support and external wallet connectors (Phantom, Solflare, etc.):
components/Providers.tsx

Inco SDK Integration

The hook uses usePrivy and useWallets from Privy to get the Solana wallet, and @inco/solana-sdk for client-side encryption:
hooks/useConfPool.ts

Dependencies