Build blockchain applications in Python for Tendermint
Version
Supports: ABCI v0.16.0 and Tendermint v0.31.5
Installation
Requires Python >= 3.6.5
pip --user install bigchaindb-abci OR python setup.py install
Generating Protobuf
You ONLY need to mess with the protobuf stuff if you’re developing on this code base, not to create apps. If you just want to create apps, jump to Getting Started
A note on protobuf. You’ll notice 2 additional directories: github and protobuf. The github dir is the protobuf generated code used by abci. It adds proper Python path (via __init___) and preserves all the import statements used by Tendermint for the various protobuf files spread across their codebase. The protobuf directory is the source .proto files.
To build the protobuf files:
Install protoc so it’s available as a command from a terminal
Run the genproto.py script
Getting Started
Extend the BaseApplication class
Implement the Tendermint ABCI callbacks - see https://github.com/tendermint/abci
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
Release files for bigchaindb-abci 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bigchaindb-abci-1.0.1.tar.gz | 30.1 kB | Details |
Release files / bigchaindb-abci-1.0.1.tar.gz
| Download URL | bigchaindb-abci-1.0.1.tar.gz |
|---|---|
| Size | 30.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a13e277a8ff67e908459601840b29b297057cd175d531f0bd5e8c9b817cca2a1
|
|
BLAKE2b-256 checksum How to use checksums |
74edf2c03c1f21d2e500bcb7d739e97191d615a906e42658039ffd5ad000747b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.9.1 pkginfo/1.4.2 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.19.6 CPython/3.7.4
|