This project emphasises the use of public key encryption and provides a mechanism that any service can use to communicate to the user securely.
This project creates a Contract for the user to define his public key for messages.
Until network effects kicks in, the service itself will generate public-private key-airs and update the contract with the userβs public key when requested.
The user can retrieve his private key securely. The user can override and set his/her own public key in the contract.
It uses Hardhat based Scaffold-eth template for the UI and OZ for contracts.
The api is built using node-express and ethers. EPNS team helped out. While I believe the concept am working on is bigger, the section for this hackathon is quite small. I hope I can get a way to achieve more in future projects.