This repository demonstrates some of the new Interactive UI features available in the MetaMask Snaps Platform. Some of the features in this Snap are:
- onInstall lifecycle hook
- onUpdate lifecycle hook
- Home Page
- Custom UI
- Dynamic/Interactive UI
MetaMask Snaps is a system that allows anyone to safely expand the capabilities of MetaMask. A snap is a program that we run in an isolated environment that can customize the wallet experience.
To interact with (your) Snaps, you will need to install MetaMask Flask, a canary distribution for developers that provides access to upcoming features.
This project demostrates some of the latest features in Snaps. These features may not yet be available in Metamask Stable. So it is recommended to install MetaMask Flask to try out the examples.
Clone the repository and set up the development environment:
yarn install && yarn start
The dapp is served from : localhost:8000
The snap is served from : localhost:8080
You can watch the Video recording describing this repo and its code, and other Snaps related videos on the MetaMask Snap YouTube Channel: