Skip to content

a proof of concept blockchain based on Ethereum with smart contract functionality based on course project by David Katz.

Notifications You must be signed in to change notification settings

CallumGrindle/blockchain

Repository files navigation

blockchain

a proof of concept blockchain based on Ethereum with smart contract functionality.

run root node (port 3000): npm run dev**

run peer node (random port): npm run dev-peer**

running a node will create an account within a transaction and sync previous blocks with other nodes

transactions are added to blocks which are added to the blockchain by mining


hit GET /blockchain to view all blocks in the blockchain

hit GET /blockchain/mine to mine a block. Nodes receive rewards for mining

hit GET /{account_address}/balance to view an account balance

hit POST /account/transaction to propose a transaction to be verified in the next block


** you will need PubNub credentials to run this application. Using pubnub is a limitation of this project as it centralises node communication. Truely decentralised peer to peer communication would be a big improvement

About

a proof of concept blockchain based on Ethereum with smart contract functionality based on course project by David Katz.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published