blend
blend copied to clipboard
Some recommendations
- If you want to be fully nostr compatible, you will need to do some changes
-
timeshould be replaced bycreated_at, and uses unix seconds instead of ms -
public_keymust be a 64 character public key according to BIP 340, and should be renamed topubkey -
signaturemust be a 128 character hex signature of the event, how it is generated is defined in NIP-01 -
messageshould be replaced bycontent - You cannot have properties like
contacton the event itself, you can makecontenta stringified JSON object though. - You need to add a
tagsarray, that may be empty or contain additional metadata. The current standard is one letter tags will get indexed, so you can look up any event with a specific tag value. - Kinds must be numbers, not strings.
-
- Optional recommendations if you want to use nostr
-
CANCEL_REQUESTcan be replaced by kind 5 events that will mark an event as "deleted" and may stop returning it in queries in some relays implementations, currently only nostr-rs-relay from my knowledge.
-
thank you for this, agreed we should make all these changes