https://github.com/fraidev/go-blockchain
A simple blockchain made with GO lang
https://github.com/fraidev/go-blockchain
blockchain descentralized go golang proof-of-work
Last synced: about 1 month ago
JSON representation
A simple blockchain made with GO lang
- Host: GitHub
- URL: https://github.com/fraidev/go-blockchain
- Owner: fraidev
- License: mit
- Created: 2021-04-26T20:21:38.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-12T03:12:39.000Z (about 4 years ago)
- Last Synced: 2025-03-27T20:51:15.913Z (about 2 months ago)
- Topics: blockchain, descentralized, go, golang, proof-of-work
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-blockchain
A simple blockchain made with GO langThis project was made based on the blockchain example made with Pyhon of this [blog post](https://hackernoon.com/learn-blockchains-by-building-one-117428612f46)
# Endpoints
* **/transactions/new** to create a new transaction to a block
* **/mine** to tell our server to mine a new block.
* **/chain** to return the full Blockchain
* **/nodes/register** to accept a list of new nodes in the form of URLs.
* **/nodes/resolve** to implement our Consensus Algorithm, which resolves any conflicts—to ensure a node has the correct chain.