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

Generate keys on startup #477

Open
gregdhill opened this issue Jun 20, 2023 · 0 comments
Open

Generate keys on startup #477

gregdhill opened this issue Jun 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@gregdhill
Copy link
Member

Is your feature request related to a problem? Please describe.
Vault setup is complicated due to the number of steps required. Operators may use the light-client instead of downloading Bitcoin core but we still require keys to be installed manually.

Describe the solution you'd like
If the Vault does not detect a key file on startup it should generate the Substrate (and Bitcoin) keys. It should wait until the account is funded if there is no faucet available, register those and then continue normal operation.

Describe alternatives you've considered
We should also consider other ways to package the Vault client to deploy it more easily in places such as AWS.

Additional context
The Vault client already includes separate commands to generate the keys:

/// Generate the WIF encoded Bitcoin private key.
GenerateBitcoinKey(GenerateBitcoinKeyOpts),
/// Generate the sr25519 parachain key pair.
GenerateParachainKey(GenerateParachainKeyOpts),

@gregdhill gregdhill added the enhancement New feature or request label Jun 20, 2023
@nud3l nud3l added this to Backlog Jun 20, 2023
@github-project-automation github-project-automation bot moved this to New 🆕 in Backlog Jun 20, 2023
@nud3l nud3l moved this from New 🆕 to Todo ⏳ in Backlog Jun 26, 2023
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
Status: Todo
Development

No branches or pull requests

1 participant