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

parazyd c25ad3bad3 TODO: Add note on Cargo features. 5 年 前
.github e300d13788 github: Create config dir 5 年 前
doc fe27ccd122 lagrange basis doc 5 年 前
examples 082fb64c84 add a script to run demo 5 年 前
lisp 4c7493acf8 downgrade clap crate to 2.33.3 version 5 年 前
proofs 83199007e1 add tutorial example, corresponds to zk-explainer document 5 年 前
res 4f0ab6e569 remove keys related functions in cashierdb and remove keys table from cashierdb's schema. cashier no longer handle private and public keys 5 年 前
scripts 5b2da654b9 rename confusing h(X) to c(X) 5 年 前
src 1269c594f8 Client: add clear_inputs option when build tx 5 年 前
.gitignore fbe7cfc785 update .gitignore 5 年 前
Cargo.lock 4c7493acf8 downgrade clap crate to 2.33.3 version 5 年 前
Cargo.toml 4c7493acf8 downgrade clap crate to 2.33.3 version 5 年 前
IDEOLOGY.md 1bd2fced86 annotated 'definition of democratic civilization' to improve readability 5 年 前
LICENSE.md 642e41a412 Added GNU GPLv3 license. 5 年 前
README.md 94c029d09f added other password instruction to readme 5 年 前
rust-toolchain fe8f82e88d Add rust-toolchain file locking the rust version to 1.51. 5 年 前
rustfmt.toml 769f9132f6 commented out unstable features from rustfmt.toml 5 年 前
todo.md c25ad3bad3 TODO: Add note on Cargo features. 5 年 前
zkvm.md 04ec9dc059 zkvm spec 6 年 前

README.md

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

First time running the demo:

  1. Compile the project:

    $ 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. Set a cashier password and a cashier client password.

Open .config/darkfi/cashierd.toml. Add a password to the 'Password' section, and a another password to the 'Client Password' section.

  1. Run the gateway daemon:

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

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

    $ cargo run --bin darkfid -- -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 cashierd:

$ cargo run --bin cashierd -- -v

Run darkfid:

$ cargo run --bin darkfid -- -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.