Skip to content

Moustikitos/fast-curve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published