8000 GitHub - davebryson/py-tendermint: A Python microframework for building blockchain applications with Tendermint
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

davebryson/py-tendermint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py-Tendermint

A Python microframework for building blockchain applications with Tendermint

Inspired by Flask, py-tendermint makes it easy to quickly prototype a Tendermint ABCI application.

NOTE: the current version is broken due to ABCI changes For the interim, see py-abci

py-tendermint hides some of the repetitive setup for you by providing:

  • A Patricia Trie backed by persistent storage
  • Common Transaction model based on RLP (from Ethereum)
  • RPC Client
  • Accounts
  • ed25519 Keys

If you want to stay closer to the metal, check out the Tendermint Python ABCI library: https://github.com/davebryson/py-abci

Requirements

  • Python 3.6.x
  • Tendermint engine (of course)

Install

  • python setup.py install (pip install in the future)

Install

  • python setup.py install (pip install in the future)

Try it out

  • Run Tendermint 'init': tendermint --home ~/.pytendermint init Note we use a different home directory. to keep all our blockchain apps seperated.
  • In another terminal, start the app: python examples/simpleapp.py
  • Now start tendermint: tendermint --home ~/.pytendermint node
  • Finally, open another terminal and talk to the app: python examples/simpleapp_client.py

About

A Python microframework for building blockchain applications with Tendermint

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0