command
module
Version:
v0.0.0-...-2fdb8c0
Opens a new window with list of versions in this module.
Published: Mar 28, 2021
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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

Token Balance to stake

Assigned address

Winner Validator

Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.