Skip to main content

How to Connect Your DApp to DCENT Mobile App

DCENT Logo & Brand Guidelines

First off, please insert a button connecting to DCENT Mobile App in your DApp. Please refer to the link below for detailed information about our Logo & Brand Guidelines.

Your Users should visit your DApp from the In-App Browser of the DCENT App.

When your users visit your DApp, there are two possible scenarios.

  • Scenario 1) They visit your DApp through an External Browser.
  • Scenario 2) They visit your DApp through the In-App Browser of the DCENT Mobile App.

In order for your users to connect their DCENT wallets to your DApp, they should take Scenario 2. No worries. Even for Scenario 1, you can leverage the following steps that can lead them to Scenario 2.

How to Check the Browser Type of Your Users

You have to check if each user visits your DApp through an External Browser or the In-App Browser of the DCENT Mobile App. Please refer to the link below to know how to detect them.

/in-app-browser/evm-compatible-networks#how-to-detect-in-app-browser

In case your user takes Scenario 1 to visit your DApp, you should redirect them to re-visit your DApp through the In-App Browser of the DCENT Mobile App. Here’s the Dynamic Link to make it. Please refer to the link below to know how to create the Dynamic Link.

DCENT Provider

Now that all of your users take Scenario 2 to visit your DApp, they are ready to connect their DCENT wallets to your DApp. DCENT Provider is a wrapping package for your DApp website to communicate with DCENT wallets. Please refer to the link below to know how to start linking with DCENT Provider.