boltz-web-app icon indicating copy to clipboard operation
boltz-web-app copied to clipboard

UX: Advanced "Make sure your swap confirms in x hours/minutes" warning

Open michael1011 opened this issue 1 year ago • 4 comments

For normal swaps, it makes sense that we show a warning that tells the user to make sure their transaction confirms in a certain time period:

  • when onchain fees spike above a certain threshold (eg 150 sat/vbyte on Bitcoin)
  • the invoice expiry is in a certain time window (eg less than 1 hour)

Always showing the warning defeats the purpose imho, because if you always see it, you are always gonna ignore it.

And the time in the warning should not be set once, but update. So that if you invoice expires in 10 minutes, the time should update to 9 minutes after a minute of having the page open

michael1011 avatar Nov 17 '23 21:11 michael1011