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

ghassmo 4640f535a4 walletdb: clean up vor 4 Jahren
.github bb856d3dac Fix CI builds. vor 4 Jahren
example 85d9590516 simplified naming of cashier params vor 4 Jahren
old e83853718f made directory names singular vor 4 Jahren
proof 5102102d95 renamed 'asset' to 'token' across project vor 4 Jahren
script 6b690b9e2c halo2 lookup argument vor 4 Jahren
sql be67c352ef schema.sql: removed cashier table vor 4 Jahren
src 4640f535a4 walletdb: clean up vor 4 Jahren
token 548a15bfd6 token_list: add robust tests and clean up vor 4 Jahren
.gitignore 328814526f add *.sage.py files to .gitignore list vor 4 Jahren
Cargo.lock 54c4f20561 Add tests for keypairs vor 4 Jahren
Cargo.toml 54c4f20561 Add tests for keypairs vor 4 Jahren
IDEOLOGY.md 1bd2fced86 annotated 'definition of democratic civilization' to improve readability vor 5 Jahren
LICENSE.md b5b1e4ca54 Relicense code to AGPL-3. vor 4 Jahren
Makefile cdaa3cb3eb Makefile: Add install/uninstall targets. vor 4 Jahren
README.md 1aa3dfc177 Update README instructions vor 4 Jahren
king.png 7de40e7f01 removed /lisp and added king.png vor 4 Jahren
rust-toolchain fe8f82e88d Add rust-toolchain file locking the rust version to 1.51. vor 5 Jahren
rustfmt.toml 769f9132f6 commented out unstable features from rustfmt.toml vor 5 Jahren
todo.md 3c506811d7 Update todo vor 4 Jahren

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

Then add the cashier public key to darkfid.toml

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.