From 4e8b07c4efb27e7878608fb4e6830133aa5431c8 Mon Sep 17 00:00:00 2001 From: XiaoBei <1505929057@qq.com> Date: Fri, 4 Oct 2024 16:45:06 +0800 Subject: [PATCH] docs: update README.md --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index ee5f1573bd..60f5cd84b3 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,7 @@ cargo run --example registers --features=local -- --user alice --reg-nickname my ``` Alice can now write a message to the register and see anything written by anyone else. For example -she might enter the text "hello, who's there?" which is written to the register and then shown as +she might enter the text "Hello, who's there?" which is written to the register and then shown as the "Latest value", in her terminal: ``` @@ -195,15 +195,15 @@ Latest value (more than one if concurrent writes were made): -------------- Enter a blank line to receive updates, or some text to be written. -hello, who's there? -Writing msg (offline) to Register: 'hello, who's there?' +Hello, who's there? +Writing msg (offline) to Register: 'Hello, who's there?' Syncing with SAFE in 2s... synced! Current total number of items in Register: 1 Latest value (more than one if concurrent writes were made): -------------- -[alice]: hello, who's there? +[Alice]: Hello, who's there? -------------- Enter a blank line to receive updates, or some text to be written. @@ -212,7 +212,7 @@ Enter a blank line to receive updates, or some text to be written. For anyone else to write to the same register they need to know its xor address, so to communicate with her friend Bob, Alice needs to find a way to send it to Bob. In her terminal, this is the -value starting "50f4..." in the output above. This value it will be different each time you run the +value starting "50f4..." in the output above. This value will be different each time you run the example to create a register. Having received the xor address, in another terminal Bob can access the same register to see the @@ -232,7 +232,7 @@ Here's Bob writing from his terminal: ``` Latest value (more than one if concurrent writes were made): -------------- -[alice]: hello, who's there? +[Alice]: Hello, who's there? -------------- Enter a blank line to receive updates, or some text to be written. @@ -367,7 +367,7 @@ Listening to royalty payment events: ``` $ cargo run --bin safenode_rpc_client -- 127.0.0.1:34416 transfers -Listening to transfers notifications... (press Ctrl+C to exit) +Listening to transfer notifications... (press Ctrl+C to exit) New transfer notification received for PublicKey(0c54..5952), containing 1 cash note/s. CashNote received with UniquePubkey(PublicKey(19ee..1580)), value: 0.000000001 @@ -380,7 +380,7 @@ The `transfers` command can provide a path for royalty payment cash notes: ``` $ cargo run --release --bin=safenode_rpc_client -- 127.0.0.1:34416 transfers ./royalties-cash-notes -Listening to transfers notifications... (press Ctrl+C to exit) +Listening to transfer notifications... (press Ctrl+C to exit) Writing cash notes to: ./royalties-cash-notes ```