Comment on page

Introduction

This documentation is intended to help you integrate Leap into your Cosmos Dapps, covering both desktop and mobile use cases. We offer a range of options to provide flexibility in connecting different devices and wallets with your Dapp.
There are three primary platforms where users may access your Dapp. Alongside each platform, we've listed the Leap product(s) that can be used to connect:
  • Desktop browser : Leap browser extension or mobile app
  • Native phone browser : Leap mobile app
  • Leap's in-app browser : Leap mobile app
You can refer to our guide on optimizing the wallet connect experience for each platform here.
There are two main ways to go about integrating Leap:

Direct Integration

The most direct way to interact with Leap is via the provider that Leap injects into your web application. This provider is globally available at window.leap and its methods will always use the most up-to-date functionality. Depending on your context, you can refer to the following guides -
  1. 1.
    If your Dapp has an existing Keplr integration that you're trying to add Leap to, refer to this guide.
  2. 2.
    If you're adding connect wallet capability to your Dapp for the first time -
    1. 1.
      If the Cosmos chain you're building on is natively supported by Leap, refer to this guide.
    2. 2.
      If the Cosmos chain you're building on is not natively supported by Leap, you can still use Leap through the Suggest Chain approach. More details here
If you're building a Secret Network dapp, there are some additional steps that are listed here.

Cosmos Wallet Adapter

Another quick and easy way to integrate Leap is using third-party wallet adapters that support multiple Cosmos wallets.
We hope this information helps you integrate Leap into your Cosmos Dapp. If you have any questions or need further assistance, please don't hesitate to reach out to us at [email protected].