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

lunar-mining be67c352ef schema.sql: removed cashier table %!s(int64=4) %!d(string=hai) anos
.github bb856d3dac Fix CI builds. %!s(int64=4) %!d(string=hai) anos
example e5da4c6d8e example/ config: added cashier vec to darkfid.toml %!s(int64=4) %!d(string=hai) anos
old e83853718f made directory names singular %!s(int64=4) %!d(string=hai) anos
proof 5102102d95 renamed 'asset' to 'token' across project %!s(int64=4) %!d(string=hai) anos
script 6b690b9e2c halo2 lookup argument %!s(int64=4) %!d(string=hai) anos
sql be67c352ef schema.sql: removed cashier table %!s(int64=4) %!d(string=hai) anos
src c8fb0f35e4 darkfid: updated rpc url to read from cashier vec %!s(int64=4) %!d(string=hai) anos
token 548a15bfd6 token_list: add robust tests and clean up %!s(int64=4) %!d(string=hai) anos
.gitignore 328814526f add *.sage.py files to .gitignore list %!s(int64=4) %!d(string=hai) anos
Cargo.lock 1c1816e725 drk: get_balances() and prettytable %!s(int64=4) %!d(string=hai) anos
Cargo.toml 4fb500ac93 Remove debug info from release binaries. %!s(int64=4) %!d(string=hai) anos
IDEOLOGY.md 1bd2fced86 annotated 'definition of democratic civilization' to improve readability %!s(int64=5) %!d(string=hai) anos
LICENSE.md b5b1e4ca54 Relicense code to AGPL-3. %!s(int64=4) %!d(string=hai) anos
Makefile cdaa3cb3eb Makefile: Add install/uninstall targets. %!s(int64=4) %!d(string=hai) anos
README.md 34a839d936 added darkfid cashier config instructions to readme %!s(int64=4) %!d(string=hai) anos
king.png 7de40e7f01 removed /lisp and added king.png %!s(int64=4) %!d(string=hai) anos
rust-toolchain fe8f82e88d Add rust-toolchain file locking the rust version to 1.51. %!s(int64=5) %!d(string=hai) anos
rustfmt.toml 769f9132f6 commented out unstable features from rustfmt.toml %!s(int64=5) %!d(string=hai) anos
todo.md f53a5238fa todo: removed completed item %!s(int64=4) %!d(string=hai) anos

README.md

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

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