๐Ÿ‘ฉโ€๐Ÿ’ป
Galactica Network Dev Documentation
  • ๐Ÿ“™Galactica Network Overview
  • ๐ŸงฌGalactica Concepts
    • โ›“๏ธBlockchain Base
    • ๐ŸงพZero-Knowledge KYC
      • Holder Commitment
      • DApp specific HumanID
      • Verification SBT
      • KYC Guardian
      • Galactica Investigation Module
      • Privacy Precautions
    • ๐ŸŒŸReputation
    • ๐Ÿ›‚Contingent Transactions
  • โš™๏ธGalactica Components
    • ๐ŸฆŠGalactica Snap for Metamask
    • ๐ŸŒณRoot Contracts
  • ๐Ÿ—๏ธBuilding a Galactica DApp
    • Example DApps
      • Compliant ERC20
      • Cypherbook
      • Compliant DEX
      • Sybil resistant airdrop
    • Front End
      • Guided Example
        • Connect to Galactica Snap
        • Prepare ZK proof generation
        • Generate and submit ZK proof
        • Handle Verification SBTs
      • Galactica Snap JSON-RPC API
    • Smart Contracts
    • Custom Zero Knowledge Disclosures
  • ๐Ÿ“Guardian Guide
    • Setup to become a Guardian
    • Create and issue ZK certificate
      • ๐ŸชชzkKYC (GIP-1)
      • Arbitrary ZK data certificate (GIP-2)
      • X/Twitter ZK certificate (GIP-3)
      • REY X/Twitter Score ZK certificate (GIP-4)
      • Decentralised Exchange (DEX) ZK certificate (GIP-5)
      • Centralised Exchange (CEX) ZK certificate (GIP-6)
      • Telegram ZK certificate (GIP-7)
  • โ›๏ธValidator Guide
    • ๐Ÿ”งInstallation
    • ๐Ÿ”—Become a Validator
    • ๐Ÿš€galacticad CLI Usage Cheat Sheet
    • ๐Ÿ”’Security Best Practices
  • ๐ŸงชTestNet: Reticulum
    • Release Notes
  • ๐ŸงชDevNet: Andromeda
    • Release Notes
  • ๐Ÿ“ŽChangelog
Powered by GitBook
On this page
  • Wallet integration
  • Chain selection

Was this helpful?

  1. Building a Galactica DApp

Front End

How to build a front-end for a Galactica DApp

PreviousSybil resistant airdropNextGuided Example

Last updated 1 year ago

Was this helpful?

Wallet integration

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.

Chain selection

To interact with Galactica, the RPC endpoint defined here can be used in the wallet: DevNet: Andromeda

๐Ÿ—๏ธ
requestSnaps call
@galactica-net/snap-api
here
here