schnorrpy

A Python wrapper to the Rust schnorrkel SR25519 signature library.


Keywords
singlesource, blockchain, substrate, centrality, polkadot, signing, signature, SS25519
License
Apache-2.0
Install
pip install schnorrpy==0.0.2

Documentation

SchnorrPy for SR25519 Signatures

A Python wrapper to the Rust schnorrkel SR25519 signature library. Schnorrkel/SR25519 signatures are the Schnorr signature on Ristretto compressed Ed25519 points.

Installation

To install use pip:

$ pip install schnorrpy

To develop, clone the repo and do the following:

$ git clone https://gitlab.com/kauriid/schnorrpy.git
$ python setup.py build
$ python setup.py install

Set up and activate for Python 3:

virtualenv ${HOME}/.virtualenvs/schnorrpy \
           --system-site-packages --python=/usr/bin/python3
source ${HOME}/.virtualenvs/schnorrpy/bin/activate

Install required packages for development:

pip install -r requirements-dev.txt

Contributing

TBD

Example

TBD

Licence

Copyright 2018 by SingleSource Limited, Auckland, New Zealand

This work is licensed under the Apache 2.0 open source licence. Terms and conditions apply.