Skip to content

[codex] Add Fast MetaMask Snap SDK support#57

Draft
seichris wants to merge 2 commits into
mainfrom
metamask-snap-plan
Draft

[codex] Add Fast MetaMask Snap SDK support#57
seichris wants to merge 2 commits into
mainfrom
metamask-snap-plan

Conversation

@seichris

@seichris seichris commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Rebases the Fast MetaMask Snap work onto the current monorepo layout and adds the SDK-side support needed for delegated browser signing.

What Changed

  • add FastSnapClient and a new @fastxyz/sdk/browser entrypoint
  • add a transport abstraction so FastProvider can use custom request adapters
  • refactor transaction signing to work with delegated signers, not only raw private-key holders
  • keep Signer compatible while adding the exported FastSigner interface
  • add unit coverage for custom transports, delegated transaction signing, and Snap RPC flows
  • update the SDK README and monorepo README to document browser Snap usage

Why

main moved to the monorepo and released @fastxyz/sdk 1.0.1, so the original branch no longer matched the published package layout. This rebases the Snap support onto the current package structure and clears the merge conflicts on the PR.

Validation

  • pnpm --filter @fastxyz/sdk... build
  • pnpm --filter @fastxyz/sdk test

@seichris seichris force-pushed the metamask-snap-plan branch from aa9aa4f to da027cb Compare April 10, 2026 18:09
@seichris seichris changed the title [codex] Add MetaMask Snap implementation plan [codex] Add Fast MetaMask Snap SDK support Apr 10, 2026
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