Design: owner limits for x402 "upto" (Permit2) and "batch" (payment channels) schemes
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 12/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- blockchain, payments
調査の方向性
This is a design question, and the payload names no source files or tests. Read the linked mcpc README and the x402.cow.fi openapi to understand the upto and batch schemes. The open question is what owner limits to enforce before either scheme is signed. Done means a written design agreed in the thread, not code.
索引モデルが issue の本文から書いたものです。
説明
The SDK signs only exact (EIP-3009). Two other schemes are now live, and both need owner-side limits defined before we sign them:
upto(Permit2PermitWitnessTransferFrom). Apify's mcpc uses it. The agent signs a max cap and the facilitator settles accumulated usage later. mcpc's first use grantsUSDC.approve(PERMIT2, MAX_UINT256)(mcpc README).batch(payment channels). CoW Protocol's quote API atx402.cow.fiuses it: a deposit or top-up, then cumulative vouchers per request (openapi).
What Agent Safe would need to enforce:
upto: a pinned spender and payee, a max per-signature cap no larger thanmaxPerTx, and no unlimited ERC-20 approvals (approve exactly what the plan allows, or use per-permit amounts).batch: a pinned receiver, a deposit cap counted against the plan and the period budget when deposited (not when vouchers are signed), cumulative-voucher monotonicity, and a cap on total voucher value per channel.
Out of scope until the design is agreed: signing either scheme. Input from people running these schemes is welcome.
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 3時間 51分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DeepFirstHQ/deepfirstsearch のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
DeepFirstHQ/deepfirstsearch#40 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 42/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
2xx without a readable receipt: make on-chain confirmation the default when an RPC is availableオープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
DeepFirstHQ/deepfirstsearch の issue をすべて見る
似ている issue
-
bug help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
agent-task risk:low
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
guyellis/http-status-check#512 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
microsoft/playwright#43327 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/TypeScript#64758 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
opensearch-project/OpenSearch-Dashboards#12937 ·
メンテナーはふだん 2 日以内に返信