A proof-of-concept project to show how cryptocurrency wallets are not as secure as you would think.
One of the key features of cryptocurrency is that you officialy own the crypto locked behind a secure wallet no one can hack into. A crypto wallet is only as secure as the variations of wallet strings that can be generated for that cryptocurrency. This program is meant to show how that if you have a computer go on a repeated loop generating wallets until the public key matches, you can discover someone's private key. When you are mining a blockchain you are finding random nonces and then checking if the hashes of those nonces meet a certain requirement. This program is what you could call "wallet mining", because it creates random wallets and checks if the public key matches the public key you want to get the private key of.
This project was created with:
- NodeJS Version: 12.16.1
- Web3js Version: 1.2.8
- yargs Version: 15.3.1
Please do not use this application for any other purpose besides educational purposes. To run this project:
> cd ethereum-wallet-miner
> npm install
> node index.js decrypt <publickey> [entropy]
publickey - the public key to find the private key of
entropy - the length of a randomly generated hex string to increase unpredictability of generated account. Default 32