Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 894 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 894 Bytes

SpaceComputer | Threshold CLI

This crate includes a command line interface for generating keys and managing threshold committees. It is a wrapper around the threshold crate and provides a flexible and easy-to-use interface.

Usage

Build the CLI:

cargo build --release --bin cli

Generate actor config

Each actor in a threshold committee has a unique configuration file that includes the actor's secret/public keys that will be used to encrypt/decrypt the secret shares when they are distributed

./target/release/cli actor

Generate committee config

The committee config includes the public keys of all actors in the committee and is used to encrypt/decrypt the secret shares when they are distributed.

./target/release/cli committee

All

Enables to run an entire flow.

./target/release/cli all