Files
darkfi/README.md
2021-09-23 22:52:28 +02:00

68 lines
1.2 KiB
Markdown

# DarkFi
![Build Status](https://github.com/darkrenaissance/darkfi/actions/workflows/rust-build.yml/badge.svg)
## Building
```
$ make
```
## Configuration
The daemons can be configured using TOML files. Find examples in
this repo: [example/config](example/config) and copy them over to
`~/.config/darkfi`. The defaults should be safe to use for demo
purpose.
## Usage
For demo purposes we have to run three daemons. It is best practice to
run them in three different terminals, and use the fourth to interact
with them using the provided `drk` command line tool.
1. Run `gatewayd`:
```
$ ./target/release/gatewayd -v
```
2. Run `cashierd`:
```
$ ./target/release/cashierd -v
```
3. Run `darkfid`:
```
$ ./target/release/darkfid -v
```
Now using the command line interface to the `darkfid` daemon, we can
make use of the system:
1. Initialize the wallet and generate a keypair:
```
$ ./target/release/drk -v wallet --create
$ ./target/release/drk -v wallet --keygen
```
2. Play.
```
$ ./target/release/drk help
```
## Go Dark
Let's liberate people from the claws of big tech and create the
democratic paradigm of technology.
Self-defense is integral to any organism's survival and growth.
Power to the minuteman.