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

Accept account mnemonic in config #1470

Closed
NicolasMahe opened this issue Nov 5, 2019 · 0 comments · Fixed by #1489
Closed

Accept account mnemonic in config #1470

NicolasMahe opened this issue Nov 5, 2019 · 0 comments · Fixed by #1489
Assignees

Comments

@NicolasMahe
Copy link
Member

The account in config should accept a mnemonic to use to generate the account in the keybase.

The logic should be:

  • if config.Account.Mnemonic is not empty, generate account using config.Account info (as it is deterministic, it will regenerate the same account all the time). return account.
  • if account doesn't exist based on the account.name, generate one using a generate mnemonic. return account.
  • if account exist locally, just return it.

Related to comment #1459 (comment)

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

Successfully merging a pull request may close this issue.

2 participants