Skip to main content

coinaddress

https://img.shields.io/pypi/v/coinaddress.svg https://img.shields.io/travis/jibrelnetwork/coinaddress.svg Documentation Status Updates

Crypto address generator from xpub

Features

  • generate addresses for multiple blockchains from extended public key (xpub)

  • minimum dependency (it means security)

  • CLI interface

Getting started

Install package using pip (prefer virtualenv):

pip install coinaddress

And you can start use provided CLI. Read help first:

coinaddress –help

To generate 1000 addresses for bitcoin xpub from file (xpub should be a single line in this file):

cat xpub.txt | coinaddress bitcoin 0 -n 1000

To generate another bunch of addresses:

cat xpub.txt | coinaddress bitcoin 1000 -n 1000

xpub can be passed with –xpub option but you should avoid this and prefer read from file for security reasons.

Using from code

You can use public python interface to convert addresses:

from coinaddress import address_from_xpub
address_from_xpub(
    network='bitcoin',
    xpub='<XPUB>',
    path='0/0'
)

Credits

This package uses code (as is or as reference) from:

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.1 (2019-12-23)

  • Public api

0.1.0 (2019-12-22)

  • First release on PyPI.

  • Support Bitcoin (BTC), Bitcoin Cash (BCH), Ethereum (ETH), Litecoin (LTC), Ripple (XRP)

Release files for coinaddress 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coinaddress 0.1.1
File Size Uploaded
coinaddress-0.1.1.tar.gz 17.0 kB Details

Release files / coinaddress-0.1.1.tar.gz

Download URL coinaddress-0.1.1.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7f6e0c2c46437f6569ce4587688c08cdc9cdb9c5e31b7ddda9e76cbd00691ed9
BLAKE2b-256 checksum
How to use checksums
cec0f7c4730e46bd37f1a32e0fc4d8fea58a14007dc61a4db8babad07033ab49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.2

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page