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:
- User 1 encrypts a message with User 2's public key, ensuring only User 2 can decrypt it.
- User 1 signs the encrypted message, allowing User 2 to verify its authenticity.
- User 1 submits a transaction containing the encrypted & signed message to the network.
- The transaction is processed, triggering an event. Anyone can listen, but only User 2 can decrypt the data.
- 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!
[link] [comments]
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