lightning-terminal icon indicating copy to clipboard operation
lightning-terminal copied to clipboard

Ability to type exact amount to loop in/out

Open mrfelton opened this issue 3 years ago • 2 comments

We can currently use the slider to select the amount to loop in. It would be nice if we could type in an exact amount since it's hard (sometimes impossible) to move the slider to the position that corresponds with the amount I want to loop in.

Suggest making the number below the slider an input that the user can type into in order to set exact amount and move the slider to corresponding position.

mrfelton avatar Nov 15 '20 15:11 mrfelton

This would be useful, yes. But just to clarify: the selected loop amount is before the sweep transaction. There will be chain fees that are deducted before the amount lands in your wallet. If you are looking for paying an external address with an exact amount, we need to wait on https://github.com/lightninglabs/loop/pull/313 to get merged first.

guggero avatar Nov 16 '20 10:11 guggero

Hey @mrfelton, thanks for the feedback. I agree that it can sometimes be a challenge to choose the exact amount using the slider when the range from min to max is high. I like the idea of changing the label below the slider to an input that can be modified.

jamaljsr avatar Nov 16 '20 13:11 jamaljsr