Skip to main content

Cross-platform Python libsecp256k1 for ElectrumSV

Project description

Licence: MIT Licence / Apache v2.0 (dual licensed)
Maintainers: Neil Booth, Roger Taylor
Project Lead: Roger Taylor
Language: Python (>=3.6)
Homepage: https://electrumsv.io/

Build status on Azure Pipelines


This library provides a wrapped pre-compiled libsecp256k1, the heavily optimized C library used by Bitcoin Core for operations on elliptic curve secp256k1. It effectively encapsulates a libsecp256k1 fork and allows ElectrumSV developers to have a vetted build, with selected public modifications, available on pypi to treat as a first classed dependency which can be obtained and verified against a known hash, like any other Python dependency.

Table of Contents

Features

  • Linux, macOS, and Windows all have binary packages for both 64 and 32-bit architectures

  • Linux & macOS use GMP for faster computation

  • Implements a fix for https://bugs.python.org/issue28150 to support Python 3.6+ on macOS

Installation

electrumsv-secp256k1 is distributed on PyPI and is available on Linux/macOS and Windows and supports Python 3.6 and Python 3.7.

$ pip install electrumsv-secp256k1

If you are on a system that doesn’t have a precompiled binary wheel (e.g. FreeBSD) then pip will fetch source to build yourself. You must have the necessary packages.

On Debian/Ubuntu for example the necessary packages are:

  • build-essential

  • automake

  • pkg-config

  • libtool

  • libgmp-dev (optional)

API

Anything importing this should be familiar with the underlying libsecp256k1 api.

Credits

  • Contributors of coincurve. At this time this project is for the most part a adapted and stripped down version of coincurve for Azure Pipelines.

  • Contributors of libsecp256k1.

  • Contributors of secp256k1-py. While Coincurve is nearly a complete rewrite, much of the build system provided by ulope remains.

History

Coincurve history available here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

