Skip to content

ckw017/blockcard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Animated demos

Mining genesis block

Displaying a message

Appending a block

About

It's the proof-of-thought that counts!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published