Skillpedia
واجهات API والخوادم (backend)7.0k · #13616

nla-fulfill

ما الذي تفعله

تساعدك هذه المهارة على إكمال ضمان أنشأه شخص آخر. يقرأ الوكيل المطلب، ويساعدك في كتابة تنفيذ مطابق له، ويرسله، ويجمع الرموز إذا وافق قاضي الذكاء الاصطناعي.

متى تستخدمها

  • ✓عندما تجد ضمانًا مفتوحًا وتريد إرسال عمل يلبي مطلبه.
  • ✓عندما أرسلت تنفيذًا وتحتاج إلى معرفة ما إذا كان قد اعتُمد.
  • ✓عندما يكون ضمان معتمد جاهزًا وتريد جمع الرموز.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/internet-court/internet-court-skill/blob/main/vendored/arkhai/nla-fulfill/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أريد إكمال ضمان مفتوح بإرسال عمل يلبي مطلبه.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يعرض الوكيل أولًا مطلب الضمان وإعدادات الحكم. ويساعدك في كتابة نص التنفيذ، ثم يرسله عبر عملية من عدة خطوات على السلسلة، فيها التزام ثم كشف. وبعد أن يحكم القاضي، يمكنك جمع الرموز.

المحتوى التقني (ملف 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:

  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...
الأسئلة الشائعة

من يقرر قبول تنفيذي؟

يتحقق أوراكل بالذكاء الاصطناعي من التنفيذ مقابل المطلب، ويعيد نعم أو لا.

لماذا يحفظ الوكيل معرّف التنفيذ؟

تحتاج إليه لاحقًا لجمع الرموز، لذلك تطلب المهارة تسجيله.

هل يقفل إرسال التنفيذ أموالًا؟

يتضمن الإرسال وديعة، تعيدها لك العملية في خطوة لاحقة.

التفاصيل

الوصف الأصلي من المؤلف

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

الشعبية

نجوم GitHub
7.0k
الترتيب
#13616
الترخيص
—
آخر تحديث
26‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة