You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added the ability to set the key in an existing deploy alias (among other things), but it would be nice to have the ability to select an existing key when creating a deploy alias instead. I am not familiar enough with yargs to add this feature (I tried but was unsuccessful).
Describe the proposed solution
Instead of always generating a new keypair for a deploy alias, include an option to choose from existing keys.
Alternatives considered
No response
Importance
nice to have
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Sure! When creating a deploy alias via zk config, currently a new keypair is always created for the alias. It would be nice to have an option to select one of the existing keypairs in ./keys to use for a new alias. In my mind the flow is something like this:
User runs zk config
User is prompted to enter a deploy alias name.
User is prompted to enter a graphql API URL.
User is prompted to set the transaction fee.
// requested addition option 1
4. User is prompted to generate a new keypair or select an existing keypair from ./keys. It probably makes the most sense to display the generate new option at the top and existing keys below that.
// option 2
4. User is prompted to enter a name for the key. If the name already exists in ./keys, that key will be used. Default name (i.e. just press enter) is the same as the alias and generates a new keypair.
Describe the problem
I added the ability to set the key in an existing deploy alias (among other things), but it would be nice to have the ability to select an existing key when creating a deploy alias instead. I am not familiar enough with yargs to add this feature (I tried but was unsuccessful).
Describe the proposed solution
Instead of always generating a new keypair for a deploy alias, include an option to choose from existing keys.
Alternatives considered
No response
Importance
nice to have
Additional Information
No response
The text was updated successfully, but these errors were encountered: