0.1.0 • Published 1 year ago

star_dapp_plugin v0.1.0

Weekly downloads
-
License
(MIT-0 OR Apache-...
Repository
github
Last release
1 year ago

Example Snap

This snap demonstrates how to develop a snap with TypeScript. It is a simple snap that displays a confirmation dialog when the hello JSON-RPC method is called.

example

  • address 0x1a32Cee4b2D04BC4FAfF8A9B3BD8d4F63A547b1F
    • npm.io

Testing

The snap comes with some basic tests, to demonstrate how to write tests for snaps. To test the snap, run yarn test in this directory. This will use @metamask/snaps-jest to run the tests in src/index.test.ts.