👨User Flow
sample user flow for our type to swap feature
Step 1 - User Command
The user initiates a swap by typing a simple command such as Swap 2 ETH for DAI on the platform (e.g., Telegram).
Step 2 - Command Interpretation
Type AI’s NLP engine interprets the command, extracting the essential information including the tokens to be swapped and the amounts.
Step 3 - Route Optimization
The ML component analyzes available liquidity pools and DEXs to find the best possible swap route. For example, it might find that Uniswap offers the best rate for this particular swap.
Step 4 - Rate Confirmation
Type AI then confirms the current rate, for instance, 2 ETH = 3200 USDT , and estimates the gas fees for the transaction, e.g., Estimated gas calculated $5 .
Step 5 - User Approval
A confirmation message is sent to the user for approval. Upon receiving approval, Type AI proceeds to the next step.
Step 6 - Transaction Execution
Type AI interacts with the necessary smart contracts on the blockchain to execute the swap. It manages all the transaction details, including gas fees and approvals.
Step 7 - Confirmation
Once the swap is successfully executed, a confirmation message is sent to the user, Swap executed .
Last updated