How to build MetaMask extension with Snaps enabled
- Clone the source code from https://github.com/MetaMask/metamask-extension
- Switch to
snaps
branch yarn setup
- Copy the
.metamaskrc.dist
file to.metamaskrc
and replace theINFURA_PROJECT_ID
value with your own. yarn run build prod --build-type flask
- The build should be located at directory
dist
.