buidl is a python3 bitcoin library with no dependencies.
It is easy-to-read and has extensive test coverage.
Because buidl has no dependencies, it is easy to install on airgapped computers (just copy over this directory).
$ pip3 install buidl --upgradeDownload this repo and then run:
$ python3 setup.py installmultiwallet is a stateless CLI multisig PSBT wallet.
Since buidl has no dependencies, you can run multiwallet by just cding to the root directory of this project:
$ python3 multiwallet.py
Welcome to multiwallet...If you have installed buidl, you can run multiwallet.py from any directory as follows:
$ multiwallet.py
Welcome to multiwallet...For more information on installing multiwallet, see multiwallet.md or check out this demo.
Run tests with pytest:
$ git clone https://github.com/buidl-bitcoin/buidl-python.git && cd buidl-python
$ pytest -vRun black:
$ black . --diff --checkRun flake8:
$ flake8 .You can speed this library up ~100x by using C-bindings to bitcoin core's libsecp256k1 library.
On Ubuntu:
$ sudo apt install libsecp256k1-devOn MacOS (HT cuber):
$ brew tap cuber/homebrew-libsecp256k1 && brew install pkg-config libffi libsecp256k1$ git clone git@github.com:buidl-bitcoin/buidl-python.git && cd buidl-python && python3 -m pip install -r requirements-libsec.txt && python3 -m pip install --editable . && cd buidl && python libsec_build.py && cd ..- Add libsec support/instructions to pypi version