generated from MetaMask/template-snap-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
6 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
# TypeScript Example Snap | ||
# Slots Snap for MetaMask | ||
|
||
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. | ||
Welcome to the casino. | ||
|
||
## 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`](https://github.com/MetaMask/snaps/tree/main/packages/snaps-jest) | ||
to run the tests in `src/index.test.ts`. | ||
This Snap adds an embedded interactive game to MetaMask. You can play it by going to the menu, then "Snaps," then click on "Slots." Enjoy! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters