Moongate Adapter Documentation
Overview
The Moongate Adapter is a Solana wallet adapter that provides seamless authentication and wallet functionality through various social login methods. It integrates with the Solana Wallet Standard and supports multiple authentication providers including Google, Apple, Twitter, and Ethereum.Installation
Prerequisites
- Node.js 16+
- React 18+
- Solana Web3.js
- Solana Wallet Adapter packages
Install Dependencies
Package Dependencies
The adapter requires the following peer dependencies:Wallet Registration
Basic Registration
Configuration Options
Parameter | Type | Default | Description |
---|---|---|---|
authMode | string | 'Google' | Authentication provider (‘Google’, ‘Apple’, ‘Ethereum’, ‘Twitter’) |
logoDataUri | string | 'Default' | Custom logo data URI for the wallet |
position | string | 'top-right' | Modal position (‘top-right’, ‘top-left’, ‘bottom-right’, ‘bottom-left’) |
buttonLogoUri | string | 'https://i.ibb.co/NjxF2zw/Image-3.png' | Button logo URI |
environment | string | 'production' | Environment (‘production’, ‘staging’, ‘development’) |
displayState | string | undefined | Display state (‘fullscreen’, ‘minimized’, ‘hidden’) |
Example Configuration
🆘 Need Help?
- 📧 Email: amen@moongate.one or praneet@moongate.one
- 💬 Telegram: @and_its_praneet
- 🐛 Issues: Message us on web.moongate.one