Skip to content

Sam-Orion/BlockLedger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlockLedger

BlockLedger is a Java-based blockchain implementation that demonstrates the fundamental concepts of blockchain technology, including wallet creation, transaction processing, and block mining. This project serves as an educational tool for understanding the mechanics of cryptocurrencies and distributed ledger systems.

Features

  • Wallet Generation: Create unique wallets with public and private key pairs for secure transactions.
  • Transaction Management: Facilitate transactions between wallets, including signature generation and verification to ensure authenticity.
  • Block Mining: Implement a proof-of-work consensus mechanism to mine new blocks and add them to the blockchain.
  • Blockchain Validation: Verify the integrity of the blockchain by checking hashes and ensuring no tampering has occurred.

Installation

To set up BlockLedger locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Sam-Orion/BlockLedger.git
  2. Navigate to the project directory:

    cd BlockLedger
  3. Build the project using Gradle:

    Ensure you have Gradle installed. Then, run:

    gradle build

Usage

To run the BlockLedger application:

  1. Execute the main class:

    java -cp build/classes/java/main noobchain.Main
  2. Observe the console output:

    The application will generate wallets, perform transactions, mine blocks, and display the blockchain status in the console.

Contributing

Contributions to BlockLedger are welcome. To contribute:

  1. Fork the repository.

  2. Create a new branch:

    git checkout -b feature/your-feature-name
  3. Make your changes.

  4. Commit your changes:

    git commit -m "Add your commit message here"
  5. Push to your branch:

    git push origin feature/your-feature-name
  6. Create a Pull Request detailing your changes.

License

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

Acknowledgements

  • Inspired by educational resources on blockchain technology and Java programming.
  • Utilizes the Bouncy Castle library for cryptographic functions.

About

No description, website, or topics provided.

Resources

License

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages