secp256k1-py
secp256k1-py copied to clipboard
Python FFI bindings for libsecp256k1 (maintained)
I tried to use secp256k1-py to verify a couple of (simple P2PKH) signatures found on the Bitcoin blockchain, and some succeeded and some failed. I think it's safe to assume...
The readme says that, when passing a non-True `raw` value to the `secp256k1.PrivateKey` constructor, "it is assumed that [`privkey`] is in the DER format". However, this does not work, and...
Trying pip install secp256k1 Tried with homebrew python 3.10, 3.11 and 3.12.1 ``` Collecting secp256k1 Using cached secp256k1-0.14.0.tar.gz (2.4 MB) Installing build dependencies: started Installing build dependencies: finished with status...
I cant't import the secp256k1 and the error as the picture My computer: Mac M1 13.5 (22G74) python3.8 I have installed the software with brew: automake pkg-config libtool libffi And...
I know that the underlying secp256k1 library exposes a `pubkey_negate` : https://github.com/bitcoin-core/secp256k1/blob/6f6cab9989a4d3f4a28e3cdbfacc4e3e1e55c843/include/secp256k1.h#L668 but at first thought, it's not that surprising that this isn't exposed in this binding, since we have...
With Python2 being already unsupported (even if erroneously reported in pypy as supported) I took a chance at upgradng to py37+ standard. If this is well received, next step might...
Installed the library in a plain new venv running on Arch Linux with Python 3.10, gmp 6.2.1 and libffi 3.4.2 - build seems fine: ```bash (venv) $ pip install --no-cache-dir...
I'm playing around with Schnorr and some BTC Taproot stuff. I have a tweaked pubkey that I would like to instantiate and then try to verify a signature. ``` tweaked_pubkey...
README.md says "The library bundles its own libsecp256k1 currently, as there is no versioning to allow us to safely determine compatibility with an installed library, especially as we also build...
secp256k1 being a clean and lean library, it would deserve clean and lean coding standard. https://github.com/psf/black https://pycqa.github.io/isort/ I know global formatting PRs are often rejected, but considering that this python...