joule-extension
joule-extension copied to clipboard
Do not recreate the address each time as I would like to double check before sending funds
- I want to deposit into Joule
- The BTC address is shown
- Copy the address
- Go to my other wallet to send $20 as suggested here
- Double check the address
- 🤔
Suggested solution
This totally makes sense, but is unfortunately the default behavior of LND to generate a new one on each request. Might make sense to keep a local cache, though I worry that this might unintentionally lead to address reuse. If there are suggestions on how to improve it and account for both cases, I'm all ears.
Totally aware that address reuse is not OK and should not be encouraged.
Thinking about workarounds, caching, heuristics (keep it for 30 minutes unless incoming transaction) but I'm worried it will add work and complexity at a cost of even more confusion.
Now at least it is consistent - new address each time.