frost-zcash-demo/participant
dependabot[bot] 5413e06705 Bump async-trait from 0.1.78 to 0.1.80
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.78 to 0.1.80.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.78...0.1.80)

---
updated-dependencies:
- dependency-name: async-trait
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-15 11:06:59 +01:00
..
src Fix coordinator units tests (#144) 2024-03-21 10:08:18 -03:00
tests Add initial implementation of socket communications to the demo (phase 1) - Coordinator (#89) 2023-11-21 14:56:29 +00:00
Cargo.toml Bump async-trait from 0.1.78 to 0.1.80 2024-04-15 11:06:59 +01:00
README.md Update READMEs (#54) (#71) 2023-08-21 19:01:16 -03:00
tests.rs

README.md

FROST Participant Demo

Overview of demos

Status ⚠

The Participant Demo is a WIP

Usage

NOTE: This is for demo purposes only and should not be used in production.

You will need to have Rust and Cargo installed.

To run:

  1. Clone the repo. Run git clone https://github.com/ZcashFoundation/frost-zcash-demo.git
  2. Run cargo install
  3. Run cargo run --bin participant

Round 1

The participant CLI will prompt for:

  1. Your secret share or key package

The participant CLI will then use that data to generate:

  1. Signing nonces
  2. Signing commitments

Communication round

The signing commitments will be sent to the coordinator The coordinator will then send the signing package

Round 2

The participant CLI will prompt for:

  1. Signing package

The participant CLI will then use that data to generate:

  1. Signature share

Communication round

The signature share will be sent to the coordinator The coordinator will then send the Group signature

Developer information

Pre-commit checks

  1. Run cargo make all

Coverage

Test coverage checks are performed in the pipeline. This is configured here: .github/workflows/coverage.yaml To run these locally:

  1. Install coverage tool by running cargo install cargo-llvm-cov
  2. Run cargo make cov (you may be asked if you want to install llvm-tools-preview, if so type Y)