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

ghassmo 082fb64c84 add a script to run demo 5 lat temu
.github e300d13788 github: Create config dir 5 lat temu
doc 181108ca90 mostly working halo1 impl 5 lat temu
examples 082fb64c84 add a script to run demo 5 lat temu
lisp 340631df2d Code linting. 5 lat temu
proofs 83199007e1 add tutorial example, corresponds to zk-explainer document 5 lat temu
res 59436a1197 fix bugs in the process of withdrawing 5 lat temu
scripts 2f1ab4a53f halo2: fix TODO item by using quo_rem() function instead of / 5 lat temu
src 023d75c46e change the paths of mint and spend params from project dir to the .config/darkfi 5 lat temu
.gitignore fbe7cfc785 update .gitignore 5 lat temu
Cargo.lock 6b5587586c add jsonrpc-core-client and jsonrpc-derive to Cargo.toml 5 lat temu
Cargo.toml 6b5587586c add jsonrpc-core-client and jsonrpc-derive to Cargo.toml 5 lat temu
IDEOLOGY.md 1bd2fced86 annotated 'definition of democratic civilization' to improve readability 5 lat temu
LICENSE.md 642e41a412 Added GNU GPLv3 license. 5 lat temu
README.md 133cd13654 update README.md 5 lat temu
rust-toolchain fe8f82e88d Add rust-toolchain file locking the rust version to 1.51. 5 lat temu
rustfmt.toml 769f9132f6 commented out unstable features from rustfmt.toml 5 lat temu
todo.md 4a1716bd3d update todo.md 5 lat temu
zkvm.md 04ec9dc059 zkvm spec 6 lat temu

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