Global Feed Post Login
Replying to Avatar josh

I need some help.

I'm making a website called RV Parker that displays on a map rv parks with availability. It also shows other information like cost, address, accepts bitcoin, website, etc.

Should I have the RV park information as just a "nostr account" (npub) kind 0 or also include a separate event for the entity? I'll need to pull information from one of these to display the park information on the map. Is there anything similar that I can peak at?

The park availability snapshot (per day) I'll have as a replaceable event (maybe kind 33000).

Should I create an event for the RV Park entity (some entity kind?) or just leave it as an npub / kind 0?

Avatar
elsat 4mo ago

nostr:npub1q3sle0kvfsehgsuexttt3ugjd8xdklxfwwkh559wxckmzddywnws6cd26p nostr:npub18ams6ewn5aj2n3wt2qawzglx9mr4nzksxhvrdc4gzrecw7n5tvjqctp424 nostr:npub1jvnpg4c6ljadf5t6ry0w9q0rnm4mksde87kglkrc993z46c39axsgq89sc

Reply to this note

Please Login to reply.

Discussion

Avatar
Derek Ross 4mo ago

You could do that. It depends on the data structure. You could have one npub per entity. Maybe NIP-78 30078 events with all of the entity data? That said, anyone could write events with this kind. You'd need to filter it in a way that it's only showing data that you want to show. Perhaps from a specific npub?

Thread collapsed