fix: verify SCA signatures on signed chain#32
Open
andy-t-wang wants to merge 3 commits into
Open
Conversation
a98fbeb to
c299914
Compare
c299914 to
b0c99ee
Compare
Configure default public RPCs for Tempo Mainnet (4217) and Arc Testnet (5042002) via Alchemy free-tier endpoints, and pre-wire Arc Mainnet (5042) to its public RPC ahead of launch so relying parties don't need a config update when it goes live. These are treated as rate-limited public endpoints, not secrets. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
RUSTSEC-2026-0173 flags proc-macro-error2 as unmaintained. It is a build-time-only transitive dependency via alloy-sol-macro, so add it to the existing advisories ignore list alongside the other unmaintained crates. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Takaros999
approved these changes
Jun 18, 2026
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.
Summary
SCA verification now follows the EVM chain in the signed AgentKit payload. A Base smart-account signature can be verified against Base, then the same address is checked in the canonical World Chain AgentBook registry.
Base, World Chain, Tempo, and Arc use built-in public RPCs by default, so developers do not need to configure an RPC for those signing chains. Integrators can still override endpoints with
rpcUrlsby CAIP-2 chain ID, with the existingrpcUrloption preserved as a fallback.Testing
bun test core/tests/viem-client.test.ts core/tests/verify.test.tsbun test x402/tests/hooks.test.tsbunx tsc -p core/tsconfig.json --noEmitbunx tsc -p x402/tsconfig.json --noEmitbun run build:corebun run build:x402