Skip to main content

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


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)

Uploaded Source

Built Distribution

blockcard-0.1.1-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page