Why Nostr? What is Njump?
2023-09-17 13:39:51

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.md
Author Public Key
npub1ls6uelvz9mn78vl9cd96hg3k0xd72lmgv0g05w433msl0pcrtffs0g8kf3