1
1
---
2
2
title : " Announcing Versioned Storage Service (VSS)"
3
3
description : " The Versioned Storage Service (VSS) provides a server-side storage solution for non-custodial mobile, web and hosted wallets."
4
- date : " 2025-03-14 "
4
+ date : " 2025-03-17 "
5
5
authors :
6
6
- Gursharan Singh
7
7
tags :
@@ -21,9 +21,9 @@ applications.
21
21
VSS is a client-server storage framework for Lightning Network (LN) and Bitcoin wallet data. VSS primarily serves two
22
22
core functionalities:
23
23
24
- * Recovery: VSS enables the restoration of states and wallet access, helping users regain their funds and control even
24
+ - Recovery: VSS enables the restoration of states and wallet access, helping users regain their funds and control even
25
25
in scenarios of device or data loss.
26
- * Multi-device Access: While this isn’t available now, future phases will allow the same wallet app across multiple
26
+ - Multi-device Access: While this isn’t available now, future phases will allow the same wallet app across multiple
27
27
devices to securely share and access the LN state, leading to consistent access to funds.
28
28
29
29
Clients can also leverage VSS for general application metadata storage including payment history, user metadata, and
@@ -80,12 +80,12 @@ is integrated in LDK Node (written in Rust) using [VSS-rust-client](https://gith
80
80
and there is also support for other languages such as Swift, Kotlin and Python
81
81
through [ UniFFI] ( https://mozilla.github.io/uniffi-rs/ ) bindings.
82
82
83
- ``` rust
83
+ ``` rust
84
84
use ldk_node :: Builder ;
85
85
86
- fn main () {
87
- let mut node_builder = Builder :: new ();
88
- ...
86
+ fn main () {
87
+ let mut node_builder = Builder :: new ();
88
+ ...
89
89
// Note: store_id can be freely set by the user and is useful for creating separate namespaces within storage.
90
90
// However, it must remain fixed for the entire life of the node as it is used for database storage.
91
91
let node = node_builder
@@ -96,10 +96,10 @@ let mut node_builder = Builder::new();
96
96
)
97
97
. unwrap ();
98
98
99
- node . start (). unwrap ();
100
- ...
99
+ node . start (). unwrap ();
100
+ ...
101
101
...
102
- }
102
+ }
103
103
```
104
104
105
105
### Using with Other Applications
0 commit comments