Stacks + Nostr
  • Introduction: Stacks + Nostr
  • SIP and NIP Summaries
    • SIP Summaries
      • SIP-000: The Stacks Improvement Proposal Process
      • SIP-001: Burn Election
      • SIP-002: The Clarity Smart Contract Language
      • SIP-003: Stacks P2P Network
      • SIP-004: Cryptographic Commitment to Materialized Views
      • SIP-005: Blocks, Transactions, and Accounts 👀
      • SIP-006: Clarity Cost Execution Assessment
      • SIP-007: Stacking Consensus
      • SIP-008: Clarity Parsing and Analysis Cost Assessment
      • SIP-009: Standard Trait Definition for Non-Fungible Tokens
      • SIP-010: Standard Trait Definition for Fungible Tokens
      • SIP-012: Burn Height Selection for a Network Upgrade to Introduce New Cost-Limits
      • SIP-013: Standard Trait Definition for Semi-Fungible Tokens
      • SIP-015: Stacks Upgrade of Proof-of-Transfer and Clarity
      • SIP-016: Metadata for Tokens
      • SIP-018: Signed Structured Data
      • SIP-020: Bitwise Operations in Clarity
    • NIP Summaries
      • NIP-1
      • NIP-2
      • NIP-3
      • NIP-4 👀
      • NIP-5 👀
      • NIP-6 👀
      • NIP-7
      • NIP-8
      • NIP-9
      • NIP-10
      • NIP-11
  • Feature Unlocks
    • Decentralized Identity Verification
    • Censorship-Resistant Social Networking
    • Secure Asset Management
    • Private Voting and Governance
    • Decentralized Notifications
    • Trustless Collaboration
  • Related Tech 👀
    • BNS
    • sBTC
  • Experimental Design and Methodology
  • Results and Discussion
  • Conclusion
  • Additional Research
    • ZKP
    • Indistinguishability Obfuscation from Well-Founded Assumptions
  • SIP-xx Draft
  • Disclaimer:
Powered by GitBook
On this page
  1. SIP and NIP Summaries
  2. NIP Summaries

NIP-9

NIP-09 provides a standard for deleting events in Nostr, specifying the behavior of relays and clients when handling deletion events, and outlining the conditions under which events should be hidden.

NIP-09 introduces a method for event deletion in Nostr. A special event with kind 5, meaning "deletion," is defined as having a list of one or more "e" tags, each referencing an event the author requests to be deleted. The event's content field may contain a text note describing the reason for the deletion.

Relays should delete or stop publishing any referenced events that have an identical pubkey as the deletion request. Clients should hide or otherwise indicate a deletion status for referenced events. Relays should continue to publish/share the deletion events indefinitely, as clients may already have the event that's intended to be deleted. Clients should broadcast deletion events to other relays which don't have it.

Client Usage:

  1. Clients may choose to fully hide any events referenced by valid deletion events or show the event along with an icon or other indication that the author has "disowned" the event.

  2. The content field may be used to replace the deleted events' content with the deletion reason.

  3. Clients must validate that each event pubkey referenced in the "e" tag of the deletion request is identical to the deletion request pubkey before hiding or deleting any event.

Relay Usage:

  1. Relays may validate that a deletion event only references events with the same pubkey as the deletion itself, but this is not required since relays may not have knowledge of all referenced events.

  2. Deleting a deletion has no effect, and clients and relays are not obliged to support "undelete" functionality.

PreviousNIP-8NextNIP-10

Last updated 2 years ago