Kek, I didn't know how Nostr works and used 30078, without "d" tag, and wondered why my double ratchet DM events were not properly stored or relayed. Works much better now with kind 1060.
Sirius
npub1g53m...drvk
Message me via chat.iris.to — not using other Nostr DMs
Double ratchet messaging is deployed on iris.to. Try sending me a message at ! Thanks to Human Rights Foundation for supporting the project!
"Add to home screen" on iOS to enable push notifications.
The point of double ratchet is 1) hiding message metadata (who you're messaging and when) and 2) keeping your past and future message history safe in case your main Nostr key is revealed.
I'll write a nip for it. Basically it's Signal's "double ratchet with header encryption", but using Nostr keys instead of symmetric header key rotation. The algorithm is not too complicated.
Typescript library, only uses cryptography from nostr-tools.
"Public invite" on your "new chat" page is published on Nostr. It's used when you first send message at someone's iris.to profile. Initial message to public invite is from anonymous sender, but publicly visible. From thereon, keys are rotated and stay hidden. "Private invite" is not published, so it's more private when shared over QR code or other channel.
Sometimes the chat sessions stop working at iris.to, probably it's incorrectly saving an old version of the ratchet session state. Working on it.
iris social


Signal Messenger
Signal Messenger: Speak Freely
Say "hello" to a nonprofit messaging and calling experience focused on your privacy, combined with all the features you expect.
GitHub
GitHub - irislib/nostr-double-ratchet
Contribute to irislib/nostr-double-ratchet development by creating an account on GitHub.
Sauna, swimming and hacking near Helsinki. Maybe we should do a Nostr retreat here after BTC HEL in August? 

@PABLOF7z I'm initialising NDK with
const options = opts || {
explicitRelayUrls: DEFAULT_RELAYS,
enableOutboxModel: true,
cacheAdapter: new NDKCacheAdapterDexie({ dbName: 'irisdb-nostr' }),
};
ndkInstance = new NDK(options);
but not seeing connections to relays other than explicitRelayUrls. Should it be connecting to author relays as per outbox model?
Any good free blossom hosts out there? Need something for iris.to.
I don't know how long iris.to has been blocked in China, but maybe this explains the recent drop in traffic. 

Always wanted to visit Finland, the land of 5 million people and 3 million saunas? Now’s the perfect chance.
BTC HEL, the largest Bitcoin conference in the Nordics, will take place in Helsinki for the first time on August 15–16, 2025.
Join us in orange-pilling Finland before the anti-crypto narrative has a chance to catch on, like it has in other Nordic countries.
We have a positive and true story to tell: Bitcoin can make even renewables more profitable and balance the power grid. In the North we can use up all the excess heat. All the while, sound money fixes short-sighted fiat culture.
Please DM @BTCHEL 25.-26. SEPTEMBER or email hello@btchel.com if you’re interested in speaking! Flights and hotel are covered for speakers.
Tag the people you’d like to see there!
Sign up for the mailing list to know when the ticket sales begin:

BTCHEL2026 – The Nordic Bitcoin Conference.

Sorry, I had introduced a bug to tags, should be fixed now.
Lugano was so much more crazy and fun than I expected 😄
I played my first gig since high school. Can't wait for the next Rockamoto!
@Knut Svanholm ∞/21M @Luke de Wolf @Samson Mow @Joe Nakamoto @Giacomo Zucco @Mir @NetDiver

