You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note, if an encrypted message is too long for the OP_RETURN, it should instead be posted to a public url, and just that URL is encrypted and posted in the memo message. Kind of like a pointer. Here's a little php script to post a too-long encrypted message to pastebin site paste.city for example (and get the URL to the text).
When going to read DMs, memo.cash would just look at the stream of ALL 0x6d15 messages (since the last time they attempted to read DMs), and attempt to decrypt them with their own private key. If you can decrypt it, that means the message was to you! By using this technique, nobody can actually even see publicly who is DMing whom! Hmm, I suppose you'd need an automated way to know if a message was successfully decrypted. Maybe each decrypted message should start with some short standard code like "OK"?
Overall, I think this would be super-duper awesome and allow a whole wealth of new features in the memo protocol! Like, you can basically reproduce craigslist if you have private messages! And make all sorts of decentralized marketplaces as well.
Please please please consider implementing it!
Total Bounty: 0 BCH| ~ 0.00 USD
To claim this bounty, get a pull request merged with @chaintip fixes #58 in the creation comment.
Returned Tips:
0 BCH| ~ 0.00 USDfromzhoujianfu returned 2 years ago.
1.26615414 BCH| ~ 520.30 USDfromzhoujianfu returned 2 years ago.
Repository: memocash/memo
Issue #58: Add private/direct message support?
I suggest adding a new memo message type to the protocol which would be I guess 0x6d15?
It would simply be an encrypted message, where the encryption is via your private key and the public key of the address you are sending the message to. You can encrypt via https://github.com/kevinejohn/bitcoin-encrypt (with the binary encrypted message then base64 encoded and posted to memo), and you can find people's public keys by doing something like https://github.com/zhoujianfu/Public-Key-from-BCH-Address .
Note, if an encrypted message is too long for the OP_RETURN, it should instead be posted to a public url, and just that URL is encrypted and posted in the memo message. Kind of like a pointer. Here's a little php script to post a too-long encrypted message to pastebin site paste.city for example (and get the URL to the text).
When going to read DMs, memo.cash would just look at the stream of ALL 0x6d15 messages (since the last time they attempted to read DMs), and attempt to decrypt them with their own private key. If you can decrypt it, that means the message was to you! By using this technique, nobody can actually even see publicly who is DMing whom! Hmm, I suppose you'd need an automated way to know if a message was successfully decrypted. Maybe each decrypted message should start with some short standard code like "OK"?
Here's a little discussion of the idea on memo.cash:
https://memo.cash/topic/Direct%2FPrivate+Messages
Overall, I think this would be super-duper awesome and allow a whole wealth of new features in the memo protocol! Like, you can basically reproduce craigslist if you have private messages! And make all sorts of decentralized marketplaces as well.
Please please please consider implementing it!
Total Bounty:
0 BCH
|~ 0.00 USD
To claim this bounty, get a pull request merged with
@chaintip fixes #58
in the creation comment.Returned Tips:
0 BCH
|~ 0.00 USD
from zhoujianfu returned 2 years ago.1.26615414 BCH
|~ 520.30 USD
from zhoujianfu returned 2 years ago.Pull Requests Fixing Issue:
The text was updated successfully, but these errors were encountered: