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?

2

Use eosjs get_key_accounts. See

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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