Skip to content

Commit 3a363d6

Browse files
Removes SVGs in favour of mermaid.js
1 parent d39fe99 commit 3a363d6

File tree

3 files changed

+25
-10
lines changed

3 files changed

+25
-10
lines changed

content/basics/entrosplainer.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,18 @@ A $t$-of-$n$ multisignature is a way for $t$ (**t**hreshold) participants out of
6565

6666
Each participant signs a message with their private key. A trusted centralized coordinator verifies that the $t$ signatures are valid. In blockchain contexts, the central coordinator is typically spelled "smart contract."
6767

68-
![Signing flow](./images/entrosplainer-multisig-flow.svg)
68+
```mermaid
69+
graph TD
70+
A["Alice"]
71+
B["Bob"]
72+
C["Charlie"]
73+
D["Trusted Coordinator"]
74+
E["End"]
75+
76+
A --> |" sign(m) "| D
77+
C --> |" sign(m) "| D
78+
D --> |" Return OK or INVALID "| E
79+
```
6980

7081
_2-of-3 Multisignature_
7182

@@ -75,7 +86,19 @@ Participants in a threshold signature scheme don't hold onto independent private
7586

7687
Threshold signature schemes eliminate the requirement for a trusted coordinator and are a powerful and flexible cryptographic primitive.
7788

78-
![Threshold Signing flow](./images/entrosplainer-tss-sequence.svg)
89+
```mermaid
90+
sequenceDiagram
91+
participant Alice
92+
participant Bob
93+
participant Charlie
94+
95+
Alice->>Bob: Messages
96+
97+
Bob->>Alice: Messages
98+
99+
Note over Alice,Bob: Both now possess a valid signature
100+
Note over Charlie: Has nothing
101+
```
79102

80103
_2-of-3 Threshold Signature Scheme_
81104

content/basics/images/entrosplainer-multisig-flow.svg

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

0 commit comments

Comments
 (0)