Python based ABCI Server for Tendermint
Project description
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
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
File details
Details for the file bigchaindb-abci-1.0.7.tar.gz
.
File metadata
- Download URL: bigchaindb-abci-1.0.7.tar.gz
- Upload date:
- Size: 32.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54226ec8c03fc09df424c93d1fea8110afabe1024dd5e97d4b29519b6f3d27d4 |
|
MD5 | 643004c4f1047652c90937542b09e1ca |
|
BLAKE2b-256 | 381e9befd9350d3bae357d8e0c5e9f7ddc0a5a6f6136f8248b8aecb360fda545 |