ZenGo-X/kms-secp256k1

implement serialize and deserialise

omershlo opened this issue · 0 comments

The purpose of the code in KMS is to take a cryptographic protocol and to construct the actual messages that are supposed to be send among the participants.

  • In order.
  • without breaking the cryptography.
  • Minimizing the round trips as much as possible
  1. what is the best way to serialize / desialize in this case?
  2. take the output messages from each protocol (keygen, sign, rotate, chain code etc) and serialize them
  3. take the input messages from each protocol and deserialize them.