0

If I have only a private key, how shold I: 1. Check private key and generate public key 2. Get account name from Public or Private key via eosjs?

1 Answer 1

2

Use eosjs get_key_accounts. See

https://github.com/EOSIO/eosjs-api/commit/21675aec294d6f65f3cbace049839751a087676f

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.