/secq

Library to show secp256k1 curve's mirror called "secq"

Primary LanguagePython

THIS LIBRARY IS FOR TEACHING PURPOSES ONLY DO NOT USE IN PRODUCTION!!!

This is a python implementation of the secq256k1 curve.

Pre-Requisites

Install python 3.5 or above on your machine:

Install pip:

Download this script: https://bootstrap.pypa.io/get-pip.py

Run (you may need to specify python3 if you also have python2 installed)

$ python get-pip.py

Install git:

https://git-scm.com/downloads

Install virtualenv:

$ pip install virtualenv

Download requirements

$ git clone https://github.com/jimmysong/secq
$ cd secq
$ virtualenv -p python3 .venv

Linux/OSX:

$ . .venv/bin/activate
(.venv) $ pip install -r requirements.txt

Windows:

> .venv\Scripts\activate.bat
> pip install -r requirements.txt

Run jupyter notebook

(.venv) $ jupyter notebook