zk-nullifier-snap

0.1.2 • Public • Published

TypeScript Example Snap

This Snap demonstrates how to develop a Snap with TypeScript.

Notes

  • 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:
    {
      "files": ["./node_modules/@metamask/snap-types/global.d.ts"]
    }

Readme

Keywords

none

Package Sidebar

Install

npm i zk-nullifier-snap

Weekly Downloads

0

Version

0.1.2

License

(MIT-0 OR Apache-2.0)

Unpacked Size

514 kB

Total Files

6

Last publish

Collaborators

  • piotr-roslaniec