How to Connect Your DApp to D’CENT Mobile App
Last updated
Last updated
First off, please insert a button connecting to D’CENT Mobile App in your DApp. Please refer to the link below for detailed information about our Logo & Brand Guidelines.
Logo & Brand GuidelineWhen 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 D’CENT Mobile App.
In order for your users to connect their D’CENT 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.
You have to check if each user visits your DApp through an External Browser or the In-App Browser of the D’CENT Mobile App. Please refer to the link below to know how to detect them.
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 D’CENT Mobile App. Here’s the Dynamic Link to make it. Please refer to the link below to know how to create the Dynamic Link.
Dynamic Link to In-app BrowserNow that all of your users take Scenario 2 to visit your DApp, they are ready to connect their D’CENT wallets to your DApp. D’CENT Provider is a wrapping package for your DApp website to communicate with D’CENT wallets. Please refer to the link below to know how to start linking with D’CENT Provider.
dcent-provider