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.

Files for blockcard, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size blockcard-0.1.0-py3-none-any.whl (6.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size blockcard-0.1.0.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page