Appearance
Recipes
Use the recipes in this section to learn how to implement common Privy features and integrations in your app.
General
Adding an allowlist
Gate your application to only allow certain users
Mocking tokens for tests
Simulate authentication tokens for testing purposes
Using test accounts
Create and manage test accounts for development
Integrating Flashbots Protect
Integrate Flashbots Protect to prevent front-running attacks
Integrating OneBalance
Use OneBalance to manage multiple balances in one place
Integrating with tRPC
Set up tRPC for type-safe APIs in your application
React
Setting a custom system theme
Set a custom theme for your application
Login with Farcaster
Log users in with their Farcaster account
Writing to Farcaster
Post messages to Farcaster on behalf of users
Login with Lens
Authenticate users using their Lens profile
User pill
Display user information in a compact user pill