It's the proof-of-thought that counts
Project description
Blockcard
Introduction
A pure Python implementation of the blockcard protocol's proof-of-thought system for gift transactions. Read the full paper here.
Installation
Install the latest version from PyPI with pip install blockcard
.
Usage
Generating the first block in a chain
python -m blockcard -g
Generating subsequent blocks in the chain:
python -m blockcard -g parent.blk
Displaying headers and metadata of a block:
python -m blockcard -d target.blk
(For longer messages you may want to pipe this into a pager like less
)
Checking validity of blocks
Check current block
python -m blockcard -c target.blk
Check all blocks in chain recursively
python -m blockcard -C target.blk
(All .blk files should be stored in current working directory)
Examples
Starting a new chain
Displaying an existing .bkc file
Appending to an existing chain and checking blocks recursively
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
blockcard-0.1.1.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for blockcard-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8526d041f54f47be3f7d80d90d8cbe36abd327ee82f15552a8bf461a3be8be0c |
|
MD5 | 6ce697dd4eba86dbc10e994352c4799d |
|
BLAKE2b-256 | b026c4f1daad194416924f7f4ca84952de4b929a29cf04b0606ae8f41ee41023 |