0 votes
1 view
in Blockchain by (12.8k points)

I'm really new to Hyperledger and blockchain. From what I understand, the whole meaning of the blockchain is to build decentralized applications, not depending on a single server.

So my question is: Is there a way to query and work with a Fabric node directly from a web browser? I believe Ethereum solves this problem with web3.js.

Thank you very much for your help.

1 Answer

0 votes
by (29.8k points)

 No.Web3.js communicates with Ethereum over JSON RPC and is supported by browsers.Hyperledger Fabric, on the other hand, uses Protobuf over grpc. Currently, there is no such implementation like web3.js that can communicate directly using a browser with Hyperledger Fabric.

However Hyperledger Burrow, that provides a permissioned version of Ethereum and supports Solidity Smart Contracts does not yet support web3.js

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...