privy
由 tedim52 提供
Coding Agents & IDEs简介
Create and manage agentic wallets with Privy.
描述
该技能的功能
Creates and manages server-side wallets that AI agents control autonomously via the Privy API. Supports policy-based spending limits enforced before any transaction executes. Covers wallet creation, transaction execution, and policy management across Ethereum, Solana, and extended chains.
Policy-based guardrails let agents transact autonomously without exposing private keys or requiring per-transaction user approval.
何时使用
- Automating recurring token payments from an AI agent
- Creating isolated wallets per agent task with per-transaction spending caps
- Executing on-chain purchases without manual approval each time
- Setting chain-specific transaction rules before deploying an agent
- Managing multiple agent wallets across Ethereum and Solana
示例工作流
User asks: Create an agent wallet on Base limited to 0.05 ETH per transaction
- 1
Creates a policy with a max 0.05 ETH rule scoped to chain_id 8453
- 2
Creates an Ethereum wallet and attaches the policy ID
- 3
Confirms the policy is active before returning the wallet address
- 4
Reports the wallet address and the enforced spending limit
Wallet address on Base with a 0.05 ETH per transaction cap confirmed
前置要求
- PRIVY_APP_ID environment variable
- PRIVY_APP_SECRET environment variable
- Privy account at dashboard.privy.io
安装
clawhub install tedim52/privy运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。