CodyTseng / nostr-relay-nestjs

A high-performance nostr relay, using PostgreSQL. (Thanks to https://opensats.org/ for their generous donation!)
MIT License
44 stars 6 forks source link

Question about nip-42 #390

Open Eternumkr opened 1 month ago

Eternumkr commented 1 month ago

Is this enabled by default? if yes how do I have my dm's only downloadable to my npub? what settings do I need to add?

Thank you.

CodyTseng commented 1 month ago

To enable NIP-42, you need to set the HOSTNAME environment variable. More information about environment variables can be found in example.env

Once set up, only you will be able to retrieve DMs related to you. NIP-42