Fast python implementation for bitcoin curve
Project description
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
inschnorr.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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.