Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
demo demo gif Jun 3, 2019
examples Run cargo fmt Jun 24, 2019
relay-server-common
src
.gitignore
Cargo.toml
README.md
keygen.sh Use rust 2018 Jun 19, 2019
protocols.json
relay-server.iml
sign.sh Use rust 2018 Jun 19, 2019

README.md

To Run 2p-EdDSA

  1. Run the server : cargo run --package relay-server --bin server

  2. Run keygen: cargo run --example eddsa_key_gen_client 127.0.0.1:8080 keys1 where keys1 is the party output keys you should take apk for the public key to generate to address from. pay attention to use keys2 when you run the second instance (you can choose different names instead of keys1 and keys2 )

  3. Run signing: cargo run --example eddsa_sign_client 127.0.0.1:8080 keys1 message where message is the message to sign. Run another instance for the second party with keys2

  4. the output will be a file with (R,s). the file is called signature

Alternatively, run ./keygen.sh for keygen and ./sign.sh message where message is the message to sign (see demo gif below)

demo

You can’t perform that action at this time.