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

ghassmo 9dcd45b360 pass btc address as String instead of bitcoin::Address type in withdraw 5 years ago
.github e300d13788 github: Create config dir 5 years ago
doc 181108ca90 mostly working halo1 impl 5 years ago
examples 12f7781400 halo2: Finalize mint circuit 5 years ago
lisp 340631df2d Code linting. 5 years ago
proofs 83199007e1 add tutorial example, corresponds to zk-explainer document 5 years ago
res 916a679a81 Check for existing dkey_pub to matched btc 5 years ago
scripts 8062041449 minor plonk sage changes 5 years ago
src 9dcd45b360 pass btc address as String instead of bitcoin::Address type in withdraw 5 years ago
.gitignore 340631df2d Code linting. 5 years ago
Cargo.lock 542d9a7a58 Replace poll with electrum subscribe functions 5 years ago
Cargo.toml 542d9a7a58 Replace poll with electrum subscribe functions 5 years ago
IDEOLOGY.md 1bd2fced86 annotated 'definition of democratic civilization' to improve readability 5 years ago
LICENSE.md 642e41a412 Added GNU GPLv3 license. 5 years ago
README.md dbd5a7bd57 cleaned up cli print statements 5 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 5154735928 Format todo.md for valid markdown. 5 years ago
zkvm.md 04ec9dc059 zkvm spec 5 years ago

README.md

Not even an alpha product. Just a mere prototype(s).

First time running the demo:

  1. Perform the trusted setup:

    $ cargo build --release
    
  2. Set a wallet password. Note: you must set a password before using the wallet.

Open .config/darkfi/darkfid.toml and add a password to the 'Password' section.

  1. Run the gateway daemon:

    $ cargo run --bin gatewayd -- -v
    
  2. Run darkfid:

    $ cargo run --bin darkfid -- -v
    
  3. Run cashierd:

    $ cargo run --bin cashierd -- -v
    
  4. Initialize wallet and generate key pair:

    $ cargo run --bin drk -- -wk 
    

Every time running the demo:

Run gateway daemon:

$ cargo run --bin gatewayd -- -v

Run darkfid:

$ cargo run --bin darkfid -- -v

Run cashierd:

$ cargo run --bin cashierd -- -v

Show drk usage manual:

$ cargo run --bin drk -- -help

darkfid & drk configurations:

Darkfid and drk can be configured using the TOML files in the .config/darkfid directory. Make sure to recompile darkfid and drk after customizing the TOML.

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.