pos-blockchain

command module
v0.0.0-...-2fdb8c0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2021 License: MIT Imports: 15 Imported by: 0

README

PoS-blockchain

Proof of Stake Blockchain coded in golang.

Installation:
(Linux)
  • git clone https://github.com/SkepX/PoS-blockchain
  • sudo apt install golang -y
  • go get github.com/joho/godotenv
  • go get -u github.com/davecgh/go-spew/spew
  • cd PoS-blockchain
  • mv port.env .env
  • go run main.go
  • open a new terminal window and nc localhost 9000
  • input token amount
  • input a BPM
  • wait a few seconds to see which of the two terminals won.
  • open multiple terminals for nc localhost 9000 and watch Proof of Stake in action!
Screenshots:
Genesis Block

screen

Token Balance to stake

screen

Assigned address

screen

Winner Validator

screen

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL