bancorprotocol / webapp-v2

https://beta.bancor.network
MIT License
1 stars 2 forks source link

trade flow update - trigger transaction after wallet connect #515

Open ashachaf opened 2 years ago

ashachaf commented 2 years ago

flow:

  1. user set up from/to tokens and amount
  2. CTA shows "connect wallet"
  3. user connects wallet currently:
  4. bring user back to trade widget
  5. user needs to click on the "trade" cta again to execute the trade updated flow:
  6. once wallet is connected,
  7. IF from token balance >from input amount, trigger conversion flow as if the user clicked "trade"
  8. ELSE show the trade widget as today