- Make sure you have Node.js v10.19.0
- Make sure you have installed Npm 6.13.4
- Install build essentials:
sudo apt install build-essential
- Install dependencies:
npm install
- Build packages:
npm run dist
- Done! You can find the files in
/dist
in the root (for Chrome, Edge, Firefox and Opera)
- 'npm ERR! cb() never called!'. Please try npm cache clean since you might be switching between npm registries
- 'configure: error: no acceptable C compiler found in $PATH.'. Please install apt-get install build-essential
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.
You can read our internal docs here.
You can re-generate the docs locally by running npm run doc
, and contributors can update the hosted docs by running npm run publish-docs
.
Requires mocha
installed. Run npm install -g mocha
.
Then just run npm test
.
You can also test with a continuously watching process, via npm run watch
.
You can run the linter by itself with gulp lint
.
npm install
npm start
npm run dist
To write tests that will be run in the browser using QUnit, add your test files to test/integration/lib
.
- How to add custom build to Chrome
- How to add custom build to Firefox
- How to add a new translation to MetaMask
- Publishing Guide
- The MetaMask Team
- How to live reload on local dependency changes
- How to add new networks to the Provider Menu
- How to manage notices that appear when the app starts up
- How to port MetaMask to a new platform
- How to use the TREZOR emulator
- How to generate a visualization of this repository's development