Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable withdrawals #148

Open
AgeManning opened this issue Mar 23, 2023 · 2 comments
Open

Enable withdrawals #148

AgeManning opened this issue Mar 23, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@AgeManning
Copy link
Member

We have built a new endpoint that allows a single POST request to voluntary exit validators. See here: sigp/lighthouse#4117

This will enable the UI to very easly exit validators.

We should display a big warning sign, along the lines of "ARE YOU SURE YOU WANT TO EXIT" as well as like a type "Exit my Validator" before the UI does it. This is a non-reversible, permanent change to the validator.

We may even want to consider potentially having some time-lock or password such that if a user leaves their computer in a public space, someone can't come along and just exit their validators.

Maybe people could enter an optional password, that they need to re-enter after 10 mins of being idle or something before enabling destructive actions like withdrawing a validator or converting BLSToExecution changes.

@AgeManning AgeManning added the enhancement New feature or request label Mar 23, 2023
@jimmygchen
Copy link
Member

jimmygchen commented Apr 4, 2023

The endpoint has been implemented in sigp/lighthouse#4119

The endpoint returns a SignedVoluntaryExit object, which can be submitted to the Beacon API.

API spec here

@jimmygchen
Copy link
Member

We may even want to consider potentially having some time-lock or password such that if a user leaves their computer in a public space, someone can't come along and just exit their validators

This was also briefly discussed today, we may want to consider prompting user to enter password every time user wants to initiate an exit (@realbigsean's suggestion).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants