How to install the Identify Snap?

  1. To get started, make sure you have MetaMask first and then install the Identity snap from the Metamask Snaps store or npm registry. Note that as of now, v1.5.0 is the most stable version so we recommend you use this in your application

  2. Connect with Metamask and accept the connection in MetaMask(Note that you cannot install snaps directly. You would need to enable this in your app. To learn more about how you can do this in your own app, look at an example site code that has the Identify Snap installation functionality or go through the live demos within the Snap RPC APIs section where you can check out the working html/js code to do this.

  3. Approve and install the Identify snap

  4. Check out this demo video that showcases how a website can integrate with Identify Snap and expose various functionalities such as creating DID, resolving DID, creating Verifiable Credentials and creating Verifiable Presentations and much more.

What is Metamask Snaps?

MetaMask Snaps allows users to add features and functionality to their MetaMask wallet. Individual snaps are features created by third-party developers that MetaMask users can install directly into their wallet. Learn more about Metamask snaps.

What is a Snap?

A Snap is an application built by a third-party developer that adds features and functionality to MetaMask. Snaps can connect to blockchain protocols beyond Ethereum, show insights about transactions, display notifications, add new privacy and identity features, and much more.

Are Snaps safe to use?

Snaps run in a sandboxed environment and use a permissions model to protect your data and respect your consent. Snaps do not have access to your MetaMask account data. When installing a Snap, make sure you understand what permissions you are granting to stay secure.

Why do I need to use a snap for DID?

DID is not directly compatible with MetaMask. The Identify snap allows you to manage your DID by creating a DID based on your ECDSA private key.

Can I see my Verifiable Credentials directly in MetaMask?

No, the Identify Snap does not modify any UI within MetaMask. To interact with the snap and perform actions you need to go through a dapp. We have built a dedicated dapp that you can access here to view your Verifiable Credentials here.

Is the Identify snap available on MetaMask Mobile?

Snaps are currently only available on MetaMask. MetaMask is a browser-based extension. This means the Identify snap, or any other snap, is currently not available on MetaMask Mobile however, there are plans from the Metamask team to release the Snap feature on Metamask mobile in the near future.

What happens if I delete the snap in MetaMask?

Reinstalling the snap will automatically recover your account provided you use the same private key to configure the account again via your DApp. Verifiable Credentials will need to be added again. Deleting the snap does not delete your DID or transaction history.

Last updated