Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1001 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 1001 Bytes

Python Tools for Chainweb

Chainweb is the consensus protocol that is used by the Kadena blockchain. It is a highly scalable version of Nakamoto consensus that is used by Bitcoin. Chainweb supports parallel mining and sharded payload processing.

This package represents a growing selection of tools for working with data structures from Chainweb.

New features are added on demand. If you miss something please file an issue or submit a PR.

Block Header Type

Python representation of Chainweb block headers.

Block Payload Types

These types reflect the Chainweb view onto block payloads. The type captures the structure that is represented in the on-chain Merkle tree. Semantics aspects of the Pact smart contract language are mostly ignored as they are not relevant for the consensus protocol.

For convenience, some Pact related JSON formatted content is parsed and represented as dict.