Skip to content

DoubleLane/SimpleBlockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleBlockchain

A basic implementation of a proof of work blockchain in Java.

Table of Contents

  1. Introduction
  2. Features
  3. Installation
  4. Usage
  5. Contributing
  6. License
  7. Contact

Introduction

SimpleBlockchain is a beginner-friendly project that demonstrates the basic concepts of a blockchain. It is implemented in Java and designed to be easy to understand and modify.

Features

  • Basic blockchain structure
  • Simple proof-of-work algorithm
  • Block validation

Installation

To install and run this project, follow these steps:

  1. Clone the repository:
    git clone https://github.com/DoubleLane/SimpleBlockchain.git
  2. Navigate to the project directory:
    cd SimpleBlockchain
  3. Compile the project:
    javac -d bin src/*.java

Usage

To run the blockchain:

  1. Navigate to the bin directory:
    cd bin
  2. Run the main class:
    java blockchain.Main

This will start the blockchain and execute the main logic as defined in the Main class.

Contributing

Contributions are welcome! Follow these steps to contribute:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Make your changes
  4. Commit your changes (git commit -m 'Add some feature')
  5. Push to the branch (git push origin feature-branch)
  6. Open a pull request

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

Created by DoubleLane. Feel free to contact me if you have any questions.

Basic blockchain structure

Simple proof-of-work algorithm

Block validation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages