diff --git a/88.md b/88.md index 8ecba61..5b6d5a6 100644 --- a/88.md +++ b/88.md @@ -45,6 +45,9 @@ A pubkey that wants to provide others the ability to subscribe to them can creat // Relay and payment-verification [ "r", "wss://my-subscribers-only-relay.com" ], [ "p", "" ], + + // A unique identifier + [ "d", "" ], ] } ``` @@ -77,7 +80,7 @@ Zero or more `p` tags can be included to specify a pubkey that is trusted by the "content": "", "tags": [ [ "p", "" ], - [ "a", "" ], + [ "e", "" ], [ "event", "" ], [ "amount", "", "", "" ], @@ -92,7 +95,7 @@ When a user wants to subscribe to support a user they create a `kind:7001` event * `.content` is an optional message the supporter can write. * The `p` tag MUST tag the pubkey being supported. -* The `a` tag is optional; it should point to a `kind:37001` support tier event. There MUST be exactly 0 or 1 `a` tag. +* The `e` tag is optional; it should point to a `kind:37001` support tier event. There MUST be exactly 0 or 1 `e` tag. * The `event` tag is optional; subscribers can opt to keep the version of the event they subscribed to. There MUST be exactly 0 or 1 `event` tag. * The `amount` tag specifies what the supporters is committing to pay to the supported pubkey and the cadence. MUST be equal to one of the amounts specified in the `kind:37001` event if one is tagged. There MUST be exactly 1 `amount` tag. @@ -113,6 +116,7 @@ The supporting user should create a zap `p`-tagging the receiver and e-tagging t [ "p", "" ], [ "e", "" ] ] +} ``` Clients supporting this NIP can check for zaps e-tagging the `kind:7001` event to find the pubkeys that have a valid, paid subscriptions at each different period.