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 a new PublicKey #10

Open
Okhotnik-V opened this issue Apr 26, 2022 · 2 comments
Open

Generate a new PublicKey #10

Okhotnik-V opened this issue Apr 26, 2022 · 2 comments

Comments

@Okhotnik-V
Copy link

Okhotnik-V commented Apr 26, 2022

I propose to create the function for creating new keys for AddKeyAction

@Ctzzhang
Copy link

I want to get a function, whiich can create an account by accountid and return the public key and private key.

@Okhotnik-V Okhotnik-V changed the title Generate a new access key Generate a new PublicKey Apr 26, 2022
@AB3rtz
Copy link
Contributor

AB3rtz commented May 28, 2022

One of the modules (crypto-keys) used in this project has the necessary helpers to generate both random public and secret keys as well as deterministic ones generated form a given seed which can be derived from mnemonics. That being said, the creation fo account given an account ID is also implemented here AccountServiceTest. the procedure is different if one is creating an implicit account, a sub account or a named account. Does this answer your questions?

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

No branches or pull requests

3 participants