Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Simple Python Blockchain

Description

This project is a simple implementation of a blockchain in Python. The blockchain consists of blocks with a proof-of-work mechanism for mining and a basic consensus algorithm. Each block contains an index, timestamp, data, hash, and nonce.

Getting Started

Project Structure

  • simple_blockchain.py: Python script containing the blockchain implementation.
  • README.md: Documentation providing an overview of the project.

Usage

  • The script generates a blockchain with 10 blocks and prints details for each block.
  • Modify the blocks_to_add variable in simple_blockchain.py to adjust the number of blocks added to the blockchain.

Contributing

  1. Fork the repository.
  2. Create a new branch for your feature: git checkout -b feature-name
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin feature-name
  5. Submit a pull request.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages