Open rolznz opened 3 months ago
Maybe this can be a different backup/recover app? (to keep this one small and simple)
From @reneaaron
Let's say we add this option in the advanced setup and a user would upload their SCB. The node would ask peers to FC channels and then initialize with the same seed (so in max. 2 weeks you should see the balances of closed channels turning up in you savings balance?)
I like this flow because for the user it is more convenient, and we also do not need to build and package another app to do this
Backend part was done in https://github.com/getAlby/hub/pull/693 - but there is no UI yet.
We possibly can move this code to a separate tool to reduce complexity of maintaining this in Alby Hub.
We currently save encrypted SCBs to the user's Alby Account. There should be a way in the hub for the user to enter a seed at the onboarding, connect their Alby account and choose to request all channels to be force closed by the counterparty.
This requires changes in LDK-node.
For now, this flow can be done by manually requesting the counterparty to close the channel.