Skip to content

goamegah/bitcoin-blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain Bitcoin Simulation

Python programming language badge indicating version 3.10 or higher in blue Flask badge

This repository contains a simulation of the Bitcoin blockchain implemented in Python. It provides a simplified model of how transactions are processed, blocks are mined, and the overall functioning of the Bitcoin network.

alt text

Features

  • Simulates a network of nodes that validate and propagate transactions.
  • Implements a basic proof-of-work algorithm for mining blocks.
  • Provides a RESTful API for interacting with the blockchain.

Requirements

  • Python 3.10 or higher
  • Required packages listed in pyproject.toml

Installation

  • Clone the repository:
git clone https://github.com/goamegah/bitcoin-blockchain.git
cd bitcoin-blockchain
  • Install the required packages:
uv sync

Usage

To run the simulation, execute the main script:

uv run python app.py

Acknowledgements

  • Inspired by the original Bitcoin whitepaper by Satoshi Nakamoto.
  • Thanks to the open-source community for their contributions to blockchain technology.

About

Python Flask simulation of BitCoin Blockchain

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors