How to integrate Privy as an external signer for Crossmint Smart Wallets
Create an API Key
http://localhost:3000
and click "Add origin".Next, check the scopes labeled wallets.create
, wallets.read
, users.create
.Check the "JWT Auth" box.Finally, create your key and save it for subsequent steps.Configure Privy for your API Key
Install Required Dependencies
Configure Environment Variables
Create the Provider Components
Update Your Layout
Create UI Components
Create Your Main Page
Launch and Test
usePrivyConnector
hook finds the Privy walletUnderstanding Wallet Relationships
Handling JWT Authentication
useCrossmint
hookBest Practices