6

I am fairly new to networking protocols especially JSON-RPC and gRPC as they are not nearly as common in web development as REST. I was reading around and seems like gRPC generally performs better. So why does Ethereum and other blockchains tend to use JSON-RPC and not gRPC?

2
  • 3
    Possibly for the same reason that Solidity does not support floating-point standard IEEE-754. It has to be executable (in the sense of "able to execute") on every possible client. May 26, 2020 at 17:47
  • 4
    I don't know if there is a reason, but Ethereum started development in 2014 before grpc was introduced by google in 2015. Also json-rpc is more simple than grpc and less demanding.
    – Ismael
    May 26, 2020 at 18:17

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.