The agent's wallet. Use this skill to safely create a wallet the agent can use for transfers, swaps, and any EVM chain transaction.
Use this skill to safely create a wallet the agent can use for transfers, swaps, and any EVM chain transaction without ever exposing private keys to the agent. Create a wallet, set spending policies, and your agent can transfer tokens, do swaps, and interact with smart contracts within the boundaries you define.
The agent never sees the private key. All transactions are executed server-side through a smart account. The wallet owner controls what the agent can do via configurable policies.
SAFESKILLS_API_URL environment variable if set, otherwise default to INLINECODE1SAFESKILLS_FRONTEND_URL environment variable if set, otherwise default to INLINECODE3All API requests require a Bearer token (the API key returned when creating a wallet).
CODEBLOCK0
Create a new smart account wallet for your agent. This generates a private key server-side (you never see it), creates a ZeroDev smart account, and returns an API key for the agent plus a claim URL for the wallet owner.
CODEBLOCK1
Response includes:
apiKey -- store this securely; use it as the Bearer token for all future requestsAfter creating, tell the user:
"Here is your wallet claim URL:
<claimUrl>. Use this to claim ownership, set spending policies, and monitor your agent's wallet activity."
CODEBLOCK2
CODEBLOCK3
CODEBLOCK4
Swap one token for another using DEX liquidity (powered by 0x).
CODEBLOCK5
sellToken / buyToken: Token contract addresses. Use 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE for native ETH."0.1" for 0.1 ETH).The preview endpoint returns expected buy amount, route info, and fees without executing. The execute endpoint performs the actual swap through the smart account, handling ERC20 approvals automatically.
Interact with any smart contract by sending custom calldata.
CODEBLOCK6
The wallet owner controls what the agent can do by setting policies via the claim URL. If a transaction violates a policy, the API will reject it or require human approval via Telegram.
| Policy | What it does |
|---|---|
| Address allowlist | Only allow transfers/calls to specific addresses |
| Token allowlist |
If no policies are set, all actions are allowed by default. Once the owner claims the wallet and adds policies, the agent operates within those boundaries.
84532 (Base Sepolia testnet). Adjust as needed.status: "pending_approval". The wallet owner will receive a Telegram notification to approve or deny.该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 agent-wallet-1776419934 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 agent-wallet-1776419934 技能
skillhub install agent-wallet-1776419934
文件大小: 2.85 KB | 发布时间: 2026-4-17 18:31