Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 589 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 589 Bytes

GoChainCore

Blockchain from Scratch

This is a simple blockchain implementation in Go.

Files

  • block.go: Contains the definition of the Block struct and related functions.
  • pow.go: Contains the Proof of Work (PoW) implementation.
  • blockchain.go: Contains the main function and blockchain initialization.

How to Run

  1. Make sure you have Go installed.
  2. Clone this repository.
  3. Navigate to the project directory.
  4. Run go mod init github.com/yourusername/yourrepository to initialize the module.
  5. Run go run . to start the application.

Example Output