Correcting paths and file/directory names (#596)

This commit is contained in:
Ben Tilford 2021-06-27 22:36:57 -06:00 committed by GitHub
parent 4be0cdcdb4
commit 72ccd1d1f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -38,13 +38,13 @@ Examples can be found in the [examples folder](https://github.com/status-im/nim-
Try out the chat example. Full code can be found [here](https://github.com/status-im/nim-libp2p/blob/master/examples/chat.nim): Try out the chat example. Full code can be found [here](https://github.com/status-im/nim-libp2p/blob/master/examples/chat.nim):
```bash ```bash
nim c -r --threads:on examples\chat.nim nim c -r --threads:on examples/directchat.nim
``` ```
This will output a peer ID such as `QmbmHfVvouKammmQDJck4hz33WvVktNEe7pasxz2HgseRu` which you can use in another instance to connect to it. This will output a peer ID such as `QmbmHfVvouKammmQDJck4hz33WvVktNEe7pasxz2HgseRu` which you can use in another instance to connect to it.
```bash ```bash
./example/chat ./examples/directchat
/connect QmbmHfVvouKammmQDJck4hz33WvVktNEe7pasxz2HgseRu /connect QmbmHfVvouKammmQDJck4hz33WvVktNEe7pasxz2HgseRu
``` ```