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
Wallet of user2 receives new transaction from block service
Wallet checks incoming tx
If tx is successful and contract_name = con_message_store and function = store_msg and param recipient_address matches one of the existing addresses in the wallet
Decrypt content of param msg with private key of matching address
If successful, save message in cleartext, together with sender address of tx, in message list (new view in wallet) and notify user via browser notification
Allow sending encrypted on-chain messages from one address to another via wallet.
con_message_store
(just an example)contract_name
=con_message_store
andfunction
=store_msg
and paramrecipient_address
matches one of the existing addresses in the walletmsg
with private key of matching addressEncrypt message:
Decrypt message:
Thanks https://t.me/OnlyLuck77 for simplified SealedBox code!
The text was updated successfully, but these errors were encountered: