[Steem-Examples] (Node)JS Account Recovery Example

in utopian-io •  7 years ago  (edited)

[Steem-Examples] (Node)JS Account Recovery Example

image.png
Image source


New Script Released

  • Account Recovery

Summary

When a Steem account is created, the creator becomes the account's recovery agent in case of a stolen account, or an error when changing passwords. The main caveat to Steem account recoveries is that a working Master password or Owner private key must have been properly backed up to be able to recover an account.

Process Explanation

The steps for a user to perform an account recovery are quite involved. Firstly, the user must generate a new set of keys using a new password. Once the keys are generated, the owner public key needs to be sent to the recovery agent so they can perform a recovery request on the blockchain. Only after the recovery request has been executed can the actual account recovery take place. The account owner will need to carefully follow the steps listed below, and in the README, to successfully complete account recovery.

Warning

This is an advanced process that should not be done without great care. Ensure that you always back up any passwords and keys associated with your account, even if you think you will not need them anymore.

Account Recovery Details

  • Clone the repository
    • git clone https://github.com/steemdevs/steem-examples
  • Enter account_recovery directory
    • cd steem-examples/javascript/account_recovery
  • Install Node packages (requires Node)
    • npm install
  • Generate and backup new keys
    • npm run getkeys USERNAME NEW_PASSWORD
  • Send the new Owner Public Key to the recovery agent
  • Finish recovery after recovery agent requests account recovery
    • npm run recover USERNAME NEW_PASSWORD OLD_PASSWORD

Links



Posted on Utopian.io - Rewarding Open Source Contributors

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thanks for this great piece although i lost my first account due to improper storage of password..if i saw this im sure i would still riding on my account.

You are making a great article I wish I could become as successful as you and get a voice for me

thanks @netuaso you are our motivation, every post you are very useful and easy to understand. I will continue to learn from you and follow each of your posts so I do not miss the interesting news.😊

good information, give us a tip if there is any other info forward

I really like this post. Because post is very important and useful.
My best regards @fajrinurdin1990 and if any time come to my post.

gracias campeón por los ejemplos

Thank you for the contribution. It has been approved.

A great view into the inner workings of this important process.

You can contact us on Discord.
[utopian-moderator]

Hey @netuoso I am @utopian-io. I have just upvoted you!

Achievements

  • WOW WOW WOW People loved what you did here. GREAT JOB!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Some serious coding going on here... I feel lost 😀

Thanks your gift for me !

Waaw thank to inspirasi post friend.. @aby.balqis