docs(x402-mcp): README の x402 profile 設定例を keystore 方式へ - #546
Merged
Merged
Conversation
…する例をなくす) x402 profile の Claude Desktop / Claude Code の例が env-key + BUYER_PRIVATE_KEY: "0x..." の ままで、コピーすると MCP が起動時に停止する。/agent・/guide/ai-pay・agent-templates と同じ keystore にそろえ、wallet_init の流れと「仮の鍵を書かない」を 1 段落で案内する。 env-key / steward の説明 (Signer Modes・Environment 表) と threat model は変更なし。 公開前の段取りメモ (SDK → MCP → Web の順に公開…) は公開済みで古いので 1 行に置き換え。 npm 上の README は次回 publish で反映される。 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HeizmagJBgL5peL5mQpxkc
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
何を直すか
packages/x402-mcp/README.mdの x402 profile の設定例 (Claude Desktop / Claude Code) がSIGNER_MODE=env-key+"BUYER_PRIVATE_KEY": "0x..."のままで、コピーすると MCP が起動時に停止する (#534・#544 と同じ問題の最後の 1 箇所)。SIGNER_MODE=keystoreに (秘密鍵の欄なし)wallet_initで手元にウォレットを作る → 返ったアドレスへ入金・仮の鍵を書くと起動時に拒否される・env-key/stewardは Signer Modes へ変更なし: Signer Modes の説明・Environment 表・Local wallet threat model (ハッシュ固定のテストが通ることを確認)・コード。
公開文言 (要承認)
英語の追加 1 段落と置き換え 1 行は diff のとおり。merge は文言の承認後。npm 上の README は次回 publish で反映 (GitHub 上は merge で反映)。
検証
tests/packages/x402-mcp-wallet-docs.test.tsに回帰フェンスを追加 (x402 profile の JSON 例は keystore・BUYER_PRIVATE_KEYを含まない)・threat model のハッシュテストも pass🤖 Generated with Claude Code
https://claude.ai/code/session_01HeizmagJBgL5peL5mQpxkc