From 72ccd1d1f55764df35087b063ed38f688f517d6a Mon Sep 17 00:00:00 2001 From: Ben Tilford <248725+btilford@users.noreply.github.com> Date: Sun, 27 Jun 2021 22:36:57 -0600 Subject: [PATCH] Correcting paths and file/directory names (#596) --- docs/api/libp2p/daemonapi.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/libp2p/daemonapi.md b/docs/api/libp2p/daemonapi.md index ebddd31e8..ce2169df5 100644 --- a/docs/api/libp2p/daemonapi.md +++ b/docs/api/libp2p/daemonapi.md @@ -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): ```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. ```bash -./example/chat +./examples/directchat /connect QmbmHfVvouKammmQDJck4hz33WvVktNEe7pasxz2HgseRu ```