-

@ Danny Morabito
2025-05-21 09:28:22
special built relays can receive onion-encrypted notes, you as the sender decide the path, like:
relay1 -> relay2 -> relay3 -> destination
each relay can only see who they got data from and who to send it to (except for the destination, which contains the plaintext note). this makes it possible to anonymously send notes without any relay knowing who you are by your ip address or anything like that.
and in exchange for routing the note to the next destination and unwrapping the onion, so to say, there's a small cashu token included in every layer, so the onion relays make money for their trouble, so to speak.
this is useful for stuff like DMs, or a nutzap wallet, because a malicious relay could technically figure out who you are by your IP address even if you use different nsecs.