Requirements
- React 18 or higher
- TypeScript 5 or higher
Installation
Install the Privy React SDK using your package manager of choice:Solana dependencies
Solana dependencies
If your app uses Privy’s Solana wallets, you must manually install Additionally, if you are using webpack, include the following configurations to add them to webpack’s
@solana/web3.js
and @solana/spl-token
.You will also need to install
@solana/kit
if you are using @privy-io/react-auth
version
2.24 or above.externals
config. Note that these configurations are not needed if you are using Turbopack: