Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elichai/fixprivatekey
Fix typo in a WIF private address
https://github.com/elichai/fixprivatekey
bitcoin private-key python
Last synced: 19 days ago
JSON representation
Fix typo in a WIF private address
- Host: GitHub
- URL: https://github.com/elichai/fixprivatekey
- Owner: elichai
- License: gpl-3.0
- Created: 2014-11-25T09:53:10.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-09-06T10:28:57.000Z (about 7 years ago)
- Last Synced: 2024-10-09T22:11:09.398Z (about 1 month ago)
- Topics: bitcoin, private-key, python
- Language: Python
- Homepage:
- Size: 1.11 MB
- Stars: 13
- Watchers: 3
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
FixPrivateKey
=============This tool is used to replace every single character in a WIF private key, and then check if the checksum is correct.
To use this tool you must install Peter Todd's `python-bitcoinlib` library.
Usage
----------------
```
$ python FixPrivateKey.py
```
You can add `--letters LETTERS` option to try replacing more than 1 letter.
You can also add `--swap` to Check if two consecutive letters got misplaced.
And you can add `--results RESULTS` option to stop trying after more than 1 result.If you don't succeed or you don't know how many letters you miswrote or if the letters may be swapped, you can try the automatic script:
```
$ python AutomaticFix.py
```
This will try swapping and replacing up to 5 letters. but it will take a lot of time.
Install Peter Todd's library
----------------
```
sudo apt-get install libssl-dev
sudo pip install python-bitcoinlib
```