Skip to content

knowledgearcdotorg/phpblockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

PHP BlockChain

PHP Blockchain is a simple implementation of the blockchain data structure and proof-of-work using the PHP programming language. It is designed as an introduction to blockchain technology for PHP programmers.

To run, download the source code, and, from the command line, run:

php tests/simplechain.php

This will output a simple blockchain with 3 blocks.

php tests/hackchain.php

This will validate the chain before and after a block is changed and shows the immutability of blockchains.

About

A simple PHP-based blockchain.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages