Skip to content


CI/CD CI - Test CI - Coverage
Docs CI - Docs
Package PyPI - Version PyPI - Downloads PyPI - Python Version
Meta code style - black types - Mypy imports - isort License - MIT OR Apache-2.0 GitHub Sponsors

This library provides well-tested Python bindings for libsecp256k1, the heavily optimized C library used by Bitcoin Core for operations on the elliptic curve secp256k1.


  • Fastest available implementation (more than 10x faster than OpenSSL)
  • Clean, easy to use API
  • Frequent updates from the development version of libsecp256k1
  • Linux, macOS, and Windows all have binary packages for multiple architectures
  • Deterministic signatures as specified by RFC 6979
  • Non-malleable signatures (lower-S form) by default
  • Secure, non-malleable ECDH implementation


and many more!


coincurve is distributed under the terms of any of the following licenses:

Desktop readers can use keyboard shortcuts to navigate.

Keys Action
  • , (comma)
  • p
Navigate to the "previous" page
  • . (period)
  • n
Navigate to the "next" page
  • /
  • s
Display the search modal

Last update: January 30, 2022