Skip to content

Commit ed44203

Browse files
Updates SVG in Signing page to Mermaid.js diagram. (#214)
* Adds message size. Adds better intro to signing. * Replaces svg with mermaid js diagram. --------- Co-authored-by: johnnymatthews <>
1 parent 19dac88 commit ed44203

File tree

2 files changed

+12
-20
lines changed

2 files changed

+12
-20
lines changed

content/concepts/images/signing-new.svg

Lines changed: 0 additions & 19 deletions
This file was deleted.

content/concepts/signing.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,18 @@ lead: "Getting a signature from the network is the main purpose of Entropy. Once
55

66
## Signing process
77

8-
![Signing Flow New](./images/signing-new.svg)
8+
```mermaid
9+
sequenceDiagram
10+
Alice->>Alice: Creates transaction.
11+
Alice->>Validator Bob: Sends transaction through private means.
12+
Alice->>Validator Charlie: Sends transaction through private means.
13+
Validator Bob->> Validator Bob: Determines whether they are a member of the signing committee.
14+
Validator Charlie->> Validator Charlie: Determines whether they are a member of the signing committee.
15+
Validator Bob->> Signing Committee: Requires constraints pass and the transaction matches the hash to sign.
16+
Validator Charlie->> Signing Committee: Requires constraints pass and the transaction matches the hash to sign.
17+
Signing Committee->> Signing Committee: Generates signature.
18+
Signing Committee->> Alice: Sends completed signature.
19+
```
920

1021
1. The user computes the hash of the message they wish to sign and selects a signing committee by deterministically selecting a member of each signing group based on this hash. They can get the details of the signing groups as they were published on-chain when the user [registered]({{< relref "./registering" >}}).
1122
1. The user contacts all threshold servers in the signing committee and makes a POST to `/user/sign_tx` with the message to be signed (encrypted for that node).

0 commit comments

Comments
 (0)