OpenViSTAI · Agents · Blockchain · Crypto
Menu
Wallets

Walletool

Walletool is a Python command-line tool that reads Bitcoin Core and Litecoin Core wallet.dat files and prints associated addresses and private keys.

Independent OpenViST project profile, based on linked sources.

Walletool — OpenViST project profile in Wallets.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Walletool when you have a Bitcoin-QT or Litecoin-QT wallet.dat file and need its addresses and private keys printed through a command-line workflow.

Who it is for

  • Bitcoin-QT or Litecoin-QT wallet holders who need to extract addresses and private keys from a wallet.dat file.
  • Developers building local workflows that process supported wallet.dat files.

Documented uses

  • Read a Bitcoin or Litecoin wallet.dat file.
  • Print the addresses and private keys associated with the file.
Before you choose

Requirements & limits

  • Requires Python 3.x and the bsddb3 module.
  • The documented version value is 0 for Bitcoin and 48 for Litecoin.
  • The stated output is a printed list of addresses and private keys.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Extract addresses and private keys from a wallet.dat file

Run the documented extraction command for a Bitcoin or Litecoin wallet file.

Before you start

  • Python 3.x
  • The bsddb3 module
  • A wallet.dat file

Steps

  1. For Bitcoin, run the command below.

    Documented command
    python wt_extract_keys.py -d wallet.dat -v 0
  2. For Litecoin, run the command below.

    Documented command
    python wt_extract_keys.py -d wallet.dat -v 48
  3. Read the printed list of addresses and private keys.

Expected outcome

A list of addresses and private keys is printed for the selected wallet file.

Guide limitations

  • The documented commands cover Bitcoin-QT and Litecoin-QT wallet files.
  • The instructions do not describe other wallet formats or a subsequent import workflow.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
18 October 2026
Original website title
akx/walletool · Official homepage title · retained in its source language