Implementation of Blockchain

A quick 'n dirty implementation of a basic blockchain data structure to learn about Blockchain and understand some of the fundamentals using Golang

Project Structure

mkdir blockchain
cd Blockchain 
code .

Or you can clone the repository and start use it directly

git clone https://github.com/EncrypteDL/Simple-Block.git
cd Simple-Block
code . #if you are using vscode
Simple-Block
├── internal
│   └── block.go
│   └── chain.go
│   └── util.go
├── go mod
└── main.go

The codes

block.go

chain.go

util.go

main.go

The Output

Last updated