Tokenlon is a collection of currency exchange functions in imToken 2.0. It is based on smart contract and using 0x DEX protocol, to achieve rapid exchange of tokens, making assets transaction more convenient.
Open the imToken 2.0 APP and click on the 'Market' button on the bottom tab to access the market page. Slide the top tab to the left and find the Tokenlon.
A list of trading pairs will appear on the page. Here take SNT/WETH as an example. Click to enter the trading pair page. Click the Trading button in the bottom tab to enter the trading page.
Open Authorization
Before trading, you must authorize trading tokens. Click on the 'lock' icon in the upper right corner to authorize the tokens you want to trade. Turning on the WETH authorization switch to call contract that will initiate a 0 ETH payment, click Next, and enter the password. After waiting for the payment to be successful, the 'lock' icon will turn on, that is, the authorization is successful.
Maker function
You can choose to place an order or fill it in the 'Market Depth' directly. Here take SNT as an example. Check the 'Buy' option, input the number of tokens you want to exchange, and set the desired purchase price. Click 'Buy Order'. After click 'Next', enter the password, and the placement order is successful.
How to cancel an place order
If you want to cancel the place order, you can click on the place order in 'My Order', click 'Cancel', enter the wallet password to cancel.
Taker function
You can fill orders in the 'Market Depth' directly. Click the place order on the selling side, adjust the quantity or input the purchase quantity directly, click 'Market Buy', confirm the information and enter the next step, enter the password to complete the purchase operation. After the transaction is successful, the order can be viewed in the 'Transaction Details'.