Why Nostr? What is Njump?
2024-08-20 15:31:32

. on Nostr: Let's check in with nip42, AUTH and use Amethyst and theforest.nostr1.com relay as an ...

Let's check in with nip42, AUTH and use Amethyst and theforest.nostr1.com relay as an example.

"nip42 defines a way for clients to authenticate to relays by signing an ephemeral event.

This NIP defines a new message, AUTH, which relays can send when they support authentication and clients can send to relays when they want to authenticate."

I use theforest.nostr1 relay as my top relay to read and write from. I think if you look, many of you use this relay too.

You may have noticed this note by

Public announcement for everyone subscribed to wss://theforest.nostr1.com

TheForest is now a private community relay protected by AUTH (client authorization according to NIP-42).

This is going to be cool, but different, so keep calm and carry on.

By using a client that supports nip42, it will Authenticate the npub to the relay if previously whitelisted to write. Amethyst supports nip42. This will allow you to continue to read and write from theforest.nostr1.com

Now here is where the fun part is. Nip42, AUTH, whitelisting and read/write rules allows for the relay to isolate the notes just to that relay. Only other npubs that are AUTH can see the notes. You are basically able to isolate notes to one relay and those allowed to see them.

To do so in Amethyst:
-remove theforest relay from outbox
-remove mutiny relay from outbox
-remove nostr.band from outbox
-add theforest.nostr1.com as a general relay with read and write enabled

Then when posting:
-tap the relay symbol at the center top of the screen
-deselect all relays
-toggle theforest.nostr1 relay on
-tap save
-tap post

Now that note is only sent to the forest relay and not to other relays. So it is possible to have an isolated relay of writers and readers if a single relay is used. This is awesome for teams and groups.

( The moment someone is commenting without isolating their relays the note gets sent to other relays.)

I found you can write to citrine and theforest and the note remains isolated.

You can have noswhere as search

Now get your AUTH on!
Author Public Key
npub1ak68qfcjj7k95c0jwleu69x72nr8adwv6g80pkwl9xlps6zmkqzqrxy8fx