1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
🦊 Minimalized version of MetaMask for my own personal use.
Go to file
Mark Stacey 27e1189c91
Handle non-String web3 property access (#9256)
The web3 usage metrics added in #9144 assumed that all web3 properties
were strings. When a `Symbol` property is accessed, our `inpage.js`
script crashes because the `Symbol` cannot be serialized correctly.

A check has been added for non-string property access. The metric event
in these cases is set to the string "typeof ", followed by the type of
the key. (e.g. `typeof symbol` for a `Symbol` property).

Fixes #9234
2020-08-18 12:01:43 -03:00
.circleci Add source map validator to CI (#9135) 2020-08-07 16:42:48 -03:00
.github Update CODEOWNERS (#8600) 2020-05-15 15:33:28 -02:30
.storybook Use copy-webpack-plugin@6.0.3 (#9197) 2020-08-12 22:02:40 -02:30
app Handle non-String web3 property access (#9256) 2020-08-18 12:01:43 -03:00
development Fix require-unicode-regexp issues (#9212) 2020-08-14 09:18:42 -02:30
docs Fix words (#9038) 2020-07-20 14:32:49 -02:30
test Fix no-param-reassign issues (#9235) 2020-08-15 09:28:11 -02:30
ui move footer buttons to scrollable area (#9228) 2020-08-18 09:10:56 -05:00
.editorconfig Clean EditorConfig file 2019-05-23 07:17:42 -02:30
.eslintignore Update eslintignore (#9178) 2020-08-11 09:26:34 -07:00
.eslintrc.js Fix import/unambiguous issues (#9233) 2020-08-17 13:51:01 -02:30
.gitattributes Suppress diffs for test/e2e/send-eth-with-private-key-test/*.js (#7767) 2020-01-08 13:02:16 -03:30
.gitignore Add build-artifacts to .gitignore (#9109) 2020-08-07 16:42:48 -03:00
.nvmrc Bump Node version to 10.18 (#7925) 2020-01-29 13:36:10 -03:30
.stylelintignore Fix stylelint (#8169) 2020-07-14 16:12:53 -03:00
babel.config.js add support for nullish coalescing (#8935) 2020-07-07 15:15:04 -05:00
CHANGELOG.md Update v8.0.8 changelog (#9241) 2020-08-14 20:05:14 -03:00
LICENSE License 2018-06-22 16:28:54 -04:00
MISSION.md Mission v2 2018-05-29 09:30:59 -07:00
nyc.config.js Add permissions controller unit tests (#7969) 2020-03-16 10:13:22 -07:00
package.json Use copy-webpack-plugin@6.0.3 (#9197) 2020-08-12 22:02:40 -02:30
README.md Remove badges from README (#9015) 2020-07-16 11:06:02 -02:30
stylelint.config.js Uncomment and fix all auto-fixable stylelint rules (#8989) 2020-07-15 10:13:40 -03:00
USER_AGREEMENT.md fix tos link; 2018-07-12 16:24:13 -04:00
yarn.lock Dedupe glob-parent versions (#9220) 2020-08-14 09:16:24 -02:30

MetaMask Browser Extension

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

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

Other Docs