Skip to main content

Python based ABCI Server for Tendermint

Project description

Build blockchain applications in Python for Tendermint

Version

Supports ABCI v0.14.0 and latest Tendermint

Installation

Requires Python >= 3.6.5

pip install tm-abci OR python setup.py install

Generating Protobuf

ONLY needed for developing this code base, not to create apps. If you just want to create apps, goto Getting Started

  1. Update all .proto files (protobuf dir)

  2. Install protoc

  3. Install go

  4. Install gogo protobuf via go

  5. Run make gogo

Or using Docker container:

  1. Update all .proto files (protobuf dir)

  2. Build image:sudo docker build -t abcidev .

  3. Run container: sudo docker run -it abcidev sh

  4. Inside container run: make gogo

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/SoftblocksCo/tm-abci/blob/master/examples/counter.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tm-abci-0.6.1.1.tar.gz (20.4 kB view details)

Uploaded Source

File details

Details for the file tm-abci-0.6.1.1.tar.gz.

File metadata

  • Download URL: tm-abci-0.6.1.1.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/20.7.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.5.2

File hashes

Hashes for tm-abci-0.6.1.1.tar.gz
Algorithm Hash digest
SHA256 bbf703be3af90e1dc8842c74c12e932bccc8d1be884fc46687d805c39933ffbc
MD5 b4e54ffbc81413a71894fd68caf615f3
BLAKE2b-256 6035f6bf70d5b9f963d2c000335839ee29279e843af3a4fb06db8308d83c30f4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page