You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Remove one resource and add 2 others
* More details on how to publish a Snap
Also reference the install tester tool instead of the sandbox
* Remove requirement for builder engagement onboarding
* Extra callout about Flask
* Update URLs in allowlisting guide
* Warn about account Snaps
* Update index.md
* revert line breaks and update prettier config
* more edits and remove onboarding form from quickstart
---------
Co-authored-by: Alexandra Tran <alexandratran@protonmail.com>
You should not encourage end users to install Flask.
39
+
It is not guaranteed to be reliable.
40
+
Also, if you do not [submit your Snap for the allowlist](../how-to/get-allowlisted.md), it will not be listed in the [MetaMask Snaps Directory](https://snaps.metamask.io), so users will not be able to find your Snap.
Copy file name to clipboardExpand all lines: snaps/how-to/publish-a-snap.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,14 @@ The following details are specific to Snaps:
19
19
installing the Snap, in custom dialogs, and in the settings menu.
20
20
- This icon should be a valid SVG.
21
21
- The icon will be cropped in a circle when displayed in MetaMask; you do not need to make the icon circular.
22
+
- The icon should only have a transparent background if the icon is clearly visible on both light and dark backgrounds.
22
23
23
24
After publishing the Snap, any dapp can connect to the Snap by using the Snap ID `npm:[packageName]`.
25
+
You can use the [Snap Install Tester](https://montoya.github.io/snap-install-tester/) with [MetaMask Flask](../get-started/install-flask.md) to verify that your Snap package was published correctly.
24
26
25
27
:::caution
26
28
If you are using the Snap monorepo project generated in the [quickstart](../get-started/quickstart.md),
27
29
make sure to only publish the Snap package in `/packages/snap`.
28
-
You can use the [Snaps sandbox](test-a-snap.md#test-in-the-sandbox) to verify
29
-
that your Snap was published correctly: in the sandbox settings, disable **Use current Snap ID** and specify the npm ID of your Snap.
30
30
31
31
Also, make sure to update the manifest file, icon file, and README to differentiate your Snap from the template.
strings into Unicode bold, italic, and strikethrough characters for use on social
40
37
media. Demonstrates [interactive JSX UI](../features/custom-ui/index.md) in a home page.
41
-
-[Social Names](https://github.com/Montoya/social-names-snap) - Adds Farcaster and
42
-
Lens handles to the send flow and petnames using
38
+
-[Social Names](https://github.com/Montoya/social-names-snap) - Adds Farcaster and
39
+
Lens handles to the send flow and petnames using
43
40
[custom name resolution](../features/custom-name-resolution.md).
44
41
45
42
## Developer tools
@@ -49,15 +46,18 @@ View the following Snaps resources in addition to this documentation site.
49
46
deploying your Snap, and a companion dapp UI you can build on.
50
47
-[Test Snaps](https://github.com/MetaMask/snaps/tree/main/packages/test-snaps) - A collection of
51
48
test Snaps and [a dapp for evaluating them](https://metamask.github.io/snaps/test-snaps/latest/).
52
-
-[`snaps-jest`](https://www.npmjs.com/package/@metamask/snaps-jest) - A Jest preset for end-to-end
49
+
-[`snaps-jest`](https://www.npmjs.com/package/@metamask/snaps-jest) - A Jest preset for end-to-end
53
50
testing MetaMask Snaps, including a Jest environment, and a set of Jest matchers.
54
51
See [how to test a Snap](../how-to/test-a-snap.md) using `snaps-jest`.
55
52
-[Snapper](https://github.com/sayfer-io/Snapper) - A tool for detecting security vulnerabilities,
56
53
identifying potential issues, and ensuring best coding practices in your Snap.
57
-
-[MetaMask Testing Tools](https://hugomrdias.github.io/metamask/) - A collection of tools for
58
-
testing MetaMask, MetaMask Flask, and MetaMask Snaps with [Playwright](https://playwright.dev/),
59
-
delivered as an npm package that provides a `createFixture` function that returns a `test` and
54
+
-[MetaMask Testing Tools](https://hugomrdias.github.io/metamask/) - A collection of tools for
55
+
testing MetaMask, MetaMask Flask, and MetaMask Snaps with [Playwright](https://playwright.dev/),
56
+
delivered as an npm package that provides a `createFixture` function that returns a `test` and
60
57
`expect` function that can be used to write tests.
58
+
-[Snap Install Tester](https://montoya.github.io/snap-install-tester/) - A simple web tool for loading and installing any Snap from npm.
59
+
Just provide an npm package ID and (optional) version number, then click to install in MetaMask Flask.
60
+
-[Snap Connect Example](https://github.com/Montoya/snap-connect-example) - Example code for connecting to MetaMask from a website and interfacing with a Snap in a reliable way.
61
61
62
62
## Blog posts
63
63
@@ -69,7 +69,7 @@ View the following Snaps resources in addition to this documentation site.
69
69
Here](https://metamask.io/news/latest/snaps-in-metamask-stable-and-where-we-go-from-here/) by Dan
70
70
Finlay
71
71
-[MetaMask Snaps Launch with Hardened JavaScript Under the
0 commit comments