Skip to content

ragi96/BTCKeyTester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release Build Quality Gate Status codecov

BTCKeyTester

If you have written down the private key of your Bitcoin address in HEX or Base58 but can't read it completely, this is a potential solution.

Usage

Replace all chars you can't read with a _ (e.g. dc7546c9cef4e980c563a4cb42efede82c40c0e5fce55c4a7304f32747e029__) It will generate all possible combinations of the private key and check if the associated address is the same as the one you have written down.

General

btc_keytester <private_key> <address>

Linux

Hex:

./btc_keytester dc7546c9cef4e980c563a4cb42efede82c40c0e5fce55c4a7304f32747e029__ 1JwvWezRrU2yDh1eSwWezyrx3SyKYmtFDQ

Base58:

./btc_keytester KwDiBf89QgGbjEhKnhXJuH7LrciVrZi3qYjgd9M7rFU73s_HnoWn 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH

Windows

Hex:

.\btc_keytester.exe dc7546c9cef4e980c563a4cb42efede82c40c0e5fce55c4a7304f32747e029__ 1JwvWezRrU2yDh1eSwWezyrx3SyKYmtFDQ

Base58:

.\btc_keytester.exe KwDiBf89QgGbjEhKnhXJuH7LrciVrZi3qYjgd9M7rFU73s_HnoWn 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH

MAC OS

Hex:

btc_keytester dc7546c9cef4e980c563a4cb42efede82c40c0e5fce55c4a7304f32747e029__ 1JwvWezRrU2yDh1eSwWezyrx3SyKYmtFDQ

Base58:

btc_keytester KwDiBf89QgGbjEhKnhXJuH7LrciVrZi3qYjgd9M7rFU73s_HnoWn 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH

Development

cargo run

Hex:

cargo run -- dc7546c9cef4e980c563a4cb42efede82c40c0e5fce55c4a7304f32747e029__ 1JwvWezRrU2yDh1eSwWezyrx3SyKYmtFDQ

Base58:

cargo run -- KwDiBf89QgGbjEhKnhXJuH7LrciVrZi3qYjgd9M7rFU73s_HnoWn 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH

cargo build

cargo build --release

cargo test

cargo test

cargo fmt

cargo fmt

cargo clippy

cargo clippy --all --all-targets --all-features -- -D warnings

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages