Skip to content

chewton2k/blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Blockchain Project

A simple blockchain application built using Python and Flask. This project demonstrates the core concepts of blockchain, including creating blocks, hashing, and a basic web interface for interacting with the blockchain.


Features

  • Create and manage a blockchain with multiple blocks.
  • Add transactions and mine new blocks.
  • Flask-based web server for interacting with the blockchain.
  • REST API endpoints for querying the blockchain and submitting transactions.
  • Run locally or over your local network.

Technologies Used

  • Python 3.14
  • Flask for the web server
  • Python libraries: hashlib, json, time, uuid, requests, urllib.parse

Installation

It’s recommended to use a Python virtual environment for development.

# Clone the repository
git clone https://github.com/chewton2k/blockchain
cd BlockChain

# Create a virtual environment
python3 -m venv venv
source venv/bin/activate  # macOS/Linux
# venv\Scripts\activate   # Windows

# Install dependencies
pip install flask
pip install request

# To Run
python blockchain.py 

Acknowledgements

This project was inspired and completed with the help of the article:

About

Python BlockChain Project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages