Skip to content

Remove ERC-4337 (account abstraction) docs from Snaps#2965

Open
shahbaz17 wants to merge 1 commit into
mainfrom
fix-dep-4337-from-snap
Open

Remove ERC-4337 (account abstraction) docs from Snaps#2965
shahbaz17 wants to merge 1 commit into
mainfrom
fix-dep-4337-from-snap

Conversation

@shahbaz17

@shahbaz17 shahbaz17 commented Jun 25, 2026

Copy link
Copy Markdown
Member

Description

Remove account abstraction (ERC-4337) documentation and references across the Snaps docs. Deleted the ERC-4337 methods section and related examples, removed ERC-4337 account type from examples and objects, and cleaned up links/resources that referenced Smart Account / ERC-4337 integrations. Affected files include features/custom-evm-accounts/, snaps/index.mdx, snaps/learn/resources.md, and snaps/reference/keyring-api/ (chain-methods.md, account-management/*). This consolidates docs to only reference externally owned account (EOA) methods.

Issue(s) fixed

Fixes #

Preview

Checklist

  • If this PR updates or adds documentation content that changes or adds technical meaning, it has received an approval from an engineer or DevRel from the relevant team.
  • If this PR updates or adds documentation content, it has received an approval from a technical writer.

External contributor checklist

  • I've read the contribution guidelines.
  • I've created a new issue (or assigned myself to an existing issue) describing what this PR addresses.

Note

Low Risk
Documentation-only deletions with no runtime or API code changes; readers building ERC-4337 Snaps would lose in-repo reference material.

Overview
This PR removes ERC-4337 (account abstraction) from the Snaps documentation so custom EVM account guidance and the Keyring API reference describe EOA flows only.

The large ERC-4337 methods section is deleted from chain-methods.md (eth_prepareUserOperation, eth_patchUserOperation, eth_signUserOperation). The Account abstraction (ERC-4337) guide, user-operation sequence diagram, and Flask-only callouts are removed from custom EVM accounts docs. eip155:erc4337 is dropped from KeyringAccount and list-accounts examples; ERC-4337 sample Snaps and the Flask Account abstraction card are removed from the intro and resources pages.

Reviewed by Cursor Bugbot for commit dc06251. Bugbot is set up for automated code reviews on this repo. Configure here.

Remove account abstraction (ERC-4337) documentation and references across the Snaps docs. Deleted the ERC-4337 methods section and related examples, removed ERC-4337 account type from examples and objects, and cleaned up links/resources that referenced Smart Account / ERC-4337 integrations. Affected files include features/custom-evm-accounts/*, snaps/index.mdx, snaps/learn/resources.md, and snaps/reference/keyring-api/* (chain-methods.md, account-management/*). This consolidates docs to only reference externally owned account (EOA) methods.
@shahbaz17 shahbaz17 requested review from a team as code owners June 25, 2026 18:07
@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
metamask-docs Ready Ready Preview, Comment Jun 25, 2026 6:15pm

Request Review

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