A MetaMask plugin for signing EdDSA data. Currently only works in the MetaMask Snaps. More information can be found in the wiki.
- Install the MetaMask Extension - Snaps branch
- Install the Metamask snaps-skunkworks
- Clone this repo
- Go to the root folder of this repo
- Run
npm install
- Run
mm-snap build
and thenmm-snap serve
- Browse to
localhost:8085
in the browser you installed the MetaMask Beta in - Follow the intstructions given on the website
This plugin uses a very slightly modified snarkjs package found here. The modifications were done to make the package compatible with SES (Secure EcmaScript).
-
After
npm install
, go and findcalculateWitnes.js
file insidenode_modules
and remove-->
and--->
otherwisebuild
will not work (it isn't SES compatible). -
It works only with Chrome (Install Metamask extension on Chrome)
-
It was updated to work with Metamask Snaps