/py-abci

Python based ABCI Server for Tendermint

Primary LanguagePythonOtherNOASSERTION

https://travis-ci.org/davebryson/py-abci.svg?branch=master

Build blockchain applications in Python for Tendermint

Installation

Requires Python 3.6

pip install abci OR

python setup.py install

OR using PipEnv (http://docs.pipenv.org/en/latest/)

git clone https://github.com/davebryson/py-abci

cd py-abci

pipenv --three # for a python 3 virtualenv

pipenv install

Getting Started

  1. Extend the BaseApplication class
  2. Implement the Tendermint ABCI callbacks - see https://github.com/tendermint/abci
  3. Run it

See the example app counter.py application under the examples directory here: https://github.com/davebryson/py-abci/blob/master/examples/counter.py