Dynamic Link to In-app Browser

How to create Dynamic Link to open dapp on the in-app browser

D'CENT mobile app has Dynamic Link feature. You can make it easy for users to connect to the D'CENT mobile app's in-app browser by using Dynamic Link.

D'CENT wallet's Dynamic Link consists of a base URL and parameters. There are url of the dapp and network as parameters.

url parameter is encoded URI component and network parameter indicates which network the dapp is based on.

You can see the code below how to create Dynamic Link.

const linkUrl = encodeURIComponent("url-of-the-dapp")
const network = 'ethereum-mainnet'
const deepLink = "https://link.dcentwallet.com/DAppBrowser/?url=" + linkUrl + "&network=" + network

network list

network parameter

Network

ethereum-mainnet

Ethereum Mainnet

ethereum-ropsten

Ethereum Tesnet Ropsten

ethereum-rinkeby

Ethereum Testnet Rinkeby

ethereum-goerli

Ethereum Testnet Goerli

ethereum-kovan

Ethereum Testnet Kovan

bsc-mainnet

Binance Smart Chain Mainnet

bsc-testnet

Binance Smart Chain Testnet

polygon-mainnet

Polygon Mainnet

polygon-mumbai

Polygon Testnet Mumbai

rsk-mainnet

RSK Mainnet

rsk-testnet

RSK Testnet

flare-coston

Flare Testnet Coston

klaytn-mainnet

Klaytn Mainnet

klaytn-baobab

Klaytn Testnet Baobab

tron-mainnet

Tron Mainnet

tron-shasta

Tron Testnet Shasta

heco-mainnet

HECO Chain Mainnet

xdai-mainnet

xDai Chain Mainnet

ftm-mainnet

Fantom Mainnet Opera

xdc-mainnet

XinFin Network Mainnet

celo-mainnet

Celo Mainnet

kcc-mainnet

KCC Mainnet

avalanche-mainnet

Avalanche C-Chain Mainnet

arbitrum-mainnet

Arbitrum Mainnet

arbitrum-testnet

Arbitrum Testnet Rinkeby

boba-mainnet

BOBA L2 Mainnet

oec-mainnet

OEC Mainnet

HARMONY-mainnet

HARMONY Mainner

HARMONY-mainnet

HARMONY Testnet

Orbit

Orbit Chain

Orbit-testnet

Orbit Chain

klaytn-evm-mainnet

Klaytn(EVM) Mainnet

Oasys

Oasys Games

Optimism

Optimism Mainnet

MEVerse

MEVerse

BASE

BASE

BASE-Goerli

BASE Goerli Testnet

ethereum-sepolia

Ethereum Sepolia Testnet

kroma

Kroma Mainnet

kroma-sepolia

Kroma Sepolia Testnet

astar

Astar (EVM) Mainnet

Testnet Enabling

If the network parameter is set as testnet, it will only work if the "enabled testnet" setting is turned on.

Here are example Dynamic Links for your reference. Just click the link in the mobile environment to understand how it works.

Last updated