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
Etienne Dusseault 0e9c8fb5cc Improved UX for sweeping accounts (#6488)
* Changed max button to checkbox, disabled input if max mode is on, recalculate price according to gas fee if max mode is on

* Disabled insufficient funds message in the modal if max mode is on, displays proper amounts in modal when max mode is on, sets the send amount according to custom gas price after gas modal save, resets the send amount after resetting custom gas price

* Disabled max mode checkbox if gas buttons are loading, refactored gas-modal-page-container

* Implemented new max button & max mode message. Moved insufficient funds error to underneath the send amount field

* Fixed existing integration test to pass, created new tests to ensure send amount field is disabled when max button is clicked and the amount changes when the gas price is changed. Refactored some components
2019-05-20 14:08:08 -02:30
.circleci ci: Add build:test Gulp task for e2e build 2019-03-29 11:13:39 -02:30
.github Update UI codeowners 2019-01-30 10:32:04 -03:30
.storybook Add storybook README.md file 2018-05-07 13:22:29 -07:00
app Version 6.5.3 RC1 2019-05-16 08:54:43 -07:00
development New settings custom rpc form (#6490) 2019-05-09 14:57:14 -02:30
docs add link to design system 2019-04-24 16:30:50 -07:00
test Improved UX for sweeping accounts (#6488) 2019-05-20 14:08:08 -02:30
ui Improved UX for sweeping accounts (#6488) 2019-05-20 14:08:08 -02:30
.babelrc build - babel - move config to babelrc (#6284) 2019-03-12 13:25:28 -02:30
.dockerignore mascara - ready to deploy via docker 2017-04-05 22:59:25 -07:00
.editorconfig init commit 2015-07-31 18:38:02 -07:00
.eslintignore mascara - remove from project (#6283) 2019-03-12 11:17:21 -02:30
.eslintrc Check for unused function arguments (#6583) 2019-05-08 15:51:33 -04:00
.gitattributes Fix gitattributes 2016-06-29 17:28:49 -07:00
.gitignore Add html reporter to test coverage output 2018-09-11 09:39:16 -07:00
.nvmrc Update Node minor version 2019-03-13 09:56:36 -02:30
.stylelintignore mascara - remove from project (#6283) 2019-03-12 11:17:21 -02:30
.stylelintrc Lint and cleanup all scss 2017-08-14 10:31:27 +02:00
CHANGELOG.md Version 6.5.3 RC1 2019-05-16 08:54:43 -07:00
CONTRIBUTING.md update contributing.md 2018-07-05 17:52:26 -04:00
fonts Improved Ui Dev Mode 2016-07-01 14:23:37 -07:00
gentests.js Check for unused function arguments (#6583) 2019-05-08 15:51:33 -04:00
gulpfile.js Check for unused function arguments (#6583) 2019-05-08 15:51:33 -04:00
images Improved Ui Dev Mode 2016-07-01 14:23:37 -07:00
ISSUE_TEMPLATE Merge branch 'master' into NewUI-flat-merge-with-master 2017-12-06 21:11:52 -08:00
LICENSE License 2018-06-22 16:28:54 -04:00
MISSION.md Mission v2 2018-05-29 09:30:59 -07:00
package-lock.json feature: integrate gaba/PhishingController 2019-05-08 17:56:52 -04:00
package.json feature: integrate gaba/PhishingController 2019-05-08 17:56:52 -04:00
README.md Remove outdated ui dev and ui mock docs 2019-02-20 14:18:46 -03:30
USER_AGREEMENT.md fix tos link; 2018-07-12 16:24:13 -04:00

MetaMask Browser Extension

Build Status Coverage Status Stories in Ready

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 8 and the latest available npm@6
    • If you are using nvm (recommended) running nvm use will automatically choose the right node version for you.
    • If you install Node.js manually, ensure you're using npm@6
      • Install npm@6 using npm install -g npm@6
  • Install dependencies: npm install
    • If you have issues with node-sass compilation, try npm rebuild node-sass
  • Install gulp globally with npm install -g gulp-cli.
  • Build the project to the ./dist/ folder with gulp build.
  • Optionally, to rebuild on file changes, run gulp dev.
  • To package .zip files for distribution, run gulp zip, or run the full build & zip with gulp dist.

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 npm run doc, and contributors can update the hosted docs by running npm run publish-docs.

Running Tests

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.

Architecture

Architecture Diagram

Development

npm install
npm start

Build for Publishing

npm run 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