frost-zcash-demo/server
Conrado Gouvea fe7ea0a27d
server: support private key authentication (#381)
* server: support private key authentication

* use PublicKey for all instances in types.rs
2024-12-18 23:17:57 +00:00
..
migrations Add user registration (#252) 2024-08-14 18:48:59 -03:00
src server: support private key authentication (#381) 2024-12-18 23:17:57 +00:00
tests server: support private key authentication (#381) 2024-12-18 23:17:57 +00:00
Cargo.toml server: support private key authentication (#381) 2024-12-18 23:17:57 +00:00
README.md
build.rs Add user registration (#252) 2024-08-14 18:48:59 -03:00

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