getting-started.md 454 B

Getting started

We'll create a new cargo directory and add DarkFi to our Cargo.toml, like so:

{{#include ../../../../../example/dchat/Cargo.toml::8}}

Be sure to replace the path to DarkFi with the correct path for your setup.

Once that's done we can access DarkFi's net methods inside of dchat. We'll need a few more external libraries too, so add these dependencies:

{{#include ../../../../../example/dchat/Cargo.toml:10:27}}