Privy
하는 일
이 스킬은 암호화폐를 보유하고 이동하는 앱을 만드는 지갑 및 인증 플랫폼인 Privy를 다룹니다. 지갑 인프라를 처음부터 만들지 않고 사용자 로그인과 프로그래머블 지갑을 쓰려는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓사용자가 앱에 로그인하고 내장 지갑을 받게 하고 싶을 때.
- ✓지갑 거래에 지출 한도나 승인 규칙이 필요할 때.
- ✓프로그래머블 제어가 있는 금고나 에이전트 지갑을 만들 때.
스킬 링크
https://github.com/internet-court/internet-court-skill/blob/main/vendored/privy/privy/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“사용자가 로그인하고 내장 지갑을 받으며 하루 지출 한도가 있는 앱을 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 앱에 Privy 로그인을 설정하고, 사용자를 위한 지갑을 만들고, 어떤 거래가 허용되는지 통제하는 정책을 적용합니다. 앱 ID와 시크릿으로 Privy SDK와 REST API를 사용합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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 Met |
자주 묻는 질문
앱 ID와 시크릿은 어디서 찾나요?
Privy 대시보드의 App Settings, Basics에 있다고 스킬은 말합니다.
어떤 체인을 지원하나요?
스킬은 Ethereum, Solana, Bitcoin을 포함해 50개가 넘는 블록체인에서 작동한다고 말합니다.
에이전트의 지출을 제한할 수 있나요?
네. 스킬은 정책, 지출 한도, 승인 워크플로를 다룹니다.
상세 정보
작성자의 원본 설명
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.
인기도
- GitHub 스타
- 7.0k
- 순위
- #13673
- 라이선스
- —
- 업데이트
- 2026. 10. 26.
댓글
- …
이 저장소의 다른 스킬
internet-court
7.0k에이전트가 다른 AI 에이전트나 유료 서비스와 안전하게 결제하거나 거래하도록 돕고, 적합한 전문 가이드를 알려 줍니다.
genlayer-erc7710-connector
7.0k에이전트가 GenLayer 검토 결과를 권한 시스템에 연결하도록 돕습니다. 나쁜 검토는 에이전트의 권한을 제한하거나 취소할 수 있습니다.
genlayer-intelligent-contracts
7.0k에이전트가 다른 에이전트가 위임받은 범위를 지켰는지 확인하는 AI 심판의 규칙, 증거, 결과를 정하도록 돕습니다.
x402-erc7710
7.0k에이전트가 웹 서비스 요금을 요청 한 건마다 결제하고, 권한 예산 안에서 지속적인 지출을 설정하도록 돕습니다.