Home

Awesome

MetaMask Snaps

Extend the functionality of MetaMask using MetaMask Snaps.

Modules

This repository contains the following packages 1:

<!-- start package list --> <!-- end package list -->

Or, in graph form 1:

<!-- start dependency graph -->
%%{ init: { 'flowchart': { 'curve': 'bumpX' } } }%%
graph LR;
linkStyle default opacity:0.5
  create_snap(["@metamask/create-snap"]);
  snaps_browserify_plugin(["@metamask/snaps-browserify-plugin"]);
  snaps_cli(["@metamask/snaps-cli"]);
  snaps_controllers(["@metamask/snaps-controllers"]);
  snaps_execution_environments(["@metamask/snaps-execution-environments"]);
  snaps_jest(["@metamask/snaps-jest"]);
  snaps_rollup_plugin(["@metamask/snaps-rollup-plugin"]);
  snaps_rpc_methods(["@metamask/snaps-rpc-methods"]);
  snaps_sdk(["@metamask/snaps-sdk"]);
  snaps_simulation(["@metamask/snaps-simulation"]);
  snaps_utils(["@metamask/snaps-utils"]);
  snaps_webpack_plugin(["@metamask/snaps-webpack-plugin"]);
  create_snap --> snaps_utils;
  snaps_browserify_plugin --> snaps_utils;
  snaps_cli --> snaps_sdk;
  snaps_cli --> snaps_utils;
  snaps_cli --> snaps_webpack_plugin;
  snaps_controllers --> snaps_rpc_methods;
  snaps_controllers --> snaps_sdk;
  snaps_controllers --> snaps_utils;
  snaps_execution_environments --> snaps_sdk;
  snaps_execution_environments --> snaps_utils;
  snaps_jest --> snaps_controllers;
  snaps_jest --> snaps_sdk;
  snaps_jest --> snaps_simulation;
  snaps_jest --> snaps_utils;
  snaps_rollup_plugin --> snaps_utils;
  snaps_rpc_methods --> snaps_sdk;
  snaps_rpc_methods --> snaps_utils;
  snaps_simulation --> snaps_controllers;
  snaps_simulation --> snaps_execution_environments;
  snaps_simulation --> snaps_rpc_methods;
  snaps_simulation --> snaps_sdk;
  snaps_simulation --> snaps_utils;
  snaps_utils --> snaps_sdk;
  snaps_webpack_plugin --> snaps_sdk;
  snaps_webpack_plugin --> snaps_utils;
<!-- end dependency graph -->

Refer to individual packages for usage instructions.

Learn more

For instructions on performing common development-related tasks, see contributing to the monorepo.

Footnotes

  1. The package list and dependency graph should be programmatically generated by running yarn update-readme-content. 2