From 0619f1ff00e97efb9a2831ba17a0d921e04fc372 Mon Sep 17 00:00:00 2001 From: coreyphillips Date: Fri, 20 Nov 2026 14:13:24 -0500 Subject: [PATCH] docs: subscribe to the topics Bitkit uses in the wake example --- src/modules/wake/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/modules/wake/README.md b/src/modules/wake/README.md index 5e8b4bb7..c96edf7a 100644 --- a/src/modules/wake/README.md +++ b/src/modules/wake/README.md @@ -68,7 +68,7 @@ func registerForWakes(node: Node, installId: String, pubkySecretHex: String, pub encryptionPublicKey: keys.publicKeyHex, secretSha256: secret.sha256Hex, identities: ["ln:\(nodeId)", "pk:\(pubkyZ32)"], - topics: ["blocktank.*"], + topics: ["paykit.*", "swap.*"], timestamp: nil ) let proofs = [ @@ -115,7 +115,8 @@ Acknowledging `.handled` cancels the fallback alert. `.noHandler` and ## Grants and peer wakes A peer can wake this device only with a grant the device issued. Grants cover -peer topics only (`paykit.sync` today; `wakeListTopics` marks them `peer`), +peer topics only (`paykit.sync` and `swap.claimable` today; `wakeListTopics` +marks them `peer`), for an identity the device registered. The gateway's anti-spam document explains the quotas, the per-recipient cap and why a peer wake carries no content.