aboutsummaryrefslogtreecommitdiffstats
path: root/docs/guides/federation
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-20 00:52:58 +0000
committertv <tv@krebsco.de>2026-11-20 02:15:02 +0100
commit637a8603775d02ef014ec84491a2bbbb5c7c4f54 (patch)
treea3bf577b0ba8a4c48eb2c7fa9f7390b886aa896f /docs/guides/federation
parent10786d2e598865cd6e763df08f692cfc0f756908 (diff)
continuum-party write -r: a string as it is
A value not JSON is taken as a string with -r, as `get -r` prints one; without it, the error says so.
Diffstat (limited to 'docs/guides/federation')
-rw-r--r--docs/guides/federation/writing-and-reading.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/guides/federation/writing-and-reading.md b/docs/guides/federation/writing-and-reading.md
index c6b27ba..a5b7ec3 100644
--- a/docs/guides/federation/writing-and-reading.md
+++ b/docs/guides/federation/writing-and-reading.md
@@ -28,7 +28,12 @@ continuum-party --node http://tv:secret@localhost:3000 --key tv.key --record tv.
The value is any JSON: integers from −2⁵³ to 2⁵³ but no fractions, strings of whole
Unicode characters, objects and arrays nested up to 32 deep with the event's own
-object, the whole event up to 256 KiB. `null` empties the place.
+object, the whole event up to 256 KiB. `null` empties the place. `-r` takes the value as
+a string, as it is, not JSON:
+
+```sh
+continuum-party write -r home/tv/motd 'hello, world'
+```
The client signs the write with its key (`--key`), on the heads its node shows, which
are what the party read; records it (`--record`), to sign it again after a move; and puts