⚛️
Leap Cosmos
  • Introduction
  • for dapps: Connect to Leap
    • Introduction
    • Optimizing Wallet Connectivity for Cosmos Dapps
    • Add Leap to existing Keplr integration
    • Add Leap to a new dapp
    • Suggest chain : Add Leap to a non-native chain
    • Add Leap to a Secret dapp
    • Wallet Connect
    • Wallet Adapters
      • Cosmos Kit
      • Shuttle
    • API Reference
  • for chains: integrate into Leap
    • Introduction
  • for SEI dapps: Connect to Compass
    • Connect to Compass
  • FOR SEI EVM DAPPS: CONNECT TO COMPASS
    • Connect to Compass
    • Supported RPC methods
  • Leap Metamask Snap
    • Introduction
    • Integrating Snaps
      • Metamask Cosmos Snap
      • Cosmos Snap Provider
      • Cosmos Kit
  • Embedded Wallet SDK
    • Embedded Wallet SDK React
    • Embedded Wallet Provider
    • Migration
    • Usage without UI
  • Elements
    • Introduction
    • Get Started
    • Integrate via CDN / Script Tag
    • Integrate as an Embed
    • Components
      • Aggregated Swaps
      • IBC Only Swaps
      • Fiat On-ramp
      • IBC Transfer
      • Multi View
    • Theming
      • Using CSS Variables
      • Advanced Customisations
    • Use Elements Without the UI
    • Tab Config
    • Using Skip API Key
  • Cosmos Nodes
    • Fallback Falooda : Node Fallback System
    • (Coming Soon) Blockchain Node Setup Guide
    • (Coming Soon) Monitoring Blockchain Node Performance
  • RESOURCES
    • Leap Assets
Powered by GitBook
On this page
  • Integrate using Wallet Adpapter
  • Integrate Directly
  1. Leap Metamask Snap

Integrating Snaps

PreviousIntroductionNextMetamask Cosmos Snap

Last updated 1 year ago

There are several ways to integrate Leap's Metamask Snaps into your dApp:

Integrate using Wallet Adpapter

If your dApp already uses a wallet adapter to integrate with Cosmos wallets like Leap or Keplr, you can extend this existing integration to include Metamask. This is the simplest approach, as it offers a consistent interface for accessing all wallet methods and requires minimal changes on your end.

  • Integrate using

  • Integrate using

  • Integrate using Shuttle - Coming Soon

Integrate Directly

If your dApp has its own native wallet management system, there are two routes for direct integration:

  • If you are an existing Cosmos developer comfortable with using CosmJS and the Stargate signing client, we have developed a wallet provider to facilitate seamless integration. Details are available .

  • If you prefer using Metamask's native provider (window.ethereum) to access relevant Cosmos methods, please follow the steps .

Cosmos Kit
Graz
here
here