1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 20:02:58 +01:00
🦊 Minimalized version of MetaMask for my own personal use.
Go to file
Mark Stacey bb87a0b92c
Add migration to remove seedWords state (#6937)
The `seedWords` state was removed from the PreferencesController
recently in #6920. That state hadn't been used in some time, and there
was a long period during which `seedWords` was periodically scrubbed
from the state, so it's highly unlikely that it still exists in state
for most users. It's hard to guarantee that it _doesn't_ though,
especially if a user hasn't opened MetaMask in a few months.
2019-08-02 10:28:25 -02:30
.circleci
.github
.storybook
app Add migration to remove seedWords state (#6937) 2019-08-02 10:28:25 -02:30
development Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
docs
test Add migration to remove seedWords state (#6937) 2019-08-02 10:28:25 -02:30
ui Fixes use of 'Enter' key to save contact in address book modal (#6946) 2019-08-02 10:24:45 -02:30
.babelrc
.dockerignore
.editorconfig
.eslintignore
.eslintrc Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
.gitattributes I5849 incremental account security (#6874) 2019-08-02 01:27:26 -02:30
.gitignore
.nvmrc
.stylelintignore
.stylelintrc
CHANGELOG.md
CONTRIBUTING.md
fonts
gentests.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
gulpfile.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
images
ISSUE_TEMPLATE
LICENSE
MISSION.md
package.json I5849 incremental account security (#6874) 2019-08-02 01:27:26 -02:30
README.md
USER_AGREEMENT.md
yarn.lock Address book send plus contact list (#6914) 2019-07-31 17:26:44 -02:30

MetaMask Browser Extension

Build Status Coverage Status

You can find the latest version of MetaMask on our official website. For help using MetaMask, visit our User Support Site.

For up to the minute news, follow our Twitter or Medium pages.

To learn how to develop MetaMask-compatible applications, visit our Developer Docs.

To learn how to contribute to the MetaMask project itself, visit our Internal Docs.

Building locally

  • Install Node.js version 10
    • If you are using nvm (recommended) running nvm use will automatically choose the right node version for you.
  • Install Yarn
  • Install dependencies: yarn
  • Build the project to the ./dist/ folder with yarn dist.
  • Optionally, to start a development build (e.g. with logging and file watching) run yarn start instead.
    • To start the React DevTools and Redux DevTools Extension alongside the app, use yarn start:dev.
      • React DevTools will open in a separate window; no browser extension is required
      • Redux DevTools will need to be installed as a browser extension. Open the Redux Remote Devtools to access Redux state logs. This can be done by either right clicking within the web browser to bring up the context menu, expanding the Redux DevTools panel and clicking Open Remote DevTools OR clicking the Redux DevTools extension icon and clicking Open Remote DevTools.
        • You will also need to check the "Use custom (local) server" checkbox in the Remote DevTools Settings, using the default server configuration (host localhost, port 8000, secure connection checkbox unchecked)

Uncompressed builds can be found in /dist, compressed builds can be found in /builds once they're built.

Contributing

You can read our internal docs here.

You can re-generate the docs locally by running yarn doc, and contributors can update the hosted docs by running yarn publish-docs.

Running Tests

Run tests with yarn test.

You can also test with a continuously watching process, via yarn watch.

You can run the linter by itself with yarn lint.

Architecture

Architecture Diagram

Development

yarn
yarn start

Build for Publishing

yarn dist

Writing Browser Tests

To write tests that will be run in the browser using QUnit, add your test files to test/integration/lib.

Other Docs