Repository navigation
feat: add Python keyless public chain read - #35
Merged
Merged
Conversation
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.
Owner: market-leader 01a133d7-789f-7241-af41-185e49fc0fed
Python Agent 现在可直接用 Python 3.10+ 标准库验证公开链身份,无需 Node/npm、钱包或 API Key。示例先按动态目录唯一选择 chain ID 和公开端点,再验证 eth_chainId,最多两次串行请求,失败不重试。中英文 README 同步给出命令。
验收项: keyless-public-chain-read
验证:Python 离线 unittest 9 项及语法检查通过;当前 head 的 Node 22/24 既有 CI 通过。独立源码审 APPROVE_SCOPED,真实 loopback 核对了 302 不跟随、429 不重试和超大正文拒绝;原始证据保存在本地任务 .evidence/python-first-read-20261106-0938/,不入 Git。
15 秒是 socket 操作超时,不是完整请求硬截止;本变更只验证链身份,不读取最新区块或证明数据覆盖。合入后一次 QA:2 HTTP/1 RPC、两个 200、0 重试,验证 Robinhood mainnet 的 chain ID 4663,耗时 1.81 秒;已使用 BlockVectraQA/1 标记,不计外部采用。回退可直接撤销此四文件变更,现有 TypeScript/Skill/开户流程不变。