Anonymous. Uncensored. Sovereign. https://dark.fi

ghassmo 17ac6cefdb fix "~/.config" path expansion 4 years ago
.github 7548c3083d github: change CI workflow to build the project with all features 4 years ago
example a8499cfee1 change gatewayd example config file 4 years ago
old e83853718f made directory names singular 4 years ago
proof e83853718f made directory names singular 4 years ago
script e3394c2dc5 bulletproof polynomial commitment open verification: show use_g() batched version of scheme 4 years ago
sql 1dc0682603 change the word coin to token in cashier 4 years ago
src 17ac6cefdb fix "~/.config" path expansion 4 years ago
token fb7aa45400 added /token directory 4 years ago
.gitignore 328814526f add *.sage.py files to .gitignore list 4 years ago
Cargo.lock 967b0e0f31 rpc/jsonrpc: Support TLS in send_request. 4 years ago
Cargo.toml 967b0e0f31 rpc/jsonrpc: Support TLS in send_request. 4 years ago
IDEOLOGY.md 1bd2fced86 annotated 'definition of democratic civilization' to improve readability 5 years ago
LICENSE.md b5b1e4ca54 Relicense code to AGPL-3. 4 years ago
Makefile 30a8de027d Add Makefile. 4 years ago
README.md 069ab73c5f Update README and darkfid.toml example. 4 years ago
king.png 7de40e7f01 removed /lisp and added king.png 4 years ago
rust-toolchain fe8f82e88d Add rust-toolchain file locking the rust version to 1.51. 5 years ago
rustfmt.toml 769f9132f6 commented out unstable features from rustfmt.toml 5 years ago
todo.md 5e0437be8f TODO: Note that fs path expansion is borked. 4 years ago

README.md

DarkFi

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