A simulation framework for MetaMask Snaps, which runs in Node.js, and can be used to test Snaps in a headless environment.
Use Node.js 18.0.0
or later. We recommend using nvm
for managing Node.js versions.
Install a dependency in your snap project using yarn
or npm
:
npm install @metamask/snaps-simulation
yarn add @metamask/snaps-simulation