Skip to content

Privy

Privy is a developer infrastructure platform that provides embedded wallet solutions and user authentication for Web3 applications. It offers a suite of tools designed to simplify crypto onboarding by allowing users to create wallets using familiar authentication methods like email, phone numbers, or social logins, without requiring them to manage seed phrases or private keys directly. Privy handles the complex cryptographic operations behind the scenes while providing developers with APIs to integrate wallet functionality into their applications.

Usage

To enable Privy you need to add its app_id and app_secret in the YAML under the privy key:

rrelayer.yaml
name: first-rrelayer
description: "my first rrelayer"
api_config:
  port: 3000
  authentication_username: "${RRELAYER_AUTH_USERNAME}"
  authentication_password: "${RRELAYER_AUTH_PASSWORD}"
signing_provider: 
  privy: 
    app_id: "${PRIVY_APP_ID}"
    app_secret: "${PRIVY_APP_SECRET}"

You then need to add the privy credentials to the .env

PRIVY_APP_ID=YOUR_PRIVY_APP_ID
PRIVY_APP_SECRET=YOUR_PRIVY_APP_SECRET

You can get the app_id and app_secret from the Privy developer dashboard.