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.0.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for blockcard-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e54aaa1a685a893347709c78025df0b9dbff4b031713b57c59e44851215da1e |
|
MD5 | 0818f9cb5696d6c4b626d59f98bc51e8 |
|
BLAKE2b-256 | 48bdc034e50eee3e11fade7af50f52895ae1a50c4dc86c688cace9c550e851b2 |