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

Janus c97f30f4dc Add minimal envrc for flake direnv hace 4 años
.github bb856d3dac Fix CI builds. hace 4 años
example 85d9590516 simplified naming of cashier params hace 4 años
old e83853718f made directory names singular hace 4 años
proof 5102102d95 renamed 'asset' to 'token' across project hace 4 años
script 6b690b9e2c halo2 lookup argument hace 4 años
sql be67c352ef schema.sql: removed cashier table hace 4 años
src ebd81989ac cargo fmt hace 4 años
token 548a15bfd6 token_list: add robust tests and clean up hace 4 años
.envrc c97f30f4dc Add minimal envrc for flake direnv hace 4 años
.gitignore c97f30f4dc Add minimal envrc for flake direnv hace 4 años
Cargo.lock 24d46a46dc Clean up and update project dependencies. hace 4 años
Cargo.toml 24d46a46dc Clean up and update project dependencies. hace 4 años
IDEOLOGY.md 1bd2fced86 annotated 'definition of democratic civilization' to improve readability hace 5 años
LICENSE.md b5b1e4ca54 Relicense code to AGPL-3. hace 4 años
Makefile cdaa3cb3eb Makefile: Add install/uninstall targets. hace 4 años
README.md 1aa3dfc177 Update README instructions hace 4 años
king.png 7de40e7f01 removed /lisp and added king.png hace 4 años
rust-toolchain fe8f82e88d Add rust-toolchain file locking the rust version to 1.51. hace 5 años
rustfmt.toml 769f9132f6 commented out unstable features from rustfmt.toml hace 5 años
todo.md 3d20d13e00 Cargo.toml: Compile own sqlcipher for rusqlite. hace 4 años

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.