Skip to content

fix: verify SCA signatures on signed chain#32

Open
andy-t-wang wants to merge 1 commit into
mainfrom
codex/sca-signature-chain-rpc
Open

fix: verify SCA signatures on signed chain#32
andy-t-wang wants to merge 1 commit into
mainfrom
codex/sca-signature-chain-rpc

Conversation

@andy-t-wang

Copy link
Copy Markdown
Contributor

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.

This keeps AgentBook lookup chain-stable while allowing servers to accept smart-account signatures from contracts deployed on other EVM chains. Integrators can configure rpcUrls by CAIP-2 chain ID, with the existing rpcUrl option preserved as a fallback.

Testing

  • bun test core/tests/verify.test.ts
  • bun test x402/tests/hooks.test.ts
  • bun run build:core
  • bun run build:x402

Compound Engineering
GPT-5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant