This document describes use deeplink to pull up the TokenPocket app for authorization, transfer, signature, signing to send transaction, string signature, opening DApp and other operations.
This method is suitable for html5 applications running on the mobile browser.
Html5 applications cannot receive callbacks like native app. so if you want to get the operation result,, you need to provide the callback url, and then the wallet sends the result to the URL. The operation flow chart is as follows:
Note: This method is limited to pulling up the wallet in the mobile phone system browser. If your application runs in the wallet's Dapp browser, please refer to the document JS-SDK
The following operations support EVM related network, Tron network, EOS network and IOST network. Here we only take ETH as an example to introduce.The parameters of each network are different, and the detailed document of the fields can be found at: https://github.com/TP-Lab/tp-wallet-sdk
Instructions
Pull up the wallet to authorize login
<a href='tpoutside://pull.activity?param={}'>Open TokenPocket to authorize</a><br/>