⚛️
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
  • Usage
  • Props
  1. Embedded Wallet SDK

Embedded Wallet Provider

For embedded wallet to work, use need to use the Embedded wallet provider.

Embedded wallet provider takes care of wallet connections, chains enabled to view balances - all within embedded wallet.

Usage

import { EmbeddedWalletProvider } from '@leapwallet/embedded-wallet-sdk-react'

Web3 Wallet Connect Support

If your dApp supports web3 wallet connect, you must pass in the walletConnectOptions prop.

Capsule Support

If your dApp supports social login via capsule, you must pass in the capsuleConfig prop.

Props

* Denotes required props

Prop
Type
Description

primaryChainId

string

The primary chain your dApp's user will connect to.

connectWallet*

() => void

Method to trigger your dApps' connect wallet flow.

disconnectWallet*

() => void

Method to trigger your dApps' disconnect wallet flow.

connectedWalletType*

WalletType

Wallet which is intended to be connected on the dApp.

walletConnectOptions

Wallet Connect (WC) options.

capsuleConfig

Social Login options.

chains

string[]

.List of chain IDs for which you want to show balances

PreviousEmbedded Wallet SDK ReactNextMigration

Last updated 9 months ago

SignClientTypes.Options
CapsuleConfig