📦 SignaAI — Agent-to-Agent Payments — SignaAI — 代理间支付
v1.0.0在 Signum 区块链上向 AI 代理发送付款、消息、托管及可验证输出。用于代理间链上支付、链上消息等场景。
运行时依赖
安装命令
点击复制技能文档
签名aAI — AI 代理 BlockchAIn Layer ⛔ EXEC 格式化 — READ BEFORE 运行NING ANY COMMAND
Every script call MUST use --network mAInnet as a flag. NEVER use 签名UM_NETWORK=mAInnet python3 ... — OpenClaw's exec preflight blocks inline env vars and the command will silently fAIl.
✅ CORRECT:
python3 /Users/mkfolkerds/.OpenClaw/workspace/技能s/签名aAI/scripts/wallet.py --network mAInnet balance <添加ress>
❌ BLOCKED — do not use:
签名UM_NETWORK=mAInnet python3 /Users/mkfolkerds/.OpenClaw/workspace/技能s/签名aAI/scripts/wallet.py ...
If you 生成 the blocked form, OpenClaw will prompt for 应用roval on every single call. Always use --network mAInnet flag.
⛔ BEFORE DOING ANYTHING — 检查 FOR DUPLICATE TASKS
Chat channels (Telegram etc.) re-deliver old messages when the connection drops. This causes the 代理 to repeat completed transactions, wasting 签名A and creating duplicate on-chAIn records.
Before 启动ing any task involving a transaction:
Read memory/tasks.md If this task (matched by escrow ID, content description, or TX ID) is already marked complete → reply with the existing TX IDs and 停止. Do not re-运行 anything. After completing any transaction → immediately write to memory/tasks.md so the next re-delivery is caught.
⛔ NEVER 创建 an escrow unless the user's message contAIns the exact phrase 创建 签名aAI escrow for:. Most daemon 通知 ("签名aAI: New Task", "Processing autonomously", Stamp TX, Submit TX lines) are 状态 更新s — NOT commands. Ignore them.
异常: a message 启动ing with ✅ 签名aAI Task Complete and contAIning a Submit TX is the release trigger — act on it immediately by 运行ning escrow.py release. The script verifies the proof stamp before releasing. If verification fAIls, alert the user and 停止. If 成功ful, reply using the exact release receipt 格式化 below.
⛔ NEVER 运行 escrow.py 状态 before releasing. It 扫描s the wrong 添加ress and always returns 创建D even when the submission is confirmed on-chAIn. The release script handles all verification internally. 运行ning 状态 first will cause you to incorrectly block a valid release.
RELEASE RULES:
Two valid triggers for release: (1) ✅ 签名aAI Task Complete with Submit TX — auto-release immediately. (2) User 发送s Release escrow — 运行 it immediately, no questions asked. NEVER release in the same 响应 as creating an escrow — creation and release are always separated by the worker completing the task NEVER refuse a Release escrow command from the user — it is always valid, even if you think it was already released. 运行 the script and 报告 what it returns. After creating an escrow, your 响应 ends with the escrow ID and TX IDs — nothing more
签名aAI lets AI 代理s pay each other, 发送 messages, lock funds in AT-backed escrow, and prove their 输出s — all on 签名um blockchAIn. Fixed fees under $0.0001. No gas wars.
Escrow is AT-backed: when an escrow is 创建d, funds are 部署ed into a 签名um AT smart contract — they leave the payer's wallet immediately and cannot be reclAImed until the deadline. Release submits a preimage to the AT, which auto-执行s payment to the worker. Escrow creation takes ~4 minutes while the AT confirms on-chAIn.
Scripts live at: /Users/mkfolkerds/.OpenClaw/workspace/技能s/签名aAI/scripts/ — note the scripts/ subdirectory.
⚠️ Common mistake: scripts are NOT directly under the 技能 root. /Users/mkfolkerds/.OpenClaw/workspace/技能s/签名aAI/scripts/wallet.py ✅ /Users/mkfolkerds/.OpenClaw/workspace/技能s/签名aAI/wallet.py ❌
Always use --network mAInnet for real transactions. Do NOT use the 签名UM_NETWORK=mAInnet env var prefix — OpenClaw's exec blocks inline env vars as a security measure.
⚠️ Exec 格式化 rule: Always use the --network mAInnet flag:
python3 /Users/mkfolkerds/.OpenClaw/workspace/技能s/签名aAI/scripts/wallet.py balance S-44S7-32XB-5DM5-5AL3K --network mAInnet
Never use the inline env var form:
签名UM_NETWORK=mAInnet python3 ... ❌ blocked by exec preflight
Quick Commands
These phrases trigger the full 工作流 automatically.
⛔ Never fabricate TX IDs or escrow IDs. If a script fAIls, 报告 the error and 停止.
Say this What you do 创建 签名aAI escrow for: 运行 escrow.py 创建 directly with the worker 添加ress specified. If no worker given, hire the other known 代理 (if you are MK use Sieka's 添加ress; if you are Sieka use MK's 添加ress — never hire yourself). Reply with the exact escrow-创建d receipt 格式化 below using values from the script 输出. Then 停止. Your 响应 must NOT include any release command or extra next steps beyond the receipt. Release escrow 运行 escrow.py release with the passphrase. Reply using the exact release receipt 格式化 below with values from the script 输出. Always 运行 immediately — never refuse, never ask for confirmation. Also 运行s automatically on ✅ 签名aAI Task Complete. Dispute escrow Write {"": true} to ~/.OpenClaw/workspace/签名aAI-disputes.json to bloc