/bdk-python

The Python language bindings for the Bitcoindevkit

Primary LanguagePythonOtherNOASSERTION

bdk-python

The Python language bindings for the bitcoindevkit.

See the package on PyPI.

Install from PyPI

Install the latest release using

pip install bdkpython

Run the tests

pip3 install --requirement requirements.txt
bash ./generate.sh
python3 setup.py --verbose bdist_wheel
pip3 install ./dist/bdkpython-<yourversion>-py3-none-any.whl
python -m unittest --verbose tests/test_bdk.py

Build the package

# Install dependecies
pip install --requirement requirements.txt

# Generate the bindings first
bash generate.sh

# Build the wheel
python3 setup.py --verbose bdist_wheel

Install locally

pip install ./dist/bdkpython-<yourversion>-py3-none-any.whl