Langsung ke konten
Skillpedia
Keamanan7.0k · #13673

Privy

Fungsinya

Skill ini mencakup platform wallet dan autentikasi Privy untuk membangun aplikasi yang menyimpan dan memindahkan kripto. Skill ini ditujukan untuk developer yang ingin pengguna bisa masuk dan memiliki wallet yang dapat diprogram tanpa membangun infrastruktur wallet sendiri.

Kapan dipakai

  • ✓Saat Anda ingin pengguna masuk dan mendapatkan wallet tersemat di aplikasi Anda.
  • ✓Saat Anda memerlukan batas pengeluaran atau aturan persetujuan untuk transaksi wallet.
  • ✓Saat Anda membangun wallet treasury atau wallet agent dengan kontrol yang dapat diprogram.

Link skill

https://github.com/internet-court/internet-court-skill/blob/main/vendored/privy/privy/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/internet-court/internet-court-skill/blob/main/vendored/privy/privy/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Saya ingin aplikasi saya memungkinkan pengguna masuk dan mendapatkan wallet tersemat, dengan batas pengeluaran harian.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent menyiapkan login Privy di aplikasi Anda, membuat wallet untuk pengguna, dan menerapkan kebijakan yang mengatur transaksi apa saja yang diizinkan. Agent memakai SDK dan REST API Privy dengan App ID dan secret Anda.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum

Di mana saya menemukan App ID dan secret?

Skill ini menyebutkan bahwa keduanya ada di dasbor Privy, di bagian App Settings lalu Basics.

Chain apa saja yang didukung?

Skill ini menyebutkan bahwa Privy bekerja di lebih dari 50 blockchain, termasuk Ethereum, Solana, dan Bitcoin.

Bisakah membatasi pengeluaran agent?

Ya. Skill ini mencakup kebijakan, batas pengeluaran, dan alur persetujuan.

Detail

Deskripsi asli dari pembuat

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.

repo: internet-court/internet-court-skill

Popularitas

Bintang GitHub
7.0k
Peringkat
#13673
Lisensi
—
Diperbarui
26/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa