Privy
Use when building wallet infrastructure, authentication systems, or financial applications. Reach for Privy when you need to create embedded wallets, manage user authentication, control wallet permissions with policies, execute transactions across blockchains, or build treasury/agent wallets with pr…
Install / Use
npx skills add internet-court/internet-court-skill --skill privyInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
OperationsSupported Platforms
Tags
Our assessment of Privy
Privy scores 91/100 on our quality scale, 136th of 440 Operations skills we index (top 31%).
Its SKILL.md is 11 KB long, well organised into 24 sections with 1 code example: a thorough specification that gives an agent plenty to work with.
With 6,129 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 39 days ago, so Privy is actively maintained.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-09-28. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
Privy compared with similar skills
All 4 of these similar skills score higher than Privy; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| Privy (this skill)by internet-court | 91 | 6.1k | 39d ago | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 5d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 5d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 130.2k | 7d ago | SKILL.md |
| ui-ux-pro-maxby nextlevelbuilder | 100 | 130.2k | 7d ago | SKILL.md |
Frequently asked questions
- How do I install Privy?
- Run
npx skills add internet-court/internet-court-skill --skill Privy. The install tabs above show the steps for each supported agent. - Which AI agents does Privy work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is Privy safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is Privy still maintained?
- The repository was last updated 39 days ago, so Privy is actively maintained.
Skill content
View source on GitHubname: Privy description: Use when building wallet infrastructure, authentication systems, or financial applications. Reach for Privy when you need to create embedded wallets, manage user authentication, control wallet permissions with policies, execute transactions across blockchains, or build treasury/agent wallets with programmable controls. metadata: mintlify-proj: privy version: "1.0"
Privy Skill Reference
Product summary
Privy is a programmable wallet infrastructure platform for building financial applications. It provides embedded wallets, authentication, transaction execution, and policy controls across 50+ blockchains including Ethereum, Solana, Bitcoin, and Tempo. Agents use Privy to authenticate users, create and manage wallets, execute transactions, enforce spending policies, and build complete financial products without building wallet infrastructure from scratch.
Key files and commands:
- Dashboard: https://dashboard.privy.io (configure apps, login methods, policies)
- App ID and App Secret: Found in Dashboard > App Settings > Basics
- Client ID: Required for mobile/non-web platforms (Dashboard > App Settings > Clients)
- REST API:
https://api.privy.io/v1/(requires Basic Auth with app ID:secret) - SDKs: React (
@privy-io/react-auth), Node.js (@privy-io/node), Swift, Android, Flutter, Java, Go, Rust, Ruby - Primary docs: https://docs.privy.io
When to use
Reach for Privy when:
- Building consumer apps that need user authentication + embedded wallets
- Creating organization or treasury wallets with multi-sig controls
- Building AI agents that need to hold assets and transact autonomously
- Implementing spending policies, transaction limits, or approval workflows
- Executing transactions across multiple blockchains from a single interface
- Migrating users from another wallet provider
- Setting up funding flows (fiat onramps, crypto deposits, card spend)
- Implementing yield integrations or token swaps
- Requiring role-based access control or delegation patterns
Do not use Privy for: pure authentication without wallets (use Auth0, Firebase instead), or if you need complete control over key management without any abstraction.
Quick reference
SDK Installation
| Platform | Package | Command |
|----------|---------|---------|
| React | @privy-io/react-auth | npm install @privy-io/react-auth |
| Node.js | @privy-io/node | npm install @privy-io/node |
| React Native | @privy-io/react-native-auth | npm install @privy-io/react-native-auth |
| Swift | Privy Swift SDK | Via Swift Package Manager |
| Android | Privy Android SDK | Via Gradle |
Core Concepts
| Concept | Definition | Use case | |---------|-----------|----------| | User | Individual authenticated in your app | Consumer wallets, personal accounts | | Wallet | Blockchain account (embedded or external) | Holding assets, signing transactions | | Owner | Entity with full control (user, auth key, or quorum) | Determines who can modify wallet | | Signer | Additional party with scoped permissions | Server automation, delegated access | | Policy | Rules constraining wallet actions | Spending limits, recipient whitelists | | Authorization Key | P256 cryptographic key for server control | Backend wallet management | | Key Quorum | M-of-K multi-sig approval | Shared control, treasury operations |
Authentication Methods
Configure in Dashboard > Configuration > Authentication:
- Email / SMS / WhatsApp
- Social (Google, Discord, Twitter, Farcaster, etc.)
- Passkeys (WebAuthn)
- External wallets (MetaMask, Phantom)
- Custom JWT (bring your own auth provider)
- Guest accounts (instant sign-in)
Wallet Control Models
| Model | Owner | Signers | Use case | |-------|-------|---------|----------| | User-owned | User | None | Self-custodial consumer wallets | | User + server | User | Server (scoped) | Automated trading, limit orders | | App-owned | Auth key | None | Treasury, bots, agents | | Custodial | Licensed custodian | None | Institutional FBO accounts |
REST API Headers (Required)
Authorization: Basic <base64(app_id:app_secret)>
privy-app-id: <app_id>
Content-Type: application/json
Common Wallet Actions
| Action | Endpoint | Purpose |
|--------|----------|---------|
| Create wallet | POST /v1/wallets | Provision new wallet |
| Get wallet | GET /v1/wallets/{id} | Fetch wallet details |
| Send transaction | POST /v1/wallets/{id}/rpc | Execute blockchain action |
| Get balance | GET /v1/wallets/{id}/balance | Check asset holdings |
| Create policy | POST /v1/policies | Define spending rules |
| Create user | POST /v1/users | Onboard new user |
Decision guidance
When to use embedded vs external wallets
| Scenario | Embedded | External | |----------|----------|----------| | New users, no existing wallet | ✓ | ✗ | | Users have MetaMask/Phantom | ✗ | ✓ | | Need full control over UX | ✓ | ✗ | | Users want to bring existing assets | ✗ | ✓ | | Mobile app | ✓ | Limited | | Require key export | ✓ | ✗ |
When to use client-side vs server-side SDKs
| Scenario | Client SDK | Server SDK | |----------|-----------|-----------| | User authentication | ✓ | ✗ | | Wallet creation for users | ✓ | ✓ | | Server-controlled wallets | ✗ | ✓ | | Transaction signing | ✓ | ✓ | | Policy management | ✗ | ✓ | | User management | ✗ | ✓ |
When to use policies vs key quorums
| Need | Policies | Key Quorums | |------|----------|-------------| | Spending limits | ✓ | ✗ | | Recipient whitelists | ✓ | ✗ | | Multi-sig approval | ✗ | ✓ | | Time-based rules | ✓ | ✗ | | Contract interaction control | ✓ | ✗ | | Shared ownership | ✗ | ✓ |
Workflow
1. Set up your Privy app
- Go to https://dashboard.privy.io and create an app
- Copy your App ID and App Secret from App Settings > Basics
- For mobile/non-web: Create an app client in App Settings > Clients
- Configure login methods in Configuration > Authentication
- (Optional) Configure appearance in Configuration > Appearance
2. Integrate authentication (client-side)
- Install the appropriate SDK (
@privy-io/react-authfor React, etc.) - Wrap your app with
PrivyProvider, passingappIdandclientId - Use
usePrivy()hook to accesslogin(),logout(), anduserstate - Wait for
ready === truebefore consuming Privy state - Call
login()to trigger authentication modal
3. Create or connect wallets
- For automatic wallet creation: Set
embeddedWallets.ethereum.createOnLoginin PrivyProvider config - For manual creation: Use
useCreateWallet()hook (client) orwallets().create()(server) - Specify wallet owner: user ID (user-owned) or authorization key (app-owned)
- Optionally attach policies or signers at creation time
- Retrieve wallet address from response
4. Execute transactions
- Get wallet reference from
useWallets()hook or API - Prepare transaction parameters (to, value, data, etc.)
- Call appropriate signing method:
eth_sendTransaction,signTransaction, etc. - For server-side: Use
intents()API to propose and authorize transactions - Handle response: check status, monitor for confirmation via webhooks
5. Enforce policies
- Create policy via Dashboard or
POST /v1/policiesAPI - Define rules with conditions (amount limits, recipient addresses, etc.)
- Attach policy to wallet at creation or via
PATCH /v1/wallets/{id} - Policy engine evaluates every request; DENY takes precedence
- If no rule matches, request is denied by default
6. Monitor with webhooks
- Configure webhook endpoint in Dashboard > Configuration > Webhooks
- Subscribe to relevant events (user.created, wallet.funds_deposited, transaction.confirmed, etc.)
- Verify webhook signature using your app secret
- Implement retry logic with exponential backoff
- Return 200 status to acknowledge receipt
Common gotchas
- HTTPS required: Embedded wallets only work in secure contexts (https://). Localhost is treated as secure by browsers.
- Ready state: Always check
ready === truebefore using Privy hooks; state may be stale during initialization. - Policy defaults to DENY: If a wallet has a policy but no rule matches the request, the request is denied. Include an "allow all" rule if needed.
- Rate limits: REST API has rate limits; implement exponential backoff for retries (HTTP 429 responses).
- Idempotency keys: Use idempotency keys for wallet creation and transaction requests to prevent duplicates.
- Authorization headers: REST API requires both Basic Auth and
privy-app-idheader; requests missing either are rejected. - Chain-specific policies: Policies are chain-specific; create separate policies for Ethereum vs Solana wallets.
- Key export security: Users can export private keys; warn them about custody implications.
- Webhook verification: Always verify webhook signatures; don't trust webhook data without verification.
- Multiple wallets: Users can have multiple wallets per chain (HD wallets); use
createAdditional: trueto enable. - External wallet linking: External wallets are read-only for signing; use embedded wallets for full control.
- MFA not automatic: Multi-factor authentication must be explicitly configured; email/SMS alone are not phishing-resistant.
Verification checklist
Before submitting work with Privy:
- [ ] App ID and App Secret are stored securely (environment variables, not hardcoded)
- [ ] PrivyProvider wraps the entire app and
readystate is checked before consuming Privy - [ ] Authentication flow is tested (login, logout, session persistence)
- [ ] Wallet creation is tested (automatic or manual, correct owner specified)
- [ ] Transactions are tested on testnet before production
- [ ] Policies are attached to wallets and tested with boundary conditions
- [ ] Webhook endpoint is configured and signature verification is implemented
- [ ] Error handling covers NotFoundError, rate limits, and network failures
- [ ] HTTPS is enforced for production (embedded wallets require secure context)
- [ ] Idempotency keys are used for wallet creation and transaction requests
- [ ] Rate limit retry logic uses exponential backoff
- [ ] User data is not logged or exposed in error messages
- [ ] External wallets are tested if supported (MetaMask, Phantom, etc.)
Resources
Comprehensive navigation: https://docs.privy.io/llms.txt
Critical documentation pages:
- Key Concepts — Understand authentication, wallets, and controls
- React Setup & Quickstart — Get started with client-side integration
- REST API Introduction — Server-side wallet and user management
- Policies Overview — Define spending rules and constraints
- Wallet Creation — Provision wallets across SDKs
- Webhooks — Monitor wallet and transaction events
For additional documentation and navigation, see: https://docs.privy.io/llms.txt
Related Skills
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
130.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
ui-ux-pro-max
130.2kUI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
