Skip to main content

Installation Guide

Prerequisites

Before installing Inject Moongate Wallet, ensure you have the following:
  • Node.js: Version 16 or higher
  • React: Version 18 or higher
  • Solana Web3.js: Latest version
  • Solana Wallet Adapter packages: Required for integration

Installation Methods

Using npm

Using yarn

Using pnpm

Required Dependencies

Inject Moongate Wallet requires several peer dependencies. Install them alongside the adapter:

Package.json Dependencies

Your package.json should include these dependencies:

TypeScript Support

Inject Moongate Wallet includes full TypeScript support. If you’re using TypeScript, no additional type definitions are required.

TypeScript Configuration

Ensure your tsconfig.json includes the necessary compiler options:

Verification

After installation, verify that everything is working correctly:
  1. Check package installation:
  2. Verify peer dependencies:
  3. Test import:

Next Steps

Once installation is complete, proceed to:

Troubleshooting Installation

Common Issues

Peer Dependency Warnings

If you see peer dependency warnings, install the missing packages:

Version Conflicts

If you encounter version conflicts, try using exact versions:

TypeScript Errors

If you see TypeScript errors, ensure you have the latest version of the Solana packages:

🆘 Need Help?