frost-zcash-demo/server
natalie 06c0c2453d
Implement phase 2 for Participant (#123) (#197)
* Add http option for Participant (#123)

* Fix redpallas tests for participant phase 2 (#123)

* Update participant/src/comms/http.rs

* Remove unnecessary session id for participant round 2 (#123)

* Fix clippy error (#123)

---------

Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
2024-05-17 09:30:38 -03:00
..
src Implement phase 2 for Participant (#123) (#197) 2024-05-17 09:30:38 -03:00
tests Implement phase 2 for Participant (#123) (#197) 2024-05-17 09:30:38 -03:00
Cargo.toml Bump axum-test from 14.8.0 to 14.9.0 (#204) 2024-04-29 13:26:07 -03:00
README.md

README.md

FROST Server

This is a HTTP server that allow clients (Coordinator and Participants) to run FROST without needing to directly connect to one another.

Status ⚠

This is a prototype which is NOT SECURE since messages are not encrypted nor authenticated. DO NOT USE this for anything other than testing.

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 server

You can specify the IP and port to bind to using --ip and --port, e.g. cargo run --bin server -- --ip 127.0.0.1 --port 2744.

TODO

  • Add specific error codes
  • Remove frost-specific types (when data is encrypted)
  • Session timeouts
  • Encryption/authentication
  • DoS protections and other production-ready requirements