Skip to content

Wizard command #103

@fboucquez

Description

@fboucquez

Allow params to be filled when running the config command in wizard style.

The plan is to upgrade the default presets with some custom tags:

nodes:
    - voting: wizard:boolean:false
      mainPrivateKey: wizard:privateKey:genKey
      transportPrivateKey:  wizard:privateKey:genKey
      harvesterSigningPrivateKey:  wizard:privateKey:genKey
      vrfPrivateKey:  wizard:privateKey:genKey
      votingPrivateKey:  wizard:privateKey:genKey

The wizard will ask for those values if --wizard. Otherwise, the default will be generated

Update:
It's a security improvement as the user will not need to write down a custom preset to then encrypt it. Bootstrap will prompt and create the encrypted custom preset on the fly.

I think it will be better to be its own wizard command that generates an encrypted custom preset. The input could probably be a paper wallet. This wizard will be an offline command.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions