Front End
How to build a front-end for a Galactica DApp
Last updated
Was this helpful?
How to build a front-end for a Galactica DApp
Last updated
Was this helpful?
In general, every EVM compatible wallet can interact with Galactica. We recommend to focus on Metamask because Galactica provides the Galactica Snap for additional wallet features required to utilize the full potential. This allows DApps to require compliance proofs from users while giving them zero-knowledge privacy and self custody over self sovereign identity documents.
Read Galactica Snap for Metamask for details.
To integrate the Galactica snap, you can use the passing the snapId npm:@galactica-net/snap
.
The package provides simple to use methods to integrate in the front-end.
General RPC functions for EVM are documented . RPC functions specific to the Galactica Snap can be found in Galactica Snap JSON-RPC API.
You can also take a look our guide to the example front-end on the following sub-pages.
The code for it can be found under packages/galactica-dapp
.
To interact with Galactica, the RPC endpoint defined here can be used in the wallet: DevNet: Andromeda