Skip to content

SIP-33: read contacts #170

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

SIP-33: read contacts #170

wants to merge 2 commits into from

Conversation

fabiobozzo
Copy link

This PR introduces SIP-33, which proposes a new RPC method snap_getContacts that allows Snaps to access contacts from a user's MetaMask address book.

Key features:

  • Introduces a new permission snap_getContacts that grants read-only access to contacts
  • Returns contact data including name, address, and optional metadata (future proof)
  • Enables user-friendly workflows by letting Snaps leverage existing contacts, instead of custom per-Snap address books managed via snap_manageState

This feature would benefit users by eliminating the need to manually copy/paste addresses and allowing Snaps to provide more personalized experiences like recipient selection from contacts, contact-based notifications, and improved transaction insights. The implementation focuses on security and privacy, ensuring users have clear visibility into what contact information is being shared.

@fabiobozzo fabiobozzo requested review from Montoya and a team as code owners April 7, 2025 14:19
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