Keypair Scheme

This section will describe how the encoding/decoding of desig key-pair would be in practice.

The desig keypair includes a number of critical info. However, we can categorize them into 3 main parts.

  • Crypto System: EdDSA (Ed25519), ECDSA (Sepc256k1).

  • Multisig Identity: Master's Pubkey, Group Id, the t-out-of-n Threshold.

  • Secret Share

This info helps other components to be able to recognize and execute the corresponding protocol on it.

Encoding

The encoding is to encode the raw secret to an informative string.

Drawing
The encoded Secret structure.

Decoding

The decoding is to decode the encoding and then instantiate a desig keypair.

Drawing
The decoded Secret instance.

Last updated