negrunch on Nostr: After many discussions and a lot of trial and error, we finally have a simple and ...
After many discussions and a lot of trial and error, we finally have a simple and efficient way to allow an admin to intervene in dispute resolution.
I just uploaded a repository explaining how Mostro clients handle chat between users. We use a Diffie-Hellman shared key between the two parties as a master key, which either party can voluntarily share with the solver in case of a dispute. This way, the solver can verify who is lying.
For the curious, the repository technically explains how it works and includes sample code. I’m currently implementing it in mostro-cli, and I hope to add it to Mostro’s official documentation today.
Mostro (nprofile…3u36) client builders can now implement user chat without worrying about changes—this will be the scheme we’ll stick to.
https://github.com/grunch/mostro-mediator
Published at
2025-03-14 15:12:29Event JSON
{
"id": "4be11bb05d0c47208f31cf2888bea66e13ee55bd5980bc982a5d90c6cad2227b",
"pubkey": "000000000652e452ee68a01187fb08c899496cb46cb51d1aa0803d063acedba7",
"created_at": 1741965149,
"kind": 1,
"tags": [
[
"p",
"dbe0b1bdbe129ce38db753d6a997e6a29e693afd02aa1d1f9b005fa7386e5c26",
"wss://atlas.nostr.land/",
"mention"
],
[
"r",
"wss://nos.lol/"
],
[
"r",
"wss://purplepag.es/"
],
[
"r",
"wss://relay.primal.net/"
],
[
"r",
"wss://relay.mostro.network/",
"read"
],
[
"r",
"wss://relay.usefusion.ai/"
],
[
"r",
"ws://nostrja-kari-http.heguro.com/"
]
],
"content": "After many discussions and a lot of trial and error, we finally have a simple and efficient way to allow an admin to intervene in dispute resolution.\n\nI just uploaded a repository explaining how Mostro clients handle chat between users. We use a Diffie-Hellman shared key between the two parties as a master key, which either party can voluntarily share with the solver in case of a dispute. This way, the solver can verify who is lying.\n\nFor the curious, the repository technically explains how it works and includes sample code. I’m currently implementing it in mostro-cli, and I hope to add it to Mostro’s official documentation today. nostr:nprofile1qythwumn8ghj7ct5d3shxtnwdaehgu3wd3skuep0qyt8wumn8ghj7etyv4hzumn0wd68ytnvv9hxgtcqyrd7pvdahcffecudkafad2vhu63fu6f6l5p258glnvq9lfecdewzvsc3u36 client builders can now implement user chat without worrying about changes—this will be the scheme we’ll stick to.\n\nhttps://github.com/grunch/mostro-mediator\n\n https://m.primal.net/PfiA.png ",
"sig": "677c17b7417406e2eb4118b82cc27fb4d89e95ec263c115bf8f4e5b7e9c46a985e3bd5e98df76b0b84c2b871fdd06114a8b66efbb5b4e8b07e509891dd6c559b"
}