Connect to Galactica Snap
Before the Galactica Snap can be installed, we need to check that Metamask is available in the user's browser. This is similar to a standard Metamask connection.
If Metamask is not installed, you can forward the user with the connect button to the install page:
With Metamask present, the user can connect to the Galactica Snap and install it if necessary (missing or outdated) with the following function:
You can verify if the Snap is installed:
Now you should be able to use Galactica specific functions through the snap using the wallet_invokeSnap method. See the next page for an example
Last updated
Was this helpful?