8

With registering my EOS ERC-20 tokens, I received an EOS public key and an EOS private key.

To be safe and secure I would love to check if my keys are valid. Without uploading them to a web service anywhere.

Any suggestions?

10

A public key, by it's very nature (and definition) is safely exposable online. This is what you would send someone if they were going to pay you in EOS. The same concept is true of any crypto currency. To verify if your EOS are registered you only need your ETH public key.

You can safely input your ETH public key on this site (left side: TOKEN REGISTRATION) which will confirm if they're registered or not.

Update:

If you want to verify your public and private keys are a matching set you can download the ECC repo from EOSIO here: github.com/EOSIO/eosjs-ecc, specifically using the isValidPublic and isValidPrivate functions.

| improve this answer | |
  • How would you go about verifying that the provided public and private key are a matched set without exposing the private key online? – John Haager May 8 '18 at 19:24
  • 2
    If you want to verify they're a matching set you can download the ECC repo from EOSIO here: github.com/EOSIO/eosjs-ecc, the isValidPublic and isValidPrivate functions are what you're looking for. – altShiftDev May 8 '18 at 19:27
  • 1
    That would be good info to add to your answer to make it more complete. – John Haager May 8 '18 at 20:34
  • Good idea, I've updated it. – altShiftDev May 8 '18 at 21:45
0

Now that the mainnet has launched one of the easiest ways to check if your EOS keys (not the ERC-20 based keys!) are valid:

  • Paste your EOS public key on http://eosflare.io, it should show the autogenerated EOS account name. If not, then there's no account on the EOS mainnet associated to that public key.

  • You could use Scatter, the browser extension which has a Key Pairs feature that lets you paste a private key and then it shows the associated public key for it, which you can then compare with your own public key.

| improve this answer | |
0

You can use $ cleos wallet import <public_key> if you have a keosd instance running, and then $ cleos wallet private_keys to see the private key associated with your public key.

This does not connect to any external services and can be done offline.

| 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.