Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update pairing specs #170

Draft
wants to merge 3 commits into
base: main-lfs-DO-NOT-USE
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 0 additions & 70 deletions docs/specs/clients/core/pairing/pairing-methods.md

This file was deleted.

6 changes: 3 additions & 3 deletions docs/specs/clients/core/pairing/pairing-uri.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
### Required

- `symKey` (STRING) = symmetric key used for pairing encryption
- `methods` (STRING) = comma separated array of inner arrays of methods. Inner arrays are grouped by `ProtocolType`
- `methods` (STRING) = comma separated array of methods registered by a top level client.
- `relay-protocol` (STRING) = protocol name used for relay

### Optional
Expand All @@ -28,9 +28,9 @@
topic = "7f6e504bfad60b485450578e05678ed3e8e8c4751d3c6160be17160d63ec90f9"
version = 2
symKey = "587d5484ce2a2a6ee3ba1962fdd7e8588e06200c46823bd18fbd67def96ad303"
methods = [wc_sessionPropose],[wc_authRequest,wc_authBatchRequest]
methods = wc_sessionPropose, wc_sessionAuthenticate
relay = { protocol: "irn", data: "" }

```
uri = "wc:7f6e504bfad60b485450578e05678ed3e8e8c4751d3c6160be17160d63ec90f9@2?symKey=587d5484ce2a2a6ee3ba1962fdd7e8588e06200c46823bd18fbd67def96ad303&methods=[wc_sessionPropose],[wc_authRequest,wc_authBatchRequest]&relay-protocol=irn"
uri = "wc:7f6e504bfad60b485450578e05678ed3e8e8c4751d3c6160be17160d63ec90f9@2?symKey=587d5484ce2a2a6ee3ba1962fdd7e8588e06200c46823bd18fbd67def96ad303&methods=wc_sessionPropose, wc_sessionAuthenticate&relay-protocol=irn"
```