negrunch on Nostr: Hey everyone I'm implementing nip59 to Mostro which will allows more privacy to ...
Hey everyone I'm implementing nip59 to
Mostro (npub1m0s…40un) which will allows more privacy to users, I'm thinking how to keep privacy and still allow users to be rated and share their reputation.
Here's an idea that came to me today
Clients will always use a new ephemeral key for each new order, the user who wants to maintain reputation can send an event to Mostro signed with each ephemeral key used to update their rating.
Example 01:
* Alice uses the automatically generated key abc to create a sale order
* Bob takes the order, they finish the operation
* Each one rated the counterparty
Example 02:
* Alice wants to make another sale, the client automatically generates the key xyz
* The client automatically sends a message to Mostro signed with the key xyz and the internal content signed with the key abc, this way Mostro knows that the user of xyz is also the user of abc
* Alice creates the order with the key xyz and Mostro shows the reputation obtained with abc
* Carol takes the order
* They finish the operation
* Each one rated the counterparty
Published at
2024-09-13 21:05:23Event JSON
{
"id": "370f38e3100f0afd0dc2d243fbe047edc5dcd0caf3ed5f3949b8ebd01b696e9a",
"pubkey": "000000000652e452ee68a01187fb08c899496cb46cb51d1aa0803d063acedba7",
"created_at": 1726261523,
"kind": 1,
"tags": [
[
"p",
"dbe0b1bdbe129ce38db753d6a997e6a29e693afd02aa1d1f9b005fa7386e5c26",
"",
"mention"
]
],
"content": "Hey everyone I'm implementing nip59 to nostr:npub1m0str0d7z2ww8rdh20t2n9lx520xjwhaq24p68umqp06wwrwtsnqen40un which will allows more privacy to users, I'm thinking how to keep privacy and still allow users to be rated and share their reputation.\n\nHere's an idea that came to me today\n\nClients will always use a new ephemeral key for each new order, the user who wants to maintain reputation can send an event to Mostro signed with each ephemeral key used to update their rating.\n\nExample 01:\n\n* Alice uses the automatically generated key abc to create a sale order\n* Bob takes the order, they finish the operation\n* Each one rated the counterparty\n\nExample 02:\n\n* Alice wants to make another sale, the client automatically generates the key xyz\n* The client automatically sends a message to Mostro signed with the key xyz and the internal content signed with the key abc, this way Mostro knows that the user of xyz is also the user of abc\n* Alice creates the order with the key xyz and Mostro shows the reputation obtained with abc\n* Carol takes the order\n* They finish the operation\n* Each one rated the counterparty",
"sig": "a43e2eb0be37906100e877647655c89b36f10bed16e4677bf06f9a54712bb331153622bc322ee626f4ba09630fcbb396d351403d4ab172ed37302ce28fab4df4"
}