penumbra-zone / web

Apache License 2.0
15 stars 16 forks source link

Minifront swap page should automatically estimate prices and routes #1919

Closed hdevalence closed 1 week ago

hdevalence commented 1 week ago

Describe the bug

The swap page in Minifront steers users to blindly swap regardless of price.

Instead, once the user finishes typing an input into the box, the UI should automatically run the estimation. Network privacy is less important than users accidentally trading on a totally illiquid pair.

Expected behavior

The estimate button can still be there but it should be auto triggered on input