electrumsv-secp256k1-0.9.3.tar.gz (938.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

electrumsv_secp256k1-0.9.3-py2.py3-none-win_amd64.whl (229.1 kB view details)

Uploaded Python 2Python 3Windows x86-64

electrumsv_secp256k1-0.9.3-py2.py3-none-win32.whl (253.5 kB view details)

Uploaded Python 2Python 3Windows x86

electrumsv_secp256k1-0.9.3-cp39-cp39-manylinux1_x86_64.whl (541.4 kB view details)

Uploaded CPython 3.9

electrumsv_secp256k1-0.9.3-cp39-cp39-manylinux1_i686.whl (546.7 kB view details)

Uploaded CPython 3.9

electrumsv_secp256k1-0.9.3-cp39-cp39-macosx_10_14_x86_64.whl (366.5 kB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

electrumsv_secp256k1-0.9.3-cp38-cp38-manylinux1_x86_64.whl (541.7 kB view details)

Uploaded CPython 3.8

electrumsv_secp256k1-0.9.3-cp38-cp38-manylinux1_i686.whl (547.0 kB view details)

Uploaded CPython 3.8

electrumsv_secp256k1-0.9.3-cp38-cp38-macosx_10_14_x86_64.whl (366.5 kB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

electrumsv_secp256k1-0.9.3-cp37-cp37m-manylinux1_x86_64.whl (541.3 kB view details)

Uploaded CPython 3.7m

electrumsv_secp256k1-0.9.3-cp37-cp37m-manylinux1_i686.whl (546.6 kB view details)

Uploaded CPython 3.7m

electrumsv_secp256k1-0.9.3-cp37-cp37m-macosx_10_14_x86_64.whl (366.5 kB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

File details

Details for the file electrumsv-secp256k1-0.9.3.tar.gz.

File metadata

  • Download URL: electrumsv-secp256k1-0.9.3.tar.gz
  • Upload date:
  • Size: 938.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for electrumsv-secp256k1-0.9.3.tar.gz
Algorithm Hash digest
SHA256 3023134f0d164b968f36ec940b144f6d70923c99b31ff6928e7826bdfde24b28
MD5 0bf271fbbff542a5a38f11e16a55146f
BLAKE2b-256 7caf0c319d7bde1fe680a3e0de60f1b830be36ed7667487988dcbbabe32ac888

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.3-py2.py3-none-win_amd64.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.3-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 229.1 kB
  • Tags: Python 2, Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for electrumsv_secp256k1-0.9.3-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3ca0cfda926329996f32c6401f5f8248acd6307d3ed85aca5c238c44482a72d4
MD5 e0b498226cdcc456ea338698c6bf3138
BLAKE2b-256 f247b5f7eaec5bc5dc19213be76bec37551f125fcc5212391e27c930cfd5cb26

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.3-py2.py3-none-win32.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.3-py2.py3-none-win32.whl
  • Upload date:
  • Size: 253.5 kB
  • Tags: Python 2, Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for electrumsv_secp256k1-0.9.3-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 8df54bd44b14b24afa0f3346dbaedc7662209b5b2240ea58356491a862697d3b
MD5 976ba1238d46c37c37fee6e620550ede
BLAKE2b-256 c781b2290f071bf295b7b370939fe44cd8d9e306cbc8c16070de4ee751f51f6b

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.3-cp39-cp39-manylinux1_x86_64.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.3-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 541.4 kB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for electrumsv_secp256k1-0.9.3-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 71247fe7e0021cd0587d56bbad31ffe7d395669bd41fbe69cbae360136d864f7
MD5 146c1c2c823ae014e35f37660347ceb7
BLAKE2b-256 fada6485a559e6f6d833998306d36290a6ee95da5c3b793a7f10460a5c0cd4e7

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.3-cp39-cp39-manylinux1_i686.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.3-cp39-cp39-manylinux1_i686.whl
  • Upload date:
  • Size: 546.7 kB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for electrumsv_secp256k1-0.9.3-cp39-cp39-manylinux1_i686.whl
Algorithm Hash digest
SHA256 e19db9f4fc67293c78a2364414c5d57b2fd78c3c1306d72323d3d55b1db9de44
MD5 b3f498a5bcc32d4a45890053c9b59903
BLAKE2b-256 71136ac39c02e6081d635354fbf52d42bfa314a948def87283f3314567093d46

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.3-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.3-cp39-cp39-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 366.5 kB
  • Tags: CPython 3.9, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for electrumsv_secp256k1-0.9.3-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 a1126af87088a85e825d7996b546881711980d5140e4fbf818824b1c7c303665
MD5 ebfdd7622ae95a5fff04fcf3fbe92a9a
BLAKE2b-256 a91e76662a561ff8e2581e5e296ac9f84b6c05039049c3726ffff81e1efd5541

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.3-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.3-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 541.7 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for electrumsv_secp256k1-0.9.3-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c67f5b2eba02d02e50a1ac5c94424b72da1b71ab1fafe2d6e8c46921233c34b5
MD5 fafc4e39947aa3fa8cd9168c1ea98763
BLAKE2b-256 a4f6795ed772f28281fe910ab9024ba187d206c85632fd2fb7faa8eea4bc17c8

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.3-cp38-cp38-manylinux1_i686.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.3-cp38-cp38-manylinux1_i686.whl
  • Upload date:
  • Size: 547.0 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for electrumsv_secp256k1-0.9.3-cp38-cp38-manylinux1_i686.whl
Algorithm Hash digest
SHA256 a0b5441d1c5a0140e389f6566a6a80c6c1b1d3a7267a92f5b03c33217d31181b
MD5 bb4341a10dc9b4d9a898e81fbdc913dc
BLAKE2b-256 aadced87acd3cbf02f94c402f878357896f312d281f4c7ab3a18e075ec6d3f9e

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.3-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.3-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 366.5 kB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for electrumsv_secp256k1-0.9.3-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 edff25092f00651df72e85a75032476346fa62de01d0dab3f7e60e18db2c3632
MD5 c7567c6df291180228c7c0f1b4755597
BLAKE2b-256 c8dd275eccd192446fe51123b0e834ea4aff5622d7e028b6ec2509f77b45ed6a

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.3-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.3-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 541.3 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for electrumsv_secp256k1-0.9.3-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9d607a5663f5e7dba9a804e717856c84d6d39a9977c30b7e7e9107e7a4b77c5e
MD5 e8ea5f0a145d647ada4d97f31af8297a
BLAKE2b-256 d96f6c7b5298f70f49154242c4be54f9b962a8363112605d7ded626e8facbe86

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.3-cp37-cp37m-manylinux1_i686.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.3-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 546.6 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for electrumsv_secp256k1-0.9.3-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c438bbf60091ce0fbcda3cd33312cc5f17ef73f439e97cd091588a7e12635bcd
MD5 10e57cd1422599cd831caf433f0f8628
BLAKE2b-256 1c0629a5c95c1e8944b10f5e7d643a1eb99ef016c133493c53c7f979ce5fcbbe

See more details on using hashes here.

File details

Details for the file electrumsv_secp256k1-0.9.3-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: electrumsv_secp256k1-0.9.3-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 366.5 kB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for electrumsv_secp256k1-0.9.3-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 8e0905d98aaa3790a519d1696b185d59b08044cab3516ff523f3e2dc0a55bb29
MD5 28fab1aa55b9737e67571119550dae5d
BLAKE2b-256 6acec325c313ba3827721fb34d0bd393079a57aa75ae5482ba142f87d73a58c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page