Step 1 of 5
One status per type
kind 30315 is addressable and the d tag is the status type, so you have one current "general" status and one "music" status. Publishing again replaces it.
NIP-38
DraftEvents
Share a live status next to your name, like what you're doing or the song you're playing, as a kind 30315 event that can expire on its own.
Edit the form or the JSON: both stay in sync, the badge says whether the result is valid, and tapping any field explains it.
Not signed yet Β· Demo keys only. These personas' secret keys are public on purpose.
Select any field in the form or the JSON to see what it does.
Step 1 of 5
kind 30315 is addressable and the d tag is the status type, so you have one current "general" status and one "music" status. Publishing again replaces it.
No course chapter covers this NIP yet. The editor above is the quickest way in.
Statuses can expire with NIP-40 expiration tags.
kind 30315 is an addressable event as defined in NIP-01.
The status text may contain NIP-30 custom emoji.
Specification text is quoted in English from the nostr-protocol/nips repository. Our explanations and the interface are translated. Source on GitHub at commit 0046368
This NIP enables a way for users to share live statuses such as what music they are listening to, as well as what they are currently doing: work, play, out of office, etc.
A special event with kind:30315 "User Status" is defined as an optionally expiring addressable event, where the d tag represents the status type:
For example:
{
"kind": 30315,
"content": "Sign up for nostrasia!",
"tags": [
["d", "general"],
["r", "https://nostr.world"]
],
}
{
"kind": 30315,
"content": "Intergalatic - Beastie Boys",
"tags": [
["d", "music"],
["r", "spotify:search:Intergalatic%20-%20Beastie%20Boys"],
["expiration", "1692845589"]
],
}
Two common status types are defined: general and music. general represent general statuses: "Working", "Hiking", etc.
music status events are for live streaming what you are currently listening to. The expiry of the music status should be when the track will stop playing.
Any other status types can be used but they are not defined by this NIP.
The status MAY include an r, p, e or a tag linking to a URL, profile, note, or addressable event.
The content MAY include emoji(s), or NIP-30 custom emoji(s). If the content is an empty string then the client should clear the status.
Clients MAY display this next to the username on posts or profiles to provide live user status information.