Complete Sequence Digram for Request/Response Scenario
February 28, 2024 ยท View on GitHub
sequenceDiagram participant Rs as Recovery Shares participant R as Recovery GST participant S1 as Active GST actor TC as Sparrow participant S2 as Passport note right of TC: ๐ง USER: How do I create multisig? note right of TC: ๐ก USER: Change defaults? TC->>TC: ๐๐ฝ Create Multisig TC-->>R: ๐ค REQUEST Recovery Key TC-->>TC: ๐ค Wait for Response QR note right of R: ๐๐ฝ USER: Creation OK? R->>R: ๐๐ฝ Confirm Key Creation R-->>R: ๐ค Create Seed R-->>Rs: ๐ค Output SSKR Shares R-->>R: ๐ค Delete Seed Rs->>R: ๐๐ฝ Display Output Shares R-->>R: ๐ค Test Share Combinations R-->>R: ๐ค Display Descriptor RESPONSE R-->>TC: ๐ค Read Descriptor RESPONSE TC-->>R: ๐ค REQUEST Seed Deletion TC-->>TC: ๐ค Wait for Response QR note right of R: ๐๐ฝ USER: Deletion OK? R->>R: ๐๐ฝ Confirm Seed Deletion R-->>R: ๐ค Delete Seed R-->>R: ๐ค Display Verification RESPONSE R-->>TC: ๐ค Read Verification Response note right of Rs: ๐ก USER: Where to send shares? Rs->>Rs: ๐๐ฝ Distribute Shares TC-->>S1: ๐ค REQUEST Active Key 1 TC-->>TC: ๐ค Wait for Response QR note right of S1: ๐๐ฝ USER: Creation OK? S1->>S1: ๐๐ฝ Confirm Key Creation S1-->>S1: ๐ค Create Active Seed 1 S1-->>S1: ๐ค Display Descriptor RESPONSE S1-->>TC: ๐ค Read Descriptor RESPONSE TC-->>S2: ๐ค REQUEST Active Key 2 TC-->>TC: ๐ค Wait for Response QR note right of S2: ๐๐ฝ USER: Creation OK? S2->>S2: ๐๐ฝ Confirm Key Creation S2-->>S2: ๐ค Create Active Seed 2 S2->>S2: ๐๐ฝ Backup to MicroSD 1 S2->>S2: ๐๐ฝ Record Backup Code S2->>S2: ๐๐ฝ Backup to MicroSD 2 S2-->>S2: ๐ค Display Public Cosigner RESPONSE S2-->>TC: ๐ค Read Cosigner RESPONSE S2-->>TC: ๐ค REQUEST Multisig Descriptor S2-->>S2: ๐ค Wait for Response QR TC-->>TC: ๐ค Apply Multisig TC-->>TC: ๐ค Backup Multisig Descriptor note right of TC: ๐๐ฝ USER: Multisig Output OK? TC->>TC: ๐๐ฝ OK Multisig Response TC-->>TC: ๐ค Display Multisig RESPONSE TC-->>S2: ๐ค Read Multisig Response S2-->>S2: ๐ค Create Wallet S2-->>TC: ๐ค REQUEST Address S2-->>S2: ๐ค Wait for Response QR note right of TC: ๐๐ฝ USER: Address Output OK? TC->>TC: ๐๐ฝ OK Address Response TC-->>TC: ๐ค Display Address RESPONSE TC-->>S2: Read Address Response S2->>S2: ๐๐ฝ Backup to MicroSD 1 S2->>S2: ๐๐ฝ Backup to MicroSD 2