Chuyển đến nội dung
Skillpedia
API và máy chủ (backend)7.0k · #13616

nla-fulfill

Skill này làm gì

Skill này giúp bạn hoàn thành một escrow do người khác tạo. Agent đọc yêu cầu, giúp bạn viết bản nộp tương ứng, nộp nó và nhận token nếu AI judge chấp thuận.

Khi nào nên dùng

  • ✓Khi bạn tìm thấy một escrow đang mở và muốn nộp công việc cho yêu cầu của nó.
  • ✓Khi bạn đã nộp bản hoàn thành và cần kiểm tra xem nó có được duyệt không.
  • ✓Khi một escrow đã được duyệt sẵn sàng và bạn muốn nhận token.

Liên kết skill

https://github.com/internet-court/internet-court-skill/blob/main/vendored/arkhai/nla-fulfill/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/internet-court/internet-court-skill/blob/main/vendored/arkhai/nla-fulfill/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi muốn hoàn thành một escrow đang mở bằng cách nộp công việc đáp ứng yêu cầu của nó.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent trước tiên hiển thị yêu cầu và cài đặt judge của escrow. Nó giúp bạn viết nội dung bản nộp, rồi gửi qua một quy trình blockchain nhiều bước gồm cam kết và tiết lộ. Sau khi judge đưa ra phán quyết, bạn có thể nhận token.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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:

  1. Computes a commitment hash
  2. Submits the commitment with a bond
  3. Waits for next block confirmation
  4. Reveals the fulfillment obligation and returns the bond
  5. 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

  • nla CLI installed and configured
  • Private key set via nla wallet:set, --private-key flag, or PRIVATE_KEY env 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...
Câu hỏi thường gặp

Ai quyết định bản nộp của tôi có được chấp nhận không?

Một oracle AI kiểm tra bản nộp theo yêu cầu và trả về có hoặc không.

Vì sao agent lưu ID của bản nộp?

Bạn cần ID đó sau này để nhận token, nên skill yêu cầu ghi lại.

Nộp bản hoàn thành có khóa tiền không?

Bản nộp có một khoản đặt cọc, và quy trình trả lại cho bạn ở bước sau.

Chi tiết

Mô tả gốc của tác giả

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.

repo: internet-court/internet-court-skill

Độ phổ biến

Sao GitHub
7.0k
Vị trí xếp hạng
#13616
Giấy phép
—
Cập nhật
26/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự