OpenViSTAI · Agents · Blockchain · Crypto
Menu
Wallets

Bitcoinaddress

Bitcoinaddress is a Python 3 package that generates Bitcoin private and public keys and corresponding addresses, and derives address information from an imported WIF private key. Its examples cover mainnet and testnet, with legacy, P2SH and Bech32 address formats.

Independent OpenViST project profile, based on linked sources.

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

Practical overview

When it fits

Use Bitcoinaddress when a Python workflow needs Bitcoin key and address generation, format inspection, or testnet examples. Its documented WIF import can also display addresses derived from an existing key.

Who it is for

  • Python developers generating Bitcoin keys and addresses in multiple formats.
  • Developers testing Bitcoin address handling against mainnet and testnet examples.
  • Users who need to inspect address formats associated with a WIF private key.

Documented uses

  • Generate private and public key representations and corresponding Bitcoin addresses.
  • Compare or inspect legacy, P2SH, P2WPKH and P2WSH address output.
  • Derive and display address information from a WIF private key.
  • Generate example addresses using the documented testnet setting.
Before you choose

Requirements & limits

The README documents installation with pip and usage through a Python import. The project is distributed under the MIT License.

  • It is a Python library used through the Wallet class, rather than a documented hosted wallet interface.
  • The README identifies the generator as non-deterministic.
  • Output includes private key material as well as public keys and addresses, so private keys require careful handling.

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

Install the Python package and generate an address

Install bitcoinaddress and create a wallet with the documented mainnet or testnet setting.

Before you start

  • Python 3
  • pip

Steps

  1. Install the package with the command below.

    Documented command
    pip install bitcoinaddress
  2. In Python, import Wallet from bitcoinaddress.

  3. Create a wallet with wallet = Wallet() for the documented mainnet example, or wallet = Wallet(testnet=True) for testnet.

  4. Print the wallet with print(wallet) to display its keys and addresses.

Expected outcome

The printed output includes private and public key representations and corresponding Bitcoin address formats for the selected network.

Guide limitations

  • The documented generation method is described as non-deterministic.
  • The package examples show key and address generation, not transaction signing or broadcasting.
Source-based practical guide

Inspect addresses derived from a WIF private key

Pass an existing WIF private key to Wallet and print its associated key and address information.

Before you start

  • Python 3
  • The bitcoinaddress package installed with pip
  • An existing WIF private key

Steps

  1. Import Wallet from bitcoinaddress.

  2. Pass the WIF key as the argument to Wallet(...).

  3. Print the resulting wallet with print(wallet).

Expected outcome

The documented example prints key representations and corresponding address formats for the imported WIF key.

Guide limitations

  • The example demonstrates inspection and address derivation; it does not document transaction signing or broadcasting.
  • A private key is sensitive credential material.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
16 October 2026
Original website title
fortesp/bitcoinaddress · Official homepage title · retained in its source language