Extend the functionality of MetaMask using MetaMask Snaps.
This repository contains the following packages 1:
@metamask/create-snap
@metamask/snaps-browserify-plugin
@metamask/snaps-cli
@metamask/snaps-controllers
@metamask/snaps-execution-environments
@metamask/snaps-jest
@metamask/snaps-rollup-plugin
@metamask/snaps-rpc-methods
@metamask/snaps-sdk
@metamask/snaps-simulation
@metamask/snaps-utils
@metamask/snaps-webpack-plugin
Or, in graph form 1:
%%{ 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_rpc_methods;
snaps_simulation --> snaps_sdk;
snaps_simulation --> snaps_utils;
snaps_utils --> snaps_sdk;
snaps_webpack_plugin --> snaps_sdk;
snaps_webpack_plugin --> snaps_utils;
Refer to individual packages for usage instructions.
For instructions on performing common development-related tasks, see contributing to the monorepo.