netuoso - HiveDevs avatar

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

netuoso

Published: 19 Jan 2018 › Updated: 19 Jan 2018[Steem-Examples] (Node)JS Account Recovery Example

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

[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

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

Written by

Hive Witness | Founder of HiveDevs Discord | Graphene Blockchain Developer | Full-Stack Developer

Read more #utopian-io posts


Best Posts From netuoso - HiveDevs

We have not curated any of netuoso's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From netuoso - HiveDevs