GITHUB ISSUES · NEAR ESCROWGITHUB 任务 · NEAR 赏金托管

GitHub bounty payments
on NEAR.
用 NEAR 管理
GitHub 任务赏金。

Assign a contributor, fund a bounty, and review their work. BountyGuard releases payment through NEAR escrow after you merge the reviewed code.为 GitHub Issue 指定贡献者、存入赏金并审核交付。合并已审核的代码后,BountyGuard 核对提交和审核记录,通过 NEAR 托管合约支付赏金。

Recorded testnet examples. No account or wallet needed to view.本页展示测试网运行记录,无需登录或连接钱包。

Assign a contributor分配任务Choose an Issue and agree on the reward and deadline.选择 Issue,约定赏金和截止时间。
Fund the bounty存入赏金Verify wallets and deposit the reward in NEAR escrow.验证双方钱包,将赏金存入 NEAR 托管合约。
Review the work审核代码Check the PR with GitHub Actions and NEAR AI.通过 GitHub Actions 和 NEAR AI 检查 PR。
Merge and pay合并后付款Merge the reviewed code and release payment.合并已审核的代码,核对通过后支付赏金。

CODING AGENT · ISSUE #5 → PR #6编程 AGENT · ISSUE #5 → PR #6

A session-recovery fix, from claim to payment从认领任务到修复会话过期,再到收到赏金

Codex used MCP to read and claim Issue #5, fixed an expired-session bug, and submitted PR #6 with seven regression tests. After CI and NEAR AI review passed, the maintainer merged the change. Codex then read the payment receipt through MCP.Codex 通过 MCP 读取并认领 Issue #5,修复会话过期问题,并在 PR #6 中提交修复及七项回归测试。CI 和 NEAR AI 审核通过后,维护者合并代码,Codex 再通过 MCP 读取付款记录。

Payment and review records付款与审核记录

The project operator ran these tests using one GitHub account and separate maintainer and contributor wallets. All amounts are testnet tokens.以下测试由项目开发者使用同一个 GitHub 账号和两个不同的钱包完成。所有金额均为测试网代币。

TESTNET PAYMENTS测试网付款2 · 0.01 tNEARPR #3 and PR #6PR #3 和 PR #6
WORKFLOW CHANGE工作流被修改PR #4Payment held for review暂停付款,等待复核
CODE CHANGED AFTER REVIEW审核后代码发生变化REVISION_CHANGEDA new review is required需要重新审核
EXPIRED BOUNTY赏金任务已到期0.005 tNEARPrincipal refunded on Issue #2Issue #2 的赏金本金已退回
Review required · PR #4需要复核 · PR #4Payment held暂停付款

Workflow changes require review工作流修改需要复核

CI passed, but the PR changed the protected workflow and added comments intended to influence the AI review. BountyGuard held the payment.CI 检查通过,但 PR 修改了受保护的工作流,还添加了试图影响 AI 审核结论的注释。BountyGuard 因此暂停付款。

  • Modified file: .github/workflows/ci.yml.修改的文件:.github/workflows/ci.yml。
  • Review result: NEEDS_REVIEW.审核结果:NEEDS_REVIEW。
Record details记录详情
Flagged commit需要复核的提交0b6538d54a276a13eddafcd93fda52845037989e
CI run IDCI 运行编号41955683567
Updated PRPR 新增提交New review required需要重新审核

A new commit invalidates the review新增提交后,原审核结果失效

After PR #3 passed review, a new commit was pushed before merge. Settlement returned REVISION_CHANGED.PR #3 通过审核后,在合并前又推送了一个新提交。结算检查返回 REVISION_CHANGED,没有付款。

  • The report records the PR number, commit and diff hash.审核报告记录 PR 编号、提交和代码差异的哈希。
  • PR #3 was restored to the reviewed commit before its eventual merge and payment.PR #3 恢复到已审核的提交后,才完成合并和付款。
Record details记录详情
New commit新增提交c7863c13362c411055d2662c83edcb3d014eb5fd
Reviewed commit审核的提交17e1da79b199fcaf5890ac5f725c501e1b3548f8
Expired bounty · Issue #2任务已到期 · Issue #2Refunded · 0.005 tNEAR已退款 · 0.005 tNEAR

Unclaimed reward returned到期后退回赏金本金

No work was accepted before the deadline. A refund call returned the 0.005 tNEAR reward to the maintainer.截止时间前没有验收通过的交付。调用退款后,0.005 tNEAR 赏金退回维护者的钱包。

  • The 0.01 tNEAR storage charge and spent gas were not refunded.0.01 tNEAR 存储费和已消耗的 Gas 不退还。
  • Repeated refund requests returned the original receipt.重复退款请求返回原交易记录。
Record details记录详情
Refund transaction退款交易GWtzhGA7PTGgBK8CXLnkkeqV1pKRUedT2xVZ3VZyrDq9
Bounty ID赏金任务编号9d457f0925c64e5a8571501058a58820

Check the records验证运行记录

Run eight focused tests with ./demo.sh, or check the recorded transactions, wallet signatures and GitHub commits with the verifier. Python 3.11+ is required; the first setup downloads dependencies. Public verification needs network access, but no private key or model request.使用 ./demo.sh 运行八项核心测试,或通过验证工具检查交易、钱包签名和 GitHub 提交。需要 Python 3.11+,首次配置会下载依赖。公开记录验证需要联网,无需私钥或调用模型。

./demo.sh
python tools/verify_acceptance.py --receipt deployments/agent-acceptance.json