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

get address from privateKey #473

Open
roccomuso opened this issue Jan 30, 2020 · 4 comments
Open

get address from privateKey #473

roccomuso opened this issue Jan 30, 2020 · 4 comments

Comments

@roccomuso
Copy link

How to generate an address given a private Key with this lib?
is it documented?

@wehmoen
Copy link

wehmoen commented Mar 13, 2020

You have to derive the public key from the given private key and use the "account_by_key" api: https://developers.steem.io/apidefinitions/account-by-key-api

@wehmoen
Copy link

wehmoen commented Mar 13, 2020

Keep in mind there can be more than 1 account with the same keyset

@roccomuso
Copy link
Author

like a collision?

@wehmoen
Copy link

wehmoen commented Mar 15, 2020

Keys aren't unique on Steem. You can use the same key for multiple accounts.

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

2 participants