🛠️ Installing / Uninstalling / Reinstalling
Installing MetaMask
As a pre-requisite, MetaMask must be installed on your browser before installing HashDit Snaps.
MetaMask Snaps is only supported on the browser version, and not the mobile version.
Installing HashDit Snap
On the HashDit Snap website, start the installation process by clicking the Add to MetaMask button.
Permissions
Continue through the install and accept the requested permissions. The requested permissions are required to allow HashDit Snap to work properly.
- Access the internet: Allow HashDit Snap to access the internet. This is used to both send and receive data with the HashDit API.
- Access the Ethereum provider: Allow HashDit Snap to communicate with MetaMask directly, in order for it to read data from the blockchain and suggest messages and transactions.
- Fetch and display transaction insights: Allow HashDit Snap to decode transactions and show insights within the MetaMask UI. This is used for all the security features.
- See the origins of websites that suggest transactions: Allow HashDit Snap to see the origin (URL) of websites that suggest transactions. This is used by the URL screening feature.
- Store and manage its data on your device: Allow HashDit Snap to store, update, and retrieve data securely with encryption. Other Snaps cannot access this information. The only data stored is the signed hash of the security message (see below).
- Use lifestyle hooks: Allow HashDit Snap to run code during the installation process, specifically to initiate the signature request.
- Display dialog windows in MetaMask: Allow HashDit Snap to create alerts and confirmations.
- Display a custom screen: Allow HashDit Snap to show custom screens such as the Home Page.
HashDit Snap does not have access to the user's private keys. Furthermore, the only transaction initiated by the Snap is a signature request dispatched during the installation process.
Installation Guide Page
Connecting Addresses
Connect the addresses you want to use HashDit Snap with. HashDit Snap must be connected to an address in order to receive insights.
Please connect all your addresses to the HashDit Snap during installation. This step is crucial because HashDit Snap can only perform address poisoning on the addresses you connect at this time. By connecting all your addresses, you can enjoy the safest experience possible.
Signature Request
Lastly, the user will be prompted to sign a security message. Note that this is only used to authenticate the HashDit API. Rejecting the signature request will prevent HashDit's features from working.
If the signature request is rejected, it can be re-prompted by just reinstalling the Snap.
If you attempt to use HashDit Snap without signing the security message, an error screen will be displayed. Reinstalling the snap will resolve this issue
Uninstalling HashDit Snap
Follow this guide on uninstalling Snaps from your MetaMask wallet: Uninstalling A Snap
This will remove HashDit Snap from your MetaMask wallet.
Reinstalling HashDit Snap
To reinstall the Snap, the user must delete HashDit Snap manually and install HashDit Snap again.
Follow the uninstall guide and then the install guide.