cSecp256k1-1.1.1
توضیحات
Fast python implementation for bitcoin curve
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cSecp256k1-1.1.1 |
| نام | cSecp256k1 |
| نسخه کتابخانه | 1.1.1 |
| نگهدارنده | ['Toons'] |
| ایمیل نگهدارنده | ['moustikitos@gmail.com'] |
| نویسنده | Toons |
| ایمیل نویسنده | moustikitos@gmail.com |
| آدرس صفحه اصلی | https://github.com/Moustikitos/fast-curve |
| آدرس اینترنتی | https://pypi.org/project/cSecp256k1/ |
| مجوز | Copyright 2021, MIT licence |
# 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.
## Support this project
[](https://liberapay.com/Toons/donate)
[Buy Ѧ](https://bittrex.com/Account/Register?referralCode=NW5-DQO-QMT) and:
* [X] Send Ѧ to `AUahWfkfr5J4tYakugRbfow7RWVTK35GPW`
* [X] Vote `arky` on [Ark blockchain](https://explorer.ark.io) and [earn Ѧ weekly](http://dpos.arky-delegate.info/arky)
# Dependencies
## Ubuntu
```shell
sudo apt-get install python3-dev libgmp3-dev libgmp3
```
## Windows
Download [Msys2](https://www.msys2.org) and [install](https://www.msys2.org/#installation)
it into `C:\Msys` folder, run `MSYS2` and execute:
```bash
pacman -Syu
```
Download [libgmp](https://gmplib.org/) archive and extract it into `C:\Msys\home\{USER}`
folder. Then, runing MSYS2 from libgmp root folder execute:
```bash
./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
```shell
python -m pip install git+https://github.com/Moustikitos/fast-curve.git
```
For **Windows users**, a built package is available
[here](https://github.com/Moustikitos/fast-curve/raw/master/download/cSecp256k1-1.1.1-win64.7z).
Exctract content anywhere in python path defined by `sys.path`.
# Versions
## 1.1.1
- [x] exclusive use of `hash_sha256_s` in `schnorr.c`
## 1.0.6
- [x] bugfix in `bcrypto410_*` schnorr signature
## 1.0.5
- [x] minor C code tweaks
- [x] minor `setup.py` module tweaks
## 1.0.4
- [x] C code improvement
- [x] code coverage improvement
- [x] pydoc-markdown documentation added
## 1.0.4
- [x] C code improvement
- [x] code coverage improvement
- [x] pydoc-markdown documentation added
## 1.0.3
- [x] ecdsa signature support
- [x] bcrypto 4.10 schnorr signature support
- [x] [BIP0340 sipa](https://github.com/sipa/bips/tree/3b1fb9600b938172dd98a63e4906a861af9c3ab0/bip-0340) shnorr signatures support
نحوه نصب
نصب پکیج whl cSecp256k1-1.1.1:
pip install cSecp256k1-1.1.1.whl
نصب پکیج tar.gz cSecp256k1-1.1.1:
pip install cSecp256k1-1.1.1.tar.gz