Privy logo

Privy

OrganizationPopular
internet-court
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 programmable controls.

Overview

Publisherinternet-court
Repositoryinternet-court-skill
Skill namePrivy
Stars
6.7K
Forks
114
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by internet-court on GitHub. Read the source before you install it.

Installation

Install the Privy AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/internet-court/internet-court-skill/tree/main/vendored/privy/privy
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/internet-court/internet-court-skill.git /tmp/internet-court-skill
mkdir -p .claude/skills
cp -r /tmp/internet-court-skill/vendored/privy/privy .claude/skills/Privy
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Privy in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Privy on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Privy is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

PlatformPackageCommand
React@privy-io/react-authnpm install @privy-io/react-auth
Node.js@privy-io/nodenpm install @privy-io/node
React Native@privy-io/react-native-authnpm install @privy-io/react-native-auth
SwiftPrivy Swift SDKVia Swift Package Manager
AndroidPrivy Android SDKVia Gradle

Core Concepts

ConceptDefinitionUse case
UserIndividual authenticated in your appConsumer wallets, personal accounts
WalletBlockchain account (embedded or external)Holding assets, signing transactions
OwnerEntity with full control (user, auth key, or quorum)Determines who can modify wallet
SignerAdditional party with scoped permissionsServer automation, delegated access
PolicyRules constraining wallet actionsSpending limits, recipient whitelists
Authorization KeyP256 cryptographic key for server controlBackend wallet management
Key QuorumM-of-K multi-sig approvalShared 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

ModelOwnerSignersUse case
User-ownedUserNoneSelf-custodial consumer wallets
User + serverUserServer (scoped)Automated trading, limit orders
App-ownedAuth keyNoneTreasury, bots, agents
CustodialLicensed custodianNoneInstitutional 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

ActionEndpointPurpose
Create walletPOST /v1/walletsProvision new wallet
Get walletGET /v1/wallets/{id}Fetch wallet details
Send transactionPOST /v1/wallets/{id}/rpcExecute blockchain action
Get balanceGET /v1/wallets/{id}/balanceCheck asset holdings
Create policyPOST /v1/policiesDefine spending rules
Create userPOST /v1/usersOnboard new user

Decision guidance

When to use embedded vs external wallets

ScenarioEmbeddedExternal
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

ScenarioClient SDKServer SDK
User authentication✓✗
Wallet creation for users✓✓
Server-controlled wallets✗✓
Transaction signing✓✓
Policy management✗✓
User management✗✓

When to use policies vs key quorums

NeedPoliciesKey Quorums
Spending limits✓✗
Recipient whitelists✓✗
Multi-sig approval✗✓
Time-based rules✓✗
Contract interaction control✓✗
Shared ownership✗✓

Workflow

1. Set up your Privy app

  1. Go to https://dashboard.privy.io and create an app
  2. Copy your App ID and App Secret from App Settings > Basics
  3. For mobile/non-web: Create an app client in App Settings > Clients
  4. Configure login methods in Configuration > Authentication
  5. (Optional) Configure appearance in Configuration > Appearance

2. Integrate authentication (client-side)

  1. Install the appropriate SDK (@privy-io/react-auth for React, etc.)
  2. Wrap your app with PrivyProvider, passing appId and clientId
  3. Use usePrivy() hook to access login(), logout(), and user state
  4. Wait for ready === true before consuming Privy state
  5. Call login() to trigger authentication modal

3. Create or connect wallets

  1. For automatic wallet creation: Set embeddedWallets.ethereum.createOnLogin in PrivyProvider config
  2. For manual creation: Use useCreateWallet() hook (client) or wallets().create() (server)
  3. Specify wallet owner: user ID (user-owned) or authorization key (app-owned)
  4. Optionally attach policies or signers at creation time
  5. Retrieve wallet address from response

4. Execute transactions

  1. Get wallet reference from useWallets() hook or API
  2. Prepare transaction parameters (to, value, data, etc.)
  3. Call appropriate signing method: eth_sendTransaction, signTransaction, etc.
  4. For server-side: Use intents() API to propose and authorize transactions
  5. Handle response: check status, monitor for confirmation via webhooks

5. Enforce policies

  1. Create policy via Dashboard or POST /v1/policies API
  2. Define rules with conditions (amount limits, recipient addresses, etc.)
  3. Attach policy to wallet at creation or via PATCH /v1/wallets/{id}
  4. Policy engine evaluates every request; DENY takes precedence
  5. If no rule matches, request is denied by default

6. Monitor with webhooks

  1. Configure webhook endpoint in Dashboard > Configuration > Webhooks
  2. Subscribe to relevant events (user.created, wallet.funds_deposited, transaction.confirmed, etc.)
  3. Verify webhook signature using your app secret
  4. Implement retry logic with exponential backoff
  5. 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 === true before 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-id header; 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: true to 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 ready state 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:

  1. Key Concepts — Understand authentication, wallets, and controls
  2. React Setup & Quickstart — Get started with client-side integration
  3. REST API Introduction — Server-side wallet and user management
  4. Policies Overview — Define spending rules and constraints
  5. Wallet Creation — Provision wallets across SDKs
  6. Webhooks — Monitor wallet and transaction events

For additional documentation and navigation, see: https://docs.privy.io/llms.txt

Frequently asked questions

What does the Privy AI skill do?

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.

Why use Privy on TypingMind?

Because you install it once and use it with any model. Privy is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Privy in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/internet-court/internet-court-skill/tree/main/vendored/privy/privy. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Privy?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Privy?

As many as you like. As long as a model supports skills, you can use Privy with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Privy AI skill free?

It is published on GitHub by internet-court. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