Skip to content

Goqwin/GoCryptoMine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptomine

This a simple attempt of simulating a Blockchain System; with the usage of caesar ciphers and API endpoints in the language GO.

Blockchain Implementation in Go

This project is a simple implementation of a blockchain in Go. It demonstrates the fundamental concepts of blockchain technology including creating blocks, mining blocks with proof-of-work, and maintaining the integrity of the chain.

Features

  • Creation of individual blocks with transactions
  • Proof-of-work implementation for mining blocks
  • Validation of the blockchain's integrity
  • RESTful API to interact with the blockchain
  • Console operations for testing

Getting Started

Prerequisites

  • Go (Golang) installed on your system
  • Gin installation
  • Godot installation
  • Basic understanding of Go and RESTful APIs

There are commands and the imports you can refer to within the repo.

Side comments:

  • Further improvements can be made by maintainence of the code and modularizing them into different files ex: util, models, main, blockchain, blocks, api, etc.
  • I can use additional ciphers to enhance the security of the hash. (Intend to down the line.)
  • I can improve the hashing algorithm as the time complexity is O(n).
  • I intend to add UI/UX design to this simple blockchain so the user can do the API request and visualize the handles/functions
  • Add more scalability with the keys and the blocks.
  • Output Screenshot 2023-12-30 212909

    About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages