Skip to content

SkepX/PoS-blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Proof of Stake Blockchain coded in golang.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published