Tezos Wallet for MetaMask
npm install tezos-metamask-snapThis Snap demonstrates how to develop a Snap with TypeScript.
- Babel is used for transpiling TypeScript to JavaScript, so when building with the CLI,
transpilationMode must be set to localOnly (default) or localAndDeps.
- For the global wallet type to work, you have to add the following to your tsconfig.json:
``json``
{
"files": ["./node_modules/@metamask/snaps-types/global.d.ts"]
}