parazyd c0acef85bd Update project dependencies. 4 năm trước cách đây
..
src 21db1ded17 book/ dchat: split up into sections + finish documenting UI 4 năm trước cách đây
Cargo.toml c0acef85bd Update project dependencies. 4 năm trước cách đây
README.md c9f6121d11 dchat: added README 4 năm trước cách đây
dchat_config.toml e03c8e54ec dchat: created seperate seed and simplified codebase 4 năm trước cách đây

README.md

Dchat

A demo chat program to document DarkFi net code. Tutorial can be found in the DarkFi book.

Usage

Spin up a seed node:

cd example/dchat-seed
cargo run

Run dchat as an inbound node:

cargo run a

Run dchat as an outbound node:

cargo run b

Logging

Dchat creates a logging file for the inbound node at /tmp/alice.log. Logging for the outbound node is found at /tmp/bob.log.

Tail them like so:

tail -f /tmp/alice.log

Or use multitail for colored output:

multitail -c /tmp/alice.log