Chain-agnostic primitives for integrating the MetaMask SDK (@metamask/connect-multichain and its chain-specific facades such as @metamask/connect-evm) with the Dynamic JS SDK.
Chain-agnostic primitives for integrating the
MetaMask SDK (@metamask/connect-multichain
and its chain-specific facades such as @metamask/connect-evm) with the
Dynamic JS SDK.
This package is intended to be consumed by Dynamic's chain-specific
packages (@dynamic-labs-sdk/evm, @dynamic-labs-sdk/solana, …) and
exposes the building blocks they share — the extension-installed
guard, the IndexedDB session reset, the connect orchestration that
returns a { approval, uri } pair, and a thin MetaMaskController
interface that chain-specific glue implements on top of the
chain-specific MetaMask SDK.
Application code should usually import from a chain-specific
sub-entrypoint instead, e.g. @dynamic-labs-sdk/evm/metamask, which
re-exports a chain-bound connectWithMetaMaskEvm /
isMetaMaskExtensionInstalled etc.
Chain-agnostic primitives for integrating the MetaMask SDK (@metamask/connect-multichain and its chain-specific facades such as @metamask/connect-evm) with the Dynamic JS SDK.