Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

generate-key should support an implicit account creation #524

Closed
ilblackdragon opened this issue Sep 2, 2020 · 0 comments · Fixed by #531
Closed

generate-key should support an implicit account creation #524

ilblackdragon opened this issue Sep 2, 2020 · 0 comments · Fixed by #531

Comments

@ilblackdragon
Copy link
Member

We are adding implicit account creation, where account_id = hex(public_key).
Hence, there should be a way to create such account via generate-key.

This should create new key pair, and based on it, create the file in credentials with account id that matches the encoded key.

Additionally, people may want to use custom mnemonic phrase for their keys. E.g. there should be a way to near generate-key --mnemonic="tree forest ... bark". This way instead of generating new key pair, it will use this mnemonic (and possibly additional HD path) to get public key.

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

Successfully merging a pull request may close this issue.

1 participant