Skip to main content

Dynamic Link to In-app Browser

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

DCENT 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 parameterNetwork
ethereum-mainnetEthereum Mainnet
ethereum-ropstenEthereum Testnet Ropsten
ethereum-rinkebyEthereum Testnet Rinkeby
ethereum-goerliEthereum Testnet Goerli
ethereum-kovanEthereum Testnet Kovan
bsc-mainnetBinance Smart Chain Mainnet
bsc-testnetBinance Smart Chain Testnet
polygon-mainnetPolygon Mainnet
polygon-mumbaiPolygon Testnet Mumbai
rsk-mainnetRSK Mainnet
rsk-testnetRSK Testnet
flare-costonFlare Testnet Coston
klaytn-mainnetKlaytn Mainnet
klaytn-baobabKlaytn Testnet Baobab
tron-mainnetTron Mainnet
tron-shastaTron Testnet Shasta
heco-mainnetHECO Chain Mainnet
xdai-mainnetxDai Chain Mainnet
ftm-mainnetFantom Mainnet Opera
xdc-mainnetXinFin Network Mainnet
celo-mainnetCelo Mainnet
kcc-mainnetKCC Mainnet
avalanche-mainnetAvalanche C-Chain Mainnet
arbitrum-mainnetArbitrum Mainnet
arbitrum-testnetArbitrum Testnet Rinkeby
boba-mainnetBOBA L2 Mainnet
oec-mainnetOEC Mainnet
HARMONY-mainnetHARMONY Mainnet
HARMONY-testnetHARMONY Testnet
OrbitOrbit Chain
Orbit-testnetOrbit Chain Testnet
klaytn-evm-mainnetKlaytn(EVM) Mainnet
OasysOasys Games
OptimismOptimism Mainnet
MEVerseMEVerse
BASEBASE
BASE-GoerliBASE Goerli Testnet
ethereum-sepoliaEthereum Sepolia Testnet
kromaKroma Mainnet
kroma-sepoliaKroma Sepolia Testnet
astarAstar (EVM) Mainnet
xrpl-mainnetXRPL Mainnet
xrpl-testnetXRPL Testnet
stellar-pubnetStellar Public Network
stellar-testnetStellar Testnet

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.