Install
openclaw skills install make-git-escrowCreate 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....
openclaw skills install make-git-escrowYou 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.
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.
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.
You need all of these to run the submit command:
--tests-repo (required): Git repository URL containing the failing test suite.
--tests-commit (required): The commit hash of the test suite.
git rev-parse HEAD.--reward (required): Amount of tokens to escrow, in wei.
--oracle (required): The Ethereum address of the oracle that will arbitrate.
0xc5c132B69f57dAAAb75d9ebA86cab504b272Ccbc.--arbiter (required): The arbiter contract address.
--token (required): The ERC20 token contract address for the reward.
Ask for any missing parameters, grouping related questions together when possible to minimize back-and-forth.
Run the submit command with all gathered parameters:
git-escrows submit \
--tests-repo "<repo-url>" \
--tests-commit "<commit-hash>" \
--reward "<amount>" \
--arbiter "<address>" \
--oracle "<address>" \
--token "<address>"
After successful execution:
git-escrows fulfill --escrow-uid <UID> --solution-repo "<url>" --solution-commit "<hash>"
git-escrows list --status openIf the command fails, help diagnose the issue (insufficient balance, wrong network, missing approval, etc.).