Developers can invoke the imToken application through DeepLink and open it to the specified page. No third-party libraries or other integrations required.
Users access your product from their mobile devices, invoke the imToken app at a specified link, and jump to transfers or other functions.
Users access your product in their mobile browsers and go to a DApp within imToken via a specified link to help them perform more asset-related actions.
You need to prompt the user to check the market price and direct the user to open imToken via a link to see the aggregated market price.
Your application does not have a collection function, so you need to guide the user to open the imToken app to start a quick payment.
Before you start, make sure you have a web page or mobile app that can be accessed by mobile devices.
imToken's DeepLink consists of a fixed prefix and path, you just need to specify the pathname accordingly:
imtokenv2://navigate/AssetsTab// prefix: imtokenv2://navigate/// path: AssetsTab
In the case of a Web application, placing this link in the
a will trigger the jump correctly.
<a href="imtokenv2://navigate/AssetsTab">Go to imToken App</a>
Some pages support additional query parameters, so you can specify the landing page by adding a query. Opening the specified DApp is the most common example:
If your DApp link contains characters that need to be parsed, serialize the query parameter:
// imtokenv2://navigate/DappView?url=https://domain/path//\\-name// should be:imtokenv2://navigate/DappView?url=https%3A%2F%2Fdomain%2Fpath%2F%2F%5C-name
The imToken application supports connecting to standard Wallet Connect URI, and common Wallet Connect URIs are shown below:
# Wallet Connect URIwc:[email protected]?bridge=https%3A%2F%2Fbridge.walletconnect.org&key=91303dedf64285cbbaf9120f6e9d160a5c8aa3deb67017a3874cd272323f48ae
For information on how to customize the Schema, please refer to the Protocol Standards documentation. If you want to invoke the imToken App and trigger this link, you need to add the fixed prefix
Testing and verifying that DeepLink triggers properly will be very helpful to you, and we provide an online tool to help you. Please open the verification tool with your mobile device to verify the triggering effect of DeepLink.
The following are the current routing paths that can be safely used, note the prefix added when using.
About -- About us page
ProfileTab -- Personal information page
DiscoveryTab -- Discovery
MarketTab -- Market
MarketTab?tabIndex=<number> -- Go to the market and jump to the specified tab
AssetsTab -- Home, assets display page
DappView?url=<URL> -- Open the DApp at the specified URL。
Tokenlon?makerSymbol=<symbol>&takerSymbol=<symbol> -- Open Tokenlon and specify the exchange pair