mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 13:54:20 +01:00
Update static_channel_backup.md
This commit is contained in:
@@ -1,11 +1,10 @@
|
|||||||
# Static Channel Backup
|
# Exporting SCB (Static Channel Backup)
|
||||||
|
|
||||||
A static channel backup is automatically saved by the Breez SDK in the background. More specifically, the static backup is updated
|
An SCB file is automatically generated by the Breez SDK in the background. More specifically, the SCB file is updated whenever a new channel is opened.
|
||||||
each time a new channel is opened.
|
|
||||||
|
|
||||||
The static channel backup can be used as a last resort to recover funds in case the Greenlight node becomes inaccessible. Recovering the funds is currently not part of the Breez SDK. In order to recover the funds, the user can initialize a new core lightning node with its [HSM secret](https://docs.corelightning.org/docs/hsm-secret) using their seed. Then trigger a channel recovery through [the recoverchannel method](https://docs.corelightning.org/reference/lightning-recoverchannel) provided by CLN.
|
The SCB file can be used as a last resort to recover funds in case the Greenlight node becomes inaccessible ("doom day" scenario). In order to recover the funds using the SBC information, users can initialize a new core lightning node with its [HSM secret](https://docs.corelightning.org/docs/hsm-secret) using their seed. Then, trigger a channel recovery through [the recoverchannel method](https://docs.corelightning.org/reference/lightning-recoverchannel) provided by CLN.
|
||||||
|
|
||||||
In order to use the recoverchannel method, the user needs to provide the static channel backup file. It can be retrieved from the SDK's working directory as follows:
|
In order to use the recoverchannel method, the user needs to provide the SCB file. It can be retrieved from the SDK's working directory as follows:
|
||||||
|
|
||||||
<custom-tabs category="lang">
|
<custom-tabs category="lang">
|
||||||
<div slot="title">Rust</div>
|
<div slot="title">Rust</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user