nbd-wtf / go-nostr

Nostr library for Golang
MIT License
364 stars 102 forks source link

add nrelay #136

Closed mattn closed 2 months ago

mattn commented 3 months ago

I'll add PR for nak in later

mattn commented 3 months ago

I have to add EncodeRelay too.

mattn commented 3 months ago

add encode and tests

fiatjaf commented 3 months ago

Can we not have this? I hate it. We should remove it from the NIP. Using the hostname directly is better.

Or do you have a reason for using this weird encoding thing?

fiatjaf commented 3 months ago

Just opened this: https://github.com/nostr-protocol/nips/pull/1375

mattn commented 3 months ago

Or do you have a reason for using this weird encoding thing?

No. I also want to remove if possible

mattn commented 2 months ago

nrelay no longer exists.