Thanks to visit codestin.com
Credit goes to github.com

Skip to content

nucypher/ferveo

 
 

Repository files navigation

Ferveo

ci-badge

This project is under active development. For questions, please join us at TACo Discord


A synchronous Distributed Key Generation protocol for front-running protection on public blockchains.

About

The distributed key generated by Ferveo can be input into a compatible threshold encryption/decryption or a threshold signature protocol. Ferveo distributes the shared private key by relative staking weight and relies on an underlying blockchain for synchonicity.

Security Warning

This library is under development and has not been reviewed, audited, or prepared for use.

Documentation

Documentation can be found here. It is recommended to use mdbook to render the docs. Run mdbook serve in the book folder.

A preprint paper describing the construction of Ferveo and the novel cryptosystems used is available at IACR.

Build

A Rust toolchain with version >= 1.87.0 is required. In the future, Ferveo will target the stable toolchain. Installation via rustup is recommended.

Run cargo build --no-default-features --release to build. Please note that performance may be significantly poorer when compiling in Debug mode.

Formatting

Be sure to run cargo fmt --all locally before committing your changes. This will ensure that the code is formatted according to the project's style guidelines.

Testing

Run cargo test --no-default-features --release to run tests. Please note that performance may be significantly poorer when testing in Debug mode.

Benchmarks

Run cargo bench --benches --no-default-features to run benchmarks. Benchmark report is available in the target/criterion/report folder.

NOTE: Benchmarks are optional (the benchmark CI job is disabled) and take quite some time (~10 mins)

About

An implementation of a DKG protocol forked from Anoma

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 90.4%
  • Python 7.2%
  • TypeScript 1.4%
  • Other 1.0%