2021-10-12 13:56:36 +02:00
2021-09-23 22:52:28 +02:00
2021-09-13 09:38:21 +02:00
2021-09-24 20:26:12 +02:00
2021-10-12 13:56:36 +02:00
2021-10-07 15:56:12 +02:00
2021-09-13 09:13:39 +02:00
2021-09-21 16:15:20 +02:00
2021-10-12 11:20:49 +02:00

DarkFi

Build Status

Building

$ make

Configuration

The daemons can be configured using TOML files. Find examples in this repo: example/config and copy them over to ~/.config/darkfi. The defaults should be safe to use for demo purposes.

The cashier daemon must have enough testnet coins to cover fees. Testnet SOL can be acquired by calling solana airdrop on devnet. Testnet BTC can be acquired from a faucet.

The darkfid daemon must be manually configured with the cashier public key. To get the cashier public key, run:

$ ./target/release/cashierd -a

To update darkfid, run:

$ ./target/release/darkfid cashier --set [PUBLIC KEY]

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
  1. Run cashierd:
$ ./target/release/cashierd -v
  1. Run darkfid:
$ ./target/release/darkfid -v

Now using the command line interface to the darkfid daemon, we can make use of the system:

$ ./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.

Description
No description provided
Readme 188 MiB
Languages
Rust 79.9%
Jupyter Notebook 7.5%
Python 7.2%
Sage 3.3%
Java 0.5%
Other 1.5%