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

Feature Request: Sign voluntary exit without broadcast #4205

Closed
alex-miller-0 opened this issue Apr 18, 2023 · 3 comments
Closed

Feature Request: Sign voluntary exit without broadcast #4205

alex-miller-0 opened this issue Apr 18, 2023 · 3 comments

Comments

@alex-miller-0
Copy link

alex-miller-0 commented Apr 18, 2023

Now that withdrawals are enabled, I would like to generate pre-signed voluntary exit messages as insurance against a nuclear meltdown on my staking box, i.e. something that would cause a long offline period (e.g. natural disaster, hardware failure, etc). This could generate a JSON file with the signed data, which could be backed up on another device and later broadcast to any available beacon node (e.g. there are public nodes which could be used to broadcast without an active staking box). Obviously this would be for emergencies only, as I would be signing up for ~4 days of penalties prior to exiting, but it would bound the risk of running a staker.

Currently, voluntary exits on Lighthouse assume you are exiting immediately - it would be much appreciated if you could add a flag to decouple this from the actual signing process (e.g. --prepare-offline).

@michaelsproul
Copy link
Member

This will be available in v4.1.0 via the VC HTTP API, docs: https://ethereum.github.io/keymanager-APIs/?urls.primaryName=dev#/Voluntary%20Exit/signVoluntaryExit.

We're also working on CLI tooling for interacting with the VC API, in this PR: #3502.

@alex-miller-0
Copy link
Author

Haha amazing timing on that release. Just tested and it works great - thanks!

Closed by #4119

@mrabino1
Copy link

is there any documentation on how to use (via CLI) what you are planning on the lighthouse book? or other source? eg.. what is the command? thx

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

No branches or pull requests

3 participants