@@ -14,14 +14,40 @@ $ space-cli operate @bitcoin
1414
1515Use [ subs] ( https://github.com/spacesprotocol/subs ) to issue subspaces off-chain and create commitments.
1616
17+
18+ An ** end-user** can generate a key pair like this:
19+
20+ ```
21+ $ subs request alice@bitcoin
22+ ✔ Created handle request
23+ 24+ → Private key saved: [email protected] 25+ ```
26+
27+ An ** operator** such as @bitcoin , can accept requests into their tree:
28+
29+ ```
30+ 31+ ```
32+
33+
34+ For this example, we will commit just one handle, but it's more efficient to add a large batch of handles before making a commitment.
35+
36+ ```
37+ $ subs commit
38+ ✔ Committed batch
39+ → Tree root: 79d39952ac5a8d6daedd48e59c0a58d12d10644c09f2fa3c70e9fe76e72f866a
40+ ```
41+
42+
1743### 3. Submit Commitments
1844
19- Submit a commitment for your space with a Merkle root. Each commitment is cryptographically bound to all previous commitments.
45+ After your tree is updated, commit it's root hash . Each commitment is cryptographically bound to all previous commitments you made on-chain .
2046
21- ** Example:** To submit a commitment for ` @bitcoin ` with root hash ` 85d3a410db41b317b7c0310df64cefb6504482c0b5c7e8a36c992ed0dfdb38af ` :
47+ ** Example:** To submit a commitment for ` @bitcoin ` with root hash ` 79d39952ac5a8d6daedd48e59c0a58d12d10644c09f2fa3c70e9fe76e72f866a ` :
2248
2349``` bash
24- $ space-cli commit @bitcoin 85d3a410db41b317b7c0310df64cefb6504482c0b5c7e8a36c992ed0dfdb38af
50+ $ space-cli commit @bitcoin 79d39952ac5a8d6daedd48e59c0a58d12d10644c09f2fa3c70e9fe76e72f866a
2551```
2652
2753** Retrieve commitments** for a space:
@@ -30,6 +56,7 @@ $ space-cli commit @bitcoin 85d3a410db41b317b7c0310df64cefb6504482c0b5c7e8a36c99
3056$ space-cli getcommitment @bitcoin
3157```
3258
59+
3360### Delegating Operational Control
3461
3562You can authorize another party to make commitments on your behalf:
0 commit comments