stakevrun / db

GNU Affero General Public License v3.0
0 stars 0 forks source link

Generation of Presigned Voluntary Exit Messages #1

Closed LookingForOwls closed 4 months ago

LookingForOwls commented 4 months ago

Description

Develop backend functionality to securely generate presigned voluntary exit messages for Ethereum validators. This includes verifying user identity through Ethereum wallet signatures and generating the exit message following user requests.

Objectives

Requirements

  1. Ethereum Wallet Signature Verification: Implement a mechanism to verify users by requiring them to sign a message with their Ethereum wallet. This ensures that the request to generate a presigned exit message is authentic.
  2. Presigned Message Generation: Upon successful verification, generate the SignedVoluntaryExit message as requested by the user.
  3. PGP Encryption Support: If the user provides a PGP public key, encrypt the generated presigned message before making it available to the user.

Technical Considerations

xrchz commented 4 months ago

The exit instruction we already support for immediate exit already creates the signed voluntary exit message, and in fact currently it just prints it in our logs (doesn't broadcast).

LookingForOwls commented 4 months ago

The remainder of this task can be tracked on the frontend issue.