1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
🦊 Minimalized version of MetaMask for my own personal use.
Go to file
Mark Stacey 14d4c107e5
Backport "Don't updatePendingTxs outside of block updates (#8445)" (#8474)
Backport #8445 to v7.7.9. Original commit description:

* Don't updatePendingTxs outside of block updates

Refs #8377

Reverts 507397f6c (#5431)

* Check for new block data on unlock

Co-authored-by: Whymarrh Whitby <whymarrh.whitby@gmail.com>
2020-04-30 11:38:33 -03:00
.circleci Revert "Merge pull request #7599 from MetaMask/Version-v7.7.0" (#7648) 2019-12-05 10:23:43 -10:00
.github
.storybook
app Backport "Don't updatePendingTxs outside of block updates (#8445)" (#8474) 2020-04-30 11:38:33 -03:00
development Revert "Merge pull request #7599 from MetaMask/Version-v7.7.0" (#7648) 2019-12-05 10:23:43 -10:00
docs Revert "Merge pull request #7599 from MetaMask/Version-v7.7.0" (#7648) 2019-12-05 10:23:43 -10:00
test Backport "Clean up list of available currencies (#7667)" (#8454) 2020-04-29 15:37:26 -03:00
ui Backport "Use ethereum-ens-network-map for network support (#7960)" (#8465) 2020-04-29 18:40:20 -03:00
.dockerignore
.editorconfig
.eslintignore
.eslintrc Revert "Merge pull request #7599 from MetaMask/Version-v7.7.0" (#7648) 2019-12-05 10:23:43 -10:00
.gitattributes Revert "Merge pull request #7599 from MetaMask/Version-v7.7.0" (#7648) 2019-12-05 10:23:43 -10:00
.gitignore
.nvmrc
.stylelintignore
.stylelintrc
babel.config.js
CHANGELOG.md Backport "Fixes #5706 - Adds Dai/Sai to currency display (#7986)" (#8455) 2020-04-29 17:44:27 -03:00
CONTRIBUTING.md
fonts
gulpfile.js Revert "Merge pull request #7599 from MetaMask/Version-v7.7.0" (#7648) 2019-12-05 10:23:43 -10:00
images
ISSUE_TEMPLATE
LICENSE
MISSION.md
package.json Backport "Use ethereum-ens-network-map for network support (#7960)" (#8465) 2020-04-29 18:40:20 -03:00
README.md Revert "Merge pull request #7599 from MetaMask/Version-v7.7.0" (#7648) 2019-12-05 10:23:43 -10:00
USER_AGREEMENT.md
yarn.lock Backport "Use ethereum-ens-network-map for network support (#7960)" (#8465) 2020-04-29 18:40:20 -03:00

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.

MetaMask supports Firefox, Google Chrome, and Chromium-based browsers. We recommend using the latest available browser version.

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