Skip to content

Commit

Permalink
Merge pull request maidsafe#2192 from xiaobei0715/xiaobei-patch-241004
Browse files Browse the repository at this point in the history
docs: fix several typos in the document
  • Loading branch information
maqi authored Oct 11, 2024
2 parents 7e155bc + 4e8b07c commit 00b1fd3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```
Expand All @@ -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.
Expand All @@ -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
Expand All @@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -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
```

Expand Down

0 comments on commit 00b1fd3

Please sign in to comment.