Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Loopring/eddsa-metamask-plugin
https://github.com/Loopring/eddsa-metamask-plugin
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/Loopring/eddsa-metamask-plugin
- Owner: Loopring
- Created: 2020-01-21T21:34:20.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-17T15:40:17.000Z (about 3 years ago)
- Last Synced: 2024-02-11T22:45:39.075Z (10 months ago)
- Language: JavaScript
- Size: 36.1 KB
- Stars: 16
- Watchers: 12
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-loopring - MetaMask EdDSA Plugin
README
# eddsa-metamask-plugin
A MetaMask plugin for signing EdDSA data. Currently only works in the [MetaMask Snaps](https://github.com/MetaMask/metamask-extension/tree/snaps). More information can be found in the [wiki](https://github.com/MetaMask/metamask-snaps-beta/wiki).
## How to use this plugin
- [Install the MetaMask Extension - Snaps branch](https://github.com/MetaMask/metamask-extension/tree/snaps)
- [Install the Metamask snaps-skunkworks](https://github.com/MetaMask/snaps-skunkworks)
- Clone this repo
- Go to the root folder of this repo
- Run `npm install`
- Run `mm-snap build` and then `mm-snap serve`
- Browse to `localhost:8085` in the browser you installed the MetaMask Beta in
- Follow the intstructions given on the websiteThis plugin uses a very slightly modified [snarkjs](https://github.com/iden3/snarkjs) package found [here](https://github.com/Brechtpd/snarkjs). The modifications were done to make the package compatible with [SES (Secure EcmaScript)](https://github.com/Agoric/SES).
- After `npm install`, go and find `calculateWitnes.js` file inside `node_modules` and remove `-->` and `--->` otherwise `build` 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