damus-io / dips

Damus implementation possibilities
20 stars 1 forks source link

dip-05: user editable URLs npub+relay #1

Open alltheseas opened 2 hours ago

alltheseas commented 2 hours ago

nostr:npub?r=relay.damus.io&r=relay.primal.io

nostr://npub?r=wss://relay.damus.io&r=wss://relay.primal.io

User inspectable and editable

https://damus.io/nevent1qqs24nr5stwdd6qh06gku6ce6ekd659hpx5rhu082u9hygx0upsrztqpz9mhxue69uhk27t9wvhxvdm69e5k7qgkwaehxw309aex2mrp0yhxummn9eek7cmfv9kqz9rhwden5te0wfjkccte9ejxzmt4wvhxjmcpz3mhxue69uhkummnw3ezummcw3ezuer9wcdy9rp6

jb55 commented 2 hours ago

maybe we could leave off the wss:// on relays and assume it by default, only including the scheme when there is a ws://

jb55 commented 2 hours ago

I think nostr:npub?r=relay.com

Would be cleanest, without the nostr://