Prerequisites
Before getting started:- Obtain a Privy app ID and app secret from the Privy Dashboard
- Install Go 1.23 or later
Instantiating the PrivyClient
Import the go-sdk package and create a new client instance by passing the Privy app ID and
app secret as parameters.
client is the entry point for managing Privy resources from a server. The PrivyClient
provides methods for creating wallets, signing and sending transactions, retrieving user objects,
verifying auth tokens, and querying users.
Authorization
If a resource (i.e. wallet, policy, or key quorum) has an owner, authorization signatures from the owner are required. The authorization context accepts authorization private keys and user JWTs of the wallet’s owners. The Go SDK generates signatures and signs requests automatically.Rate limits
Privy rate limits REST API endpoints called from a server.Next steps
Quickstart
Create wallets, sign messages, and send transactions with the Go SDK.
Authorization keys
Add an extra layer of security by signing requests with authorization keys.

