Openchain Library
Project description
About
Library for creating blockchain networks.
WARNING: Currently library in Beta development status, use at your own risk.
Author: Alexander Chaika <manti.by@gmail.com>
Source link: https://bitbucket.org/manti_by/openchain
Requirements:
Base - Python 3.5+, ECSDA, LevelDB/Plyvel
Development - Flake8, Coverage
Examples - Docker, Tornado
Installation
Install system libraries
$ sudo apt install python3-dev libleveldb-dev
Install package from PyPi
$ pip install openchain
Alternatively clone from Bitbucket
$ git clone git@bitbucket.org:manti_by/openchain.git
$ cd openchain/
$ python setup.py install
Environment variables
$DATABASE_PATH - path to store LevelDB files
Run unit tests and coverage
$ mkdir -p /var/tmp/leveldb/test/
$ export DATABASE_PATH=’/var/tmp/leveldb/test/’
$ python -m unittest discover -s openchain/tests/ -p '*_tests.py'
$ coverage run -m unittest discover -s openchain/tests/ -p '*_tests.py'
$ coverage xml && coverage report -m
For more information about how to run examples, please refer to README in the examples directory
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.
Source Distribution
Built Distribution
Hashes for openchain-0.1.0rc1.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8bc81290387901719115a3f0e28b77e0037d127b6be91c24e9b832cb0a1417b |
|
MD5 | 4fb4167d626d5be96857480b06c0dc26 |
|
BLAKE2b-256 | d2d8000c8f0ca9d5ef8ec3d63f7cf37dcb777ce1962920c9ff63c41a21fcf245 |
Hashes for openchain-0.1.0rc1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e931304df5391ca359643fa85cbebd907c91946a73d77f7b5736e70c05638d06 |
|
MD5 | f6f559e7619bb447c13d9501a742bb5e |
|
BLAKE2b-256 | afe84ce975853060b6d01ca4aa571cfd760bf2e79868379ac036fdc04ace8f36 |