/install make-git-escrow
Make Git Escrow
You are automating the creation of a git escrow bounty via the git-escrows submit CLI command. This locks ERC20 tokens in escrow as a bounty for someone who can make a failing test suite pass.
Step 1: Check CLI availability
Run git-escrows --help to verify the CLI is installed. If it fails, try npx git-escrows --help or bunx git-escrows --help. Use whichever works for all subsequent commands. If none work, tell the user to install with npm i -g git-escrows.
Step 2: Check .env configuration
Check if a .env file exists in the current directory. If not, tell the user they need one and suggest running:
git-escrows new-client --privateKey "0x..." --network "sepolia"
Verify it contains at least PRIVATE_KEY and NETWORK (or defaults to anvil). For base-sepolia and sepolia networks, contract addresses are auto-configured.
Step 3: Gather parameters
You need all of these to run the submit command:
-
--tests-repo(required): Git repository URL containing the failing test suite.- If the user provided a URL as an argument, use that.
- Otherwise, check if the current directory is a git repo and offer to use its remote URL.
- Ask the user if neither is available.
-
--tests-commit(required): The commit hash of the test suite.- If using the current repo, detect HEAD with
git rev-parse HEAD. - Otherwise ask the user.
- If using the current repo, detect HEAD with
-
--reward(required): Amount of tokens to escrow, in wei.- Ask the user. Help them convert if they give a human-readable amount (e.g., "1 USDC" = "1000000" for 6-decimal tokens, "1 ETH worth" = "1000000000000000000" for 18-decimal tokens).
-
--oracle(required): The Ethereum address of the oracle that will arbitrate.- Ask the user. Mention the public demo oracle on Sepolia:
0xc5c132B69f57dAAAb75d9ebA86cab504b272Ccbc.
- Ask the user. Mention the public demo oracle on Sepolia:
-
--arbiter(required): The arbiter contract address.- Ask the user. This is typically the TrustedOracleArbiter contract on their network.
-
--token(required): The ERC20 token contract address for the reward.- Ask the user.
Ask for any missing parameters, grouping related questions together when possible to minimize back-and-forth.
Step 4: Execute
Run the submit command with all gathered parameters:
git-escrows submit \
--tests-repo "\x3Crepo-url>" \
--tests-commit "\x3Ccommit-hash>" \
--reward "\x3Camount>" \
--arbiter "\x3Caddress>" \
--oracle "\x3Caddress>" \
--token "\x3Caddress>"
Step 5: Report results
After successful execution:
- Report the Escrow UID prominently
- Show the full escrow details (attester, recipient, schema, reward, token, oracle)
- Provide the fulfill command that a solver would use:
git-escrows fulfill --escrow-uid \x3CUID> --solution-repo "\x3Curl>" --solution-commit "\x3Chash>" - Mention they can track status with:
git-escrows list --status open
If the command fails, help diagnose the issue (insufficient balance, wrong network, missing approval, etc.).
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install make-git-escrow - 安装完成后,直接呼叫该 Skill 的名称或使用
/make-git-escrow触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Make Git Escrow 是什么?
Create a new git escrow bounty for a test suite. Use when the user wants to submit a challenge with escrowed token rewards for passing a failing test suite.... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 269 次。
如何安装 Make Git Escrow?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install make-git-escrow」即可一键安装,无需额外配置。
Make Git Escrow 是免费的吗?
是的,Make Git Escrow 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Make Git Escrow 支持哪些平台?
Make Git Escrow 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Make Git Escrow?
由 疒奀(@mlegls)开发并维护,当前版本 v1.0.0。