Skip to content

A project which demonstrates the concept of Blockchain and Cryptocurrency.

Notifications You must be signed in to change notification settings

mohitrajput987/BlockchainExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlockchainExample

A Java project to explain concept of Blockchain and Cryptocurrency.

Blockchain

Blockchain is a continuously growing list of records called "block". Each block contains-

  • Transaction Data
  • Hash
  • Previous block's hash
  • Timestamp
  • Nonce

Project contains following models/entities

  • Block
  • Wallet
  • Transaction
  • TransactionInput
  • TransactionOutput

Project contains following concepts

  • Creation of block
  • Mining of a block
  • Check integrity of Blockchain
  • Generating hash using SHA256
  • Generating private and public keys for wallet
  • Generating signature in transaction
  • Concept of inputs and outputs
  • Calculation of amount in wallet
  • Process a transaction
  • Send funds

Notes on Blockchain

This is the rough Notes of Blockchain created by me. I will write a detailed article about it soon. Till then you can read it to clear some quick concepts- Blockchain Notes

Note:- For now, Block contains single string as transaction data. It will be replaced by list of transactions.

About

A project which demonstrates the concept of Blockchain and Cryptocurrency.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages