MultiversX Tracker is Live!

EIP-4377: Securely Sharing Encrypted Info with Smart Contract Wallets on EVM Networks - Need Your Advice

Etherum Reddit

More / Etherum Reddit 138 Views

Hey Reddit! I've been working on a POC app for securely sharing encrypted info between parties (P2P) on EVM-based networks. It involves users with EOAs generating public-private key pairs using the secp256k1 elliptic curve. Here's a quick rundown of the process:

  1. User 1 encrypts a message with User 2's public key, ensuring only User 2 can decrypt it.
  2. User 1 signs the encrypted message, allowing User 2 to verify its authenticity.
  3. User 1 submits a transaction containing the encrypted & signed message to the network.
  4. The transaction is processed, triggering an event. Anyone can listen, but only User 2 can decrypt the data.
  5. User 2 decrypts the message and reads its content.

Since the app's target users might not be tech-savvy and could lose their private keys, I've been looking into EIP-4377 and smart contract wallets. They seem more practical, using the CREATE2 opcode and contract parking (like domain parking).

I'm seeking advice on how to best use smart contract wallets for sharing info between users in this context. Also, I'd appreciate any tips on handling key recovery, especially regarding social recovery methods.

Your insights and experiences would be super helpful! Thanks in advance for your input!

submitted by /u/nwasiq
[link] [comments]
Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments