Skip to main content

fast-curve

ctypes implementation for bitcoin curve secp256k1. It is 100 times faster than pure python implementation and may be even faster if used in lower level development languages.

Dependencies

Ubuntu

sudo apt-get install python3-dev libgmp3-dev libgmp3

Windows

Download Msys2 and install it into C:\Msys folder, run MSYS2 and execute:

pacman -Syu

Download libgmp archive and extract it into C:\Msys\home\{USER} folder. Then, runing MSYS2 from libgmp root folder execute:

./condigure
make
make check
make install

Use C:\Msys\mingw64\python.exe to run install command. The built package can be moved into any python 3.x distribution path.

install command

python -m pip install git+https://github.com/Moustikitos/fast-curve.git

For Windows users, a built package is available here. Exctract content anywhere in python path defined by sys.path.

Versions

1.1.2

  • typing update

1.1.1

  • exclusive use of hash_sha256_s in schnorr.c

1.0.6

  • bugfix in bcrypto410_* schnorr signature

1.0.5

  • minor C code tweaks
  • minor setup.py module tweaks

1.0.4

  • C code improvement
  • code coverage improvement
  • pydoc-markdown documentation added

1.0.3

  • ecdsa signature support
  • bcrypto 4.10 schnorr signature support
  • BIP0340 sipa shnorr signatures support

Support this project

Paypal me Bitcoin

Metadata

Release files for cSecp256k1 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cSecp256k1 1.1.2
File Size Uploaded
cSecp256k1-1.1.2.tar.gz 16.5 kB Details

Release files / cSecp256k1-1.1.2.tar.gz

Download URL cSecp256k1-1.1.2.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b2e45c949a9a3cb99d57ad64fbd4d1f09b67f5dc4abf6f6ee71e36f360a32c5b
BLAKE2b-256 checksum
How to use checksums
ccc41e06dc354bb20a7be8e4f4b525e38d89eacb6046c901e5bbe4beb6a8a78b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7

Release history Release notifications | RSS feed

This release

1.1.2 This release

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page