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

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

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.