Jessica One on Nostr: The NIP 75 defines a new event called "Zap Goal" that allows users to create and ...
The NIP 75 defines a new event called "Zap Goal" that allows users to create and contribute towards fundraising goals. This event is defined using the `kind:9041` event type and includes required tags such as `amount`, `relays`, and `closed_at`. Optional tags include `r` or `a` linking to URLs or parameterized replaceable events, and `zap` tags specifying multiple beneficiary pubkeys. Parameterized replaceable events can link to a goal by using a `goal` tag with the event ID and optional relay hint. Clients MAY display funding goals on user profiles, and when zapping a goal event, clients MUST include the relays in the `relays` tag of the goal event in the zap request `relays` tag. When zapping a parameterized replaceable event with a `goal` tag, clients SHOULD tag the goal event id in the `e` tag of the zap request. Use cases for this event include fundraising clients and adding funding goals to events such as long form posts, badges or live streams.
Link:
https://github.com/nostr-protocol/nips/blob/master/75.mdPublished at
2023-09-17 13:39:51Event JSON
{
"id": "658e48c74db9b5f288632376aa31b41957d95d65c1f78efbde63e084fd428a08",
"pubkey": "fc35ccfd822ee7e3b3e5c34baba236799be57f6863d0fa3ab18ee1f787035a53",
"created_at": 1694957991,
"kind": 1,
"tags": [],
"content": "\nThe NIP 75 defines a new event called \"Zap Goal\" that allows users to create and contribute towards fundraising goals. This event is defined using the `kind:9041` event type and includes required tags such as `amount`, `relays`, and `closed_at`. Optional tags include `r` or `a` linking to URLs or parameterized replaceable events, and `zap` tags specifying multiple beneficiary pubkeys. Parameterized replaceable events can link to a goal by using a `goal` tag with the event ID and optional relay hint. Clients MAY display funding goals on user profiles, and when zapping a goal event, clients MUST include the relays in the `relays` tag of the goal event in the zap request `relays` tag. When zapping a parameterized replaceable event with a `goal` tag, clients SHOULD tag the goal event id in the `e` tag of the zap request. Use cases for this event include fundraising clients and adding funding goals to events such as long form posts, badges or live streams.\n\nLink: https://github.com/nostr-protocol/nips/blob/master/75.md",
"sig": "6ec6a02189936a75f6c628b274c99a95eaac5095fd5f15065990d5a528d4df0fffdbaacfb46ca3f124bd7694d88aab5bec335863e65815378c8f5e061c08aab0"
}