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
Esteban Miño 1d93d9a385 Prevent send to token (#6051)
* check contact metadata

* check for tokens in state

* tests

* update tests

* validation only if sending tokens

* container test
2019-01-22 11:05:59 -08:00
.circleci Skip drizzle tests unit issue with ci is determined (#5982) 2019-01-16 13:38:04 -08:00
.github encourage stackexchange in issue templates (#5737) 2018-11-13 13:54:03 -03:30
.storybook Merge branch 'develop' into i3725-refactor-send-component- 2018-05-14 11:44:50 -02:30
app Prevent send to token (#6051) 2019-01-22 11:05:59 -08:00
development Prevent users from changing the From field in the send screen (#5922) 2018-12-13 18:19:36 -08:00
docs Make docs links consistent (#5920) 2018-12-12 20:48:18 -03:30
mascara Trim whitespace from seed phrase during import (#5827) 2018-11-26 13:10:42 -03:30
notices Update the Phishing Warning notice text to not use inline URLs 2018-12-12 20:43:46 -03:30
old-ui Fix displayed time and date in the activity log. Remove vreme library, add luxon library. (#5932) 2018-12-13 12:48:15 -08:00
test I#5956 fix 1 (#6026) 2019-01-17 09:10:33 -10:00
ui Prevent send to token (#6051) 2019-01-22 11:05:59 -08:00
.babelrc Minimum Browsers Supported (#4873) 2018-08-22 20:20:24 -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 Merge pull request #5797 from MetaMask/trezor-v6 2018-11-21 14:45:55 -05:00
.eslintrc ESLint fixes (#5775) 2018-11-16 14:54:55 -10: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 nvm: Bump Node version to 8.13 2018-11-21 15:47:57 -03:30
.stylelintignore [WIP] Add packages and tasks for linting scss 2017-08-14 10:03:16 +02:00
.stylelintrc Lint and cleanup all scss 2017-08-14 10:31:27 +02:00
.travis.yml Remove extraneous build target 2016-04-14 14:55:41 -07:00
auto-changelog.sh detect os 2018-11-15 10:12:11 -08:00
CHANGELOG.md Version 5.3.1 RC2 2019-01-16 11:25:41 -08:00
CONTRIBUTING.md update contributing.md 2018-07-05 17:52:26 -04:00
docker-compose.yml mascara - fix words and enviroment vars 2017-11-02 12:24:50 -05:00
Dockerfile Merge branch 'master' into mascara-deploy 2018-02-27 19:25:29 +00:00
fonts Improved Ui Dev Mode 2016-07-01 14:23:37 -07:00
gentests.js fix gentests.js 2018-07-02 19:36:26 -04:00
gulpfile.js Add c3 and d3 to the separate dependencies bundle. 2018-12-04 00:06:22 -03:30
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 fix asset detection (#6049) 2019-01-22 10:23:11 -08:00
package.json fix asset detection (#6049) 2019-01-22 10:23:11 -08:00
README.md Make docs links consistent (#5920) 2018-12-12 20:48:18 -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
  • 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