Skip to content

Python code to help an Algorand (ALGO) crypto wallet holder recover a private key phrase given limited typo or ordering issues when transcribing the words

License

Notifications You must be signed in to change notification settings

baby636/algorand_phrase_recovery

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

algorand_phrase_recovery

Python code to help an Algorand (ALGO) crypto wallet holder fix a private key phrase that has limited issues. Instructions are included below.

DID THIS SCRIPT HELP YOU?

I hope it did. It helped me too! If you feel inclined to tip, here is an Algo wallet address I set up specifically for tips (not necessary but certainly welcome!)
5Q2RGRRXLC3643TFP22Y5LITE5P3SPQLZO2U4KLDALLMUMZWCOEFVEKQEQ

WHY WRITE THIS SCRIPT?

After writing down my algorand wallet (wallet.myalgo.com) 25 phrase words, I wasn't able to access my wallet the next day. I figured that I had either mistyped a phrase word or swapped word positions on accident. so, I wrote this script to try to recover my wallet.
It worked and recovered my wallet for me. Apparently, when I wrote down the words, I had switched the positions of two of them.

THIS SCRIPT CAN:

  1. fix a single swapped pair of words in the phrase (all other words must be spelled correctly and in the correct positions)
  2. fix a single missing missing word (all other words must be spelled correctly and in the correct positions)
  3. fix a single misspelled word (all other words must be spelled correctly and in the correct positions)

INSTRUCTIONS TO USE THIS SCRIPT:

  1. INSTALL THE ALGOSDK PACKAGE!
    -more information about this package is available here: https://github.com/algorand/py-algorand-sdk
    -note of security -- the package referenced is from the "verified" algorand github account
    -to install the package: $ pip3 install py-algorand-sdk

  2. LOAD THE WORD LIST!
    -download the sdk wordlist from here: https://github.com/algorand/py-algorand-sdk/blob/develop/algosdk/wordlist.py
    -save that file as wordlist.py in the directory that you save this script, because this script imports the wordlist script

  3. KNOW YOUR WALLET PUBLIC ADDRESS!
    -you should have this if you sent any coins to the wallet. look at your outgoing transactions from the source where you sent from. you will need to enter this into the appropriate hardcoded variable in the script.

  4. HAVE YOUR PHRASE LIST OF AT LEAST 24 of 25 WORDS, WHICH YOU BELIEVE HAS AN ISSUE!
    -a single spelling error,
    -a single missing word,
    -or, a single pair of swapped phrase words.
    -you will need to enter this into the appropriate hardcoded variable in the script.




GOOD LUCK!

About

Python code to help an Algorand (ALGO) crypto wallet holder recover a private key phrase given limited typo or ordering issues when transcribing the words

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%