Skip to main content
Privy
Integrate Privy for seamless authentication and wallet management in your Spark applications. Privy provides a complete authentication and wallet management solution for Web3 applications, making it easy to onboard users and manage their digital identities on Spark.

Features



Quick Integration

Installation

Install the Privy React SDK using your package manager of choice:
npm install @privy-io/react-auth@latest

Setup

App.tsx
import { PrivyProvider } from '@privy-io/react-auth'

function App() {
  return (
    <PrivyProvider
      appId="your-privy-app-id"
      config={{
        loginMethods: ['email', 'wallet', 'google'],
        appearance: {
          theme: 'light',
          accentColor: '#676FFF',
        },
      }}
    >
      <YourSparkApp />
    </PrivyProvider>
  )
}


Use Cases

Guides

Coming soon…

Documentation