defi-armor-snap

0.2.5 • Public • Published

Development

To install the snap:

  1. Disable any existing MetaMask browser extension.
  2. Install the MetaMask Flask extension for development.
  3. Run yarn install && yarn start in this repo.
  4. Start a local instance of Eulith backend services.
  5. Start a local instance of the Eulith frontend.
  6. Open http://localhost:3000/metamask and click 'Install'.

To update the snap after a code change:

  1. Uninstall the snap from inside MetaMask Flask.
  2. Repeat installation steps above.

To view console logs:

  1. Go to about://extensions in Chrome.
  2. Make sure "Developer mode" is toggled in the top right.
  3. Click on "MetaMask Flask > Details".
  4. Click on "background.html" under "Inspect views".

To publish the snap to NPM:

npm publish

To run tests (tests may not work if a server is already running):

yarn test

To run linter:

yarn lint

Docs

Dependencies (2)

Dev Dependencies (29)

Package Sidebar

Install

npm i defi-armor-snap

Homepage

eulith.com

Weekly Downloads

7

Version

0.2.5

License

none

Unpacked Size

920 kB

Total Files

6

Last publish

Collaborators

  • eulith-engineers