docs: NWC connection backup cross-platform parity contract#560
Closed
dmnyc wants to merge 1 commit into
Closed
Conversation
Companion to WALLET_PARITY.md. Captures the contract for backing up + restoring the Nostr Wallet Connect (NWC) connection string via a NIP-78 application-specific data event so the same connection follows the user's nostr key across devices and platforms. iOS landed this in barrydeen/wisp-ios PR barrydeen#167 (feat/wallet-nwc-backup). This doc is the contract the Android port should mirror — kind 30078, flat d-tag `nwc-wallet-backup` (no namespacing for cross-platform interop), NIP-44 v2 self-to-self encryption, raw URI plaintext. Includes: locked values for event shape + encryption, publish / restore triggers, remote-signer gating rationale, an iOS-side implementation reference table, an Android port checklist, and a cross-platform interop quick-test (publish from one client → restore from the other).
9752e34 to
04272f5
Compare
9 tasks
Contributor
Author
|
Superseded by #563, which lands the feature implementing this contract. Closing the docs-only PR — the parity contract is preserved verbatim in the new PR's description and (if needed) can be re-introduced as a tracked doc in a follow-up. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Companion to
WALLET_PARITY.mdandLIGHT_MODE_COLOR_PARITY.md. Captures the contract for backing up + restoring the NWC connection string via a NIP-78 application-specific data event so the same connection follows the user's nostr key across devices and platforms.iOS landed this in barrydeen/wisp-ios#167 (
feat/wallet-nwc-backup). This doc is the contract the Android port should mirror.Locked values:
kind30078(NIP-78)dtagnwc-wallet-backup(flat — no namespacing, for cross-platform interop)nostr+walletconnect://…URI (no JSON wrapper)Includes an iOS-side implementation reference table, an Android port checklist, and a cross-platform interop quick-test (publish from one client → restore from the other).
Test plan
WALLET_PARITY.mdresolve (it sits in the repo root next to this).