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.

Dynamic Link Format

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.
1
const linkUrl = encodeURIComponent("url-of-the-dapp")
2
const network = 'ethereum-mainnet'
3
const deepLink = "https://link.dcentwallet.com/DAppBrowser/?url=" + linkUrl + "&network=" + network
Copied!

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

Testnet Enabling

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

Example Dynamic Link

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