buidl
is a python3
bitcoin library with no dependencies, designed to make it easy to BUIDL.
buidl
has extensive test coverage, which you can use as documentation.
Run tests with pytest
:
$ git clone [email protected]:mflaxman/buidl.git && cd buidl
$ pytest -v
You can speed this library up by using C-bindings to bitcoin core's libsecp256k1
library.
On Ubuntu:
$ sudo apt install libsecp256k1-dev
On MacOS (HT cuber):
$ brew tap cuber/homebrew-libsecp256k1 && brew install pkg-config libffi libsecp256k1
$ pip3 install cffi && cd buidl && python libsec_build.py
- Add back in
wallet.py
(see here) withoutPyCryptodome
dependency FIXME
intest_network.py