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?
Login to reply
Replies (5)
#asknostr
nostr:nevent1qqsg553e6nsgzmj6unzpatrn7tzqefpxg0xhu0gz4knlwyt7a33l9tcppemhxue69uh5qmn0wvhxcmmvxgsgna
nostr:npub1q3sle0kvfsehgsuexttt3ugjd8xdklxfwwkh559wxckmzddywnws6cd26p nostr:npub18ams6ewn5aj2n3wt2qawzglx9mr4nzksxhvrdc4gzrecw7n5tvjqctp424 nostr:npub1jvnpg4c6ljadf5t6ry0w9q0rnm4mksde87kglkrc993z46c39axsgq89sc
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?
nostr:npub1pc57ls4rad5kvsp733suhzl2d4u9y7h4upt952a2pucnalc59teq33dmza received a nutzap of 69esats from nostr:npub1gjvkclz6xj773y72sh0k63hzk4hm23qjf6z233uuv3zgzdn6m4ushpkk4u with note: "GM"
nostr:npub1pc57ls4rad5kvsp733suhzl2d4u9y7h4upt952a2pucnalc59teq33dmza received a nutzap of 21esats from nostr:npub16eumpaxffppswucpeysysrya9uk39j06d5gr2tsnf6cupq3f4jdqyft6jc with note: " ⚛︎"