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

ghassmo 491762dfa8 create walletdb field for state and avoid using walletdb in other places преди 5 години
.github e300d13788 github: Create config dir преди 5 години
doc 181108ca90 mostly working halo1 impl преди 5 години
examples 082fb64c84 add a script to run demo преди 5 години
lisp 340631df2d Code linting. преди 5 години
proofs 83199007e1 add tutorial example, corresponds to zk-explainer document преди 5 години
res 59436a1197 fix bugs in the process of withdrawing преди 5 години
scripts 2f1ab4a53f halo2: fix TODO item by using quo_rem() function instead of / преди 5 години
src 491762dfa8 create walletdb field for state and avoid using walletdb in other places преди 5 години
.gitignore fbe7cfc785 update .gitignore преди 5 години
Cargo.lock 6b5587586c add jsonrpc-core-client and jsonrpc-derive to Cargo.toml преди 5 години
Cargo.toml 6b5587586c add jsonrpc-core-client and jsonrpc-derive to Cargo.toml преди 5 години
IDEOLOGY.md 1bd2fced86 annotated 'definition of democratic civilization' to improve readability преди 5 години
LICENSE.md 642e41a412 Added GNU GPLv3 license. преди 5 години
README.md 133cd13654 update README.md преди 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 4a1716bd3d update todo.md преди 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. 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.