跳到正文
cccskills
免费在 GitHub 公开

nla-create

Create an escrow that holds ERC20 tokens until an AI oracle, a service that judges submitted results, accepts fulfillment of written conditions. The skill helps clarify those conditions, gather settings, and run the CLI.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Create a Natural Language Agreement escrow on-chain. Use when the user wants to lock ERC20 tokens in an escrow with a natural language demand that an AI oracle will arbitrate. Handles demand crafting, parameter gathering, and CLI execution.

集成工具OpenAI

实测评分 未实测

查看安装方法

适用场景

  • Create a token escrow with written fulfillment conditions
  • Clarify conditions for AI evaluation
  • Choose an arbitration provider and model
  • Test escrow creation in a local environment

包含的文件(2)

  • SKILL.md3.6 KB
  • LICENSE361 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Create NLA Escrow

Help the user create a blockchain escrow backed by a natural language demand using the nla CLI.

Overview

An NLA escrow locks ERC20 tokens on-chain. Anyone can attempt to fulfill the escrow's natural language demand. An AI oracle evaluates fulfillments and releases the tokens if the demand is satisfied.

Step-by-step instructions

1. Gather requirements

Collect the following from the user conversationally:

Required:

  • Demand: The natural language condition that must be fulfilled. Help the user craft something clear and unambiguous.
  • Amount: Number of tokens to escrow (in the token's smallest unit - no automatic decimal conversion).
  • Token address: ERC20 token contract address (0x...).
  • Oracle address: Address of the oracle that will arbitrate.

Optional:

  • Arbitration provider: OpenAI (default), Anthropic, or OpenRouter.
  • Arbitration model: e.g. gpt-4o-mini (default), claude-3-5-sonnet-20241022, openai/gpt-4o.
  • Arbitration prompt: Custom prompt template with {{demand}} and {{obligation}} placeholders.

2. Check prerequisites

# Verify CLI is available
which nla

# Check current network
nla network

# Check wallet is configured
nla wallet:show

If no wallet is configured, the user must either:

  • Run nla wallet:set --private-key <key>
  • Pass --private-key <key> to the command
  • Set the PRIVATE_KEY environment variable

3. Help craft the demand

Guide the user to write an effective demand:

  • Be specific and evaluable by an LLM
  • Consider: what counts as valid fulfillment? Is the condition verifiable?
  • For claims requiring real-world knowledge, suggest models with search (Perplexity search is available if the oracle has it configured)
  • The demand, provider, model, and prompt are all encoded on-chain and publicly visible - never include secrets

4. Execute escrow creation

nla escrow:create \
  --demand "<demand text>" \
  --amount <amount> \
  --token <token_address> \
  --oracle <oracle_address> \
  [--arbitration-provider "<provider>"] \
  [--arbitration-model "<model>"] \
  [--arbitration-prompt "<prompt>"]

5. Record output

The command outputs an escrow UID (0x...). This UID is needed for fulfillment and collection. Present it clearly to the user and explain next steps.

Key details

  • Available networks: anvil (local), sepolia, base-sepolia, mainnet. Switch with nla switch <network>.
  • For local dev, nla dev starts Anvil, deploys contracts, creates mock tokens, and starts the oracle.
  • Public demo oracle on Sepolia: 0xc5c132B69f57dAAAb75d9ebA86cab504b272Ccbc.
  • Default arbitration prompt:
    Evaluate the fulfillment against the demand and decide whether the demand was validly fulfilled
    
    Demand: {{demand}}
    
    Fulfillment: {{obligation}}
    

Example

nla escrow:create \
  --demand "Provide a valid proof that P != NP" \
  --amount 1000000 \
  --token 0xa513e6e4b8f2a923d98304ec87f64353c4d5c853 \
  --oracle 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 \
  --arbitration-provider "Anthropic" \
  --arbitration-model "claude-3-5-sonnet-20241022"

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Build chat, image generation, and speech transcription features on 0G Compute Network, a distributed GPU marketplace. This skill guides SDK integration, model fine-tuning, response processing for billing, and account funding through code patterns and CLI commands.

中文简介正在准备中。当前显示英语简介。

  • Integrating chat and image generation into an application
  • Preparing model fine-tuning jobs
  • Checking balances and funding provider accounts
internet-court/internet-court-skill69852026年8月20日 更新

Build servers and clients for A2A, an open protocol that lets AI agents communicate across frameworks. Publish agent capabilities, exchange tasks and results, stream progress, and add notifications for workflows involving multiple agents.

中文简介正在准备中。当前显示英语简介。

  • Connect agents built with different frameworks
  • Publish agent capabilities through an Agent Card
  • Build a research, writing, and review workflow
internet-court/internet-court-skill69852026年8月20日 更新

Give an AI agent a wallet with administrator-defined transaction limits. The skill covers encrypted key storage, balance checks, and sending funds through code-enforced rules for destinations, amounts, transaction frequency, and emergency shutdown.

中文简介正在准备中。当前显示英语简介。

  • Give an agent a wallet with transaction limits
  • Restrict transfers to approved chains and addresses
  • Check balances and active rules before sending
internet-court/internet-court-skill69852026年8月20日 更新

Manage a crypto wallet with the awal CLI, including sign-in, balance checks, transfers, swaps, and funding. Also find and pay for APIs through x402, a payment protocol, set up paid endpoints, and query blockchain data on Base.

中文简介正在准备中。当前显示英语简介。

  • Check wallet balances across supported networks
  • Send tokens to an address or ENS name
  • Swap tokens or add wallet funds
internet-court/internet-court-skill69852026年8月20日 更新

Write TypeScript, Rust, or Python code for Alkahest escrow contracts, which hold assets until conditions are met. Covers creating escrows, submitting fulfillment, collecting payments, and building custom contracts that decide whether requirements have been satisfied.

中文简介正在准备中。当前显示英语简介。

  • Integrate Alkahest escrow into an application
  • Build a bot that creates escrows and submits fulfillment
  • Implement payment collection and fulfillment monitoring
internet-court/internet-court-skill69852026年8月20日 更新

Use the Alkahest CLI to manage escrow, where assets are held until agreed conditions are met. It covers buyer deposits, seller fulfillment and collection, third-party decisions, token swaps, and reclaiming expired, unfulfilled deposits.

中文简介正在准备中。当前显示英语简介。

  • Creating escrow with release conditions
  • Submitting work and collecting escrowed assets
  • Approving or rejecting fulfillment as an oracle
internet-court/internet-court-skill69852026年8月20日 更新

查看 internet-court 的全部技能

报告此技能的问题