Skip to content

Commit

Permalink
fix invitation doc (#25)
Browse files Browse the repository at this point in the history
Co-authored-by: Matej Vukosav <[email protected]>
  • Loading branch information
miraclx and MatejVukosav authored Sep 18, 2024
1 parent a77c264 commit af9987c
Showing 1 changed file with 7 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,13 @@ context identity new
invitor generates an invitation to the context using the following command:

```bash title="Node 1"
context invite {contextId} {invitorContextIdentity } {inviteeContextIdentity}
context invite {contextId} {invitorContextIdentity} {inviteeContextIdentity}
```

```bash title="Example"
context invite GjJEnAwfLVPveyUWaGqJspzUXndyJkNWgD7M5uDNQZqv
62HEbeSo6NKLufZZALVvEUthQGcf6G3A4g1ug2KKjELg
21A1pcDPMJTH6bQb1xRw1i1JqDRmvysxYp7eEQMnz3sp

│ Invited
21A1pcDPMJTH6bQb1xRw1i1JqDRmvysxYp7eEQMnz3sp to context
GjJEnAwfLVPveyUWaGqJspzUXndyJkNWgD7M5uDNQZqv
│ Invitation Payload:
3FdouEaEdTWtP6YBH3tjXgBJixiVF921t9DxTPbie5GVkhxjMQH7ipkB9h3RAA6EjGYEF5eugjuC154WRUx71eDRoZkdJ94ucZdyWXEA461BQyaQjS3GzQtimcqMWG9UbP7eGoci3jKnJycuoadLhVd
context invite GjJEnAwfLVPveyUWaGqJspzUXndyJkNWgD7M5uDNQZqv 62HEbeSo6NKLufZZALVvEUthQGcf6G3A4g1ug2KKjELg 21A1pcDPMJTH6bQb1xRw1i1JqDRmvysxYp7eEQMnz3sp
│ Invited 21A1pcDPMJTH6bQb1xRw1i1JqDRmvysxYp7eEQMnz3sp to context GjJEnAwfLVPveyUWaGqJspzUXndyJkNWgD7M5uDNQZqv
│ Invitation Payload: 3FdouEaEdTWtP6YBH3tjXgBJixiVF921t9DxTPbie5GVkhxjMQH7ipkB9h3RAA6EjGYEF5eugjuC154WRUx71eDRoZkdJ94ucZdyWXEA461BQyaQjS3GzQtimcqMWG9UbP7eGoci3jKnJycuoadLhVd
```

To check the invitor's identity, use this command:
Expand All @@ -67,9 +61,8 @@ context identity ls {contextId}

```bash title="Example"
context identity ls GjJEnAwfLVPveyUWaGqJspzUXndyJkNWgD7M5uDNQZqv

│ Identity | Owned │
21A1pcDPMJTH6bQb1xRw1i1JqDRmvysxYp7eEQMnz3sp | \*
21A1pcDPMJTH6bQb1xRw1i1JqDRmvysxYp7eEQMnz3sp | *
```

Listed identity is invitorContextIdentity used above.
Expand All @@ -83,11 +76,8 @@ context join {inviteePrivateKey} {invitationPayload}
```

```bash title="Example"
context join G5pK45VAegesDwvHqyQsZ6NNQyRPjZ7YQLJSz1XBfpdc
3FdouEaEdTWtP6YBH3tjXgBJixiVF921t9DxTPbie5GVkhxjMQH7ipkB9h3RAA6EjGYEF5eugjuC154WRUx71eDRoZkdJ94ucZdyWXEA461BQyaQjS3GzQtimcqMWG9UbP7eGoci3jKnJycuoadLhVd

│ Joined context GjJEnAwfLVPveyUWaGqJspzUXndyJkNWgD7M5uDNQZqv as 21A1pcDPMJTH6bQb1xRw1i1JqDRmvysxYp7eEQMnz3sp,
waiting for catchup to complete...
context join G5pK45VAegesDwvHqyQsZ6NNQyRPjZ7YQLJSz1XBfpdc 3FdouEaEdTWtP6YBH3tjXgBJixiVF921t9DxTPbie5GVkhxjMQH7ipkB9h3RAA6EjGYEF5eugjuC154WRUx71eDRoZkdJ94ucZdyWXEA461BQyaQjS3GzQtimcqMWG9UbP7eGoci3jKnJycuoadLhVd
│ Joined context GjJEnAwfLVPveyUWaGqJspzUXndyJkNWgD7M5uDNQZqv as 21A1pcDPMJTH6bQb1xRw1i1JqDRmvysxYp7eEQMnz3sp, waiting for catchup to complete...
```

4. Verifying Context Membership To confirm successful joining of the context,
Expand Down

0 comments on commit af9987c

Please sign in to comment.