Skip to content

Weijo/Simple-p2p-blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple-p2p-blockchain

Peer-to-peer blockchain using golang

Instructions:

Compile the go file and run it as such

Terminal 1

go build main.go
main.exe -h <your internal ip> -p <a port of your choice>

Terminal 2

go build main.go
main.exe -h <your internal ip> -p <a port of your choice> <terminal1 ip + port>

Example

  • Terminal 1
go build main.go
main.exe -h 192.168.1.2 -p 4444
  • Terminal 2
go build main.go
main.exe -h 192.168.1.3 -p 4445 192.168.1.2:4444

About

p2p blockchain with Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published