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
Displaying headers and message of a block:
python -m blockcard -d target.blk
Generating the first block in a chain
python -m blockcard -g
Generating subsequent blocks in the chain:
python -m blockcard -g parent.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)
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.2.tar.gz
(5.0 kB
view details)
Built Distribution
File details
Details for the file blockcard-0.1.2.tar.gz
.
File metadata
- Download URL: blockcard-0.1.2.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e3a63192f859703aebb2979d75e3e1aa231cf9908a5a6fa9e74774a57359da4 |
|
MD5 | 2d0426f7958e0304ed5e8c641b485af5 |
|
BLAKE2b-256 | 3c1c748e0ae28dcf97f5479d4556306cffbdcf9a26b07bd4dfbf86a256772502 |
File details
Details for the file blockcard-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: blockcard-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eba06c69e1338b03a8f938c7f8f8fa0caf1bd8f538b98f760be582d470c4a6e7 |
|
MD5 | bc63065e6ae3472d003a7f5054ac1cd1 |
|
BLAKE2b-256 | 41191a0f0b130123f865dbfd5c731c2a8fcab3818830c821c4299dc3fac44595 |