On Windows, you probably just need to double-click the .exe .jar file and it will launch (if you have Java installed, the GUI won’t work without it).
To open a file with a Bitcoin wallet: select “load wallet” and select your wallet. then the program will ask for a password (if the wallet / wallet file is encrypted). After entering the password, all public and private keys will be displayed in the main menu of the program.
Through the command line (CLI)
On systems that have a command line interface (this also works on Windows, it’s a little harder to find there, they really hate their own users), you can also start it by running the following command:
java -jar wallet-key-tool.jar
This will open a GUI window that you can interact with, information and error messages will be printed to stderr. If you want to increase the log level, start it like this:
Note: the -D option must come before the -jar option, it is passed directly to java. Valid log levels are ERROR, WARN, INFO, DEBUG, TRACE, default is INFO, if you want to see stack traces use TRACE.
If you just want to dump the contents of the wallet to the console without interacting with the GUI, you can pass the filename to it, if you do, it will not try to open the GUI, it will just dump the contents of the wallet. to standard exit and exit. Note that the dump format can still be changed, keep this in mind when writing a parser for it.
java -jar wallet-key-tool.jar <filename>
The program will ask for a password if the file is encrypted. If you want to avoid being prompted for a password, you can specify the password with the –password = “my pass phrase” switch (you need quotes if it contains spaces).
An example of a session in the console (I didn’t enter a passphrase, I just hit Enter, so no private keys were decrypted):
java -jar build/libs/wallet-key-tool.jar /home/bernd/Schotter/Schotter.wallet
[main] INFO org.multibit.store.MultiBitWalletProtobufSerializer - Loading wallet extension org.multibit.walletProtect.2
Wallet is encrypted. Enter passphrase:
no passphrase entered, will skip decryption
1QKm5sWXuFJ6Zrvqw7NR7gYXyipPSqfv4n KEY DECRYPTION SKIPPED
1DrL3o6ZMAGttc96SPxqTo2yooq52P62kf KEY DECRYPTION SKIPPED
1E79vvzr1KkHXVXNUBwqoW7XDsMYULVqrq KEY DECRYPTION SKIPPED
This post is also available in: Русский XMRig- This is an open source program for mining coins on the RandomX and CryptoNight algorithms. Suitable for both AMD and Nvidia video cards and CPUs. The program has a commission to the developer in the form of 1-5%. In this step-by-step instruction, […]