nla-fulfill
它能做什么
这项技能帮助你完成别人创建的托管。智能体会阅读要求,帮你撰写相符的履约内容并提交;如果 AI 裁判批准,它会协助你领取代币。
适用场景
- ✓当你找到一个开放的托管,并希望为其要求提交工作的时候。
- ✓当你已提交履约,需要确认是否获得批准时。
- ✓当一个已获批准的托管可以领取,并且你想领取代币的时候。
技能链接
https://github.com/internet-court/internet-court-skill/blob/main/vendored/arkhai/nla-fulfill/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想通过提交符合要求的工作,完成一个开放的托管。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先显示托管的要求和裁判设置。它会帮你撰写履约文本,然后通过一个包含承诺和揭示两步的多步骤区块链流程提交。裁判做出裁决后,你就可以领取代币。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Fulfill NLA Escrow
Help the user fulfill an on-chain escrow by submitting text that satisfies the escrow's demand, then collect the tokens if approved.
Step-by-step instructions
1. Understand the escrow
Get the escrow UID from the user, then check what it demands:
nla escrow:status --escrow-uid <uid>
This shows:
- The demand text
- Arbitration model and provider
- Oracle address
- Any existing fulfillments and their arbitration status
2. Craft the fulfillment
Help the user write fulfillment text that satisfies the demand:
- Read the demand carefully
- The fulfillment text is what the AI arbitrator evaluates against the demand
- Be specific and directly address what the demand asks for
- The default arbitration prompt evaluates whether the "fulfillment" satisfies the "demand" and returns true/false
3. Submit the fulfillment
nla escrow:fulfill \
--escrow-uid <escrow_uid> \
--fulfillment "<fulfillment text>" \
--oracle <oracle_address>
This runs a multi-step on-chain commit-reveal flow:
- Computes a commitment hash
- Submits the commitment with a bond
- Waits for next block confirmation
- Reveals the fulfillment obligation and returns the bond
- Requests arbitration from the oracle
The command outputs a fulfillment UID - record this for collection.
4. Monitor arbitration
Check if the oracle has made a decision:
nla escrow:status --escrow-uid <escrow_uid>
The oracle typically responds within seconds if it's running. Look for "APPROVED" or "REJECTED" in the output.
5. Collect tokens (if approved)
Once the oracle approves:
nla escrow:collect \
--escrow-uid <escrow_uid> \
--fulfillment-uid <fulfillment_uid>
This transfers the escrowed tokens to the fulfiller.
Key details
- The fulfillment text is permanently recorded on-chain
- The commit-reveal process requires gas for multiple transactions
- If rejected, the tokens stay in escrow - another fulfillment attempt can be made by anyone
- The oracle address must match what was specified when the escrow was created (visible in status output)
- Collection only succeeds after the oracle records an approval
Prerequisites
nlaCLI installed and configured- Private key set via
nla wallet:set,--private-keyflag, orPRIVATE_KEYenv var - ETH in the fulfiller's account for gas
- The oracle must be running (or use the public demo on Sepolia)
Example full flow
# 1. Check what the escrow demands
nla escrow:status --escrow-uid 0xabc123...
# 2. Submit fulfillment
nla escrow:fulfill \
--escrow-uid 0xabc123... \
--fulfillment "The sky appears blue due to Rayleigh scattering" \
--oracle 0x70997970C51812dc3A010C7d01b50e0d17dc79C8
# 3. Check arbitration result
nla escrow:status --escrow-uid 0xabc123...
# 4. Collect if approved
nla escrow:collect \
--escrow-uid 0xabc123... \
--fulfillment-uid 0xdef456...
常见问题
谁来决定我的履约是否被接受?
AI 预言机会根据要求检查履约,并返回是或否的结果。
为什么智能体要保存履约 ID?
之后领取代币需要用到该 ID,所以该技能要求记录下来。
提交履约会锁定资金吗?
提交时包含一笔押金,流程会在之后的步骤中将其退还给你。
详情
作者的原始描述
Fulfill an existing NLA escrow and collect tokens. Use when the user wants to submit fulfillment text for an on-chain escrow, check arbitration results, and collect approved funds. Covers the full fulfill-arbitrate-collect lifecycle.
热度
- GitHub 星标
- 7.0k
- 排名
- #13616
- 许可证
- —
- 更新时间
- 2026/10/26
评论
- …
同一仓库的更多技能
internet-court
7.0k帮你的智能体安全地向其他 AI 智能体或付费服务付款、雇用或进行交易,并指引它找到合适的专业指南。
genlayer-erc7710-connector
7.0k帮你的智能体把 AI 审核结果与权限系统连接起来,使不合格的审核可以限制或取消智能体的权限。
genlayer-intelligent-contracts
7.0k帮你的智能体定义 AI 裁判的规则、证据和输出,用于检查另一个智能体是否遵循了其授权范围。
x402-erc7710
7.0k帮你的智能体按次为网络服务付款,并设置在权限预算范围内的持续支出。