Skip to content

xans-me/grpc-blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Blockchain with gRPC

this project is a simple example of how blockchain works. in this case using the gRPC call procedure is because gRPC uses HTTP 2.0, which makes the data exchange process faster than using the API call procedure in general.

How to Run :

  1. run go mod tidy first to get needed package.
  2. go run server/main.go : to running server.
  3. And on the client side , type go run client/main.go --add to add some blocks of hash
  4. And type go run client/main.go --list to get block of hash .

Credits

  1. https://golang.org - The Go programming language
  2. gRPC - A high-performance, open source universal RPC framework
  3. Protocol Buffer - Protocol buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data.
  4. Go - Protobuf - Go support for Google's protocol buffers

About

Example of how `blockchain` works using gRPC + Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages