This monorepo is a collection of accounts-related packages used across multiple MetaMask clients (e.g. metamask-extension
, metamask-mobile
).
This repository contains the following packages 1:
@metamask/eth-hd-keyring
@metamask/eth-ledger-bridge-keyring
@metamask/eth-simple-keyring
@metamask/eth-snap-keyring
@metamask/eth-trezor-keyring
@metamask/keyring-api
@metamask/keyring-internal-api
@metamask/keyring-internal-snap-client
@metamask/keyring-snap-client
@metamask/keyring-snap-sdk
@metamask/keyring-utils
Or, in graph form 1:
%%{ init: { 'flowchart': { 'curve': 'bumpX' } } }%%
graph LR;
linkStyle default opacity:0.5
keyring_api(["@metamask/keyring-api"]);
eth_hd_keyring(["@metamask/eth-hd-keyring"]);
eth_ledger_bridge_keyring(["@metamask/eth-ledger-bridge-keyring"]);
eth_simple_keyring(["@metamask/eth-simple-keyring"]);
eth_trezor_keyring(["@metamask/eth-trezor-keyring"]);
keyring_internal_api(["@metamask/keyring-internal-api"]);
keyring_internal_snap_client(["@metamask/keyring-internal-snap-client"]);
eth_snap_keyring(["@metamask/eth-snap-keyring"]);
keyring_snap_client(["@metamask/keyring-snap-client"]);
keyring_snap_sdk(["@metamask/keyring-snap-sdk"]);
keyring_utils(["@metamask/keyring-utils"]);
keyring_api --> keyring_utils;
keyring_internal_api --> keyring_api;
keyring_internal_api --> keyring_utils;
keyring_internal_snap_client --> keyring_api;
keyring_internal_snap_client --> keyring_snap_client;
keyring_internal_snap_client --> keyring_utils;
eth_snap_keyring --> keyring_api;
eth_snap_keyring --> keyring_internal_api;
eth_snap_keyring --> keyring_internal_snap_client;
eth_snap_keyring --> keyring_utils;
keyring_snap_client --> keyring_api;
keyring_snap_client --> keyring_utils;
keyring_snap_sdk --> keyring_utils;
keyring_snap_sdk --> keyring_api;
Refer to individual packages for usage instructions.