Browser-side client for Hyperledger Fabric 1.0? - hyperledger-fabric

Hyperledger Fabric has various SDKs (Node, Java, Go etc...) which are used to communicate with the fabric. A web user who wants to make a transaction must call a server that hosts a client based on those SDKs, which will then pass the call to the fabric.
I would like to skip a step and have a web browser application which submits transactions to a peer in the fabric. In v0.6 we developed a web app that made REST calls directly to the nodes but the API had security problems and is now deprecated.
If that's not possible, could someone explain to me why having a server for web users requests does not make the whole system more centralized?
Is developing with the Node SDK and then using Browserify a viable solution?
Thanks in advance.

Fabric API is in GRPC, so you would have to find the right package to support GRPC in browsers.

Related

Is it possible to install and work with Hyperledger explorer from Fabric client node?

Is it possible to install fabric client node ?
I am working with Aamzon managed block chain and I don`t see a way to use or have ready Hyperledger explorer on AWS managed block chain. Is it possible to have the endpoint for the same on this netwrok and how ? I have seen people using AWS hyperledger blockchain templates to generate the endpoint but not in the managed version.
If it is not possible, is it possible to install and use the same on the fabric client node and not on network ?
Priority would be to generate hyperledger explorer endpoint on AWS managed blockchain network if this is not possible how to do it on fabric client node or is it ok or possible to do so ?
Any ideas or suggestions are welcome !

How do clients connect to hyperledger fabric network?

If i have a fabric network with multiple peers, how can, say, a mobile app (representing the user) query data from that network ?
It would need the IP address of at least 1 peer, but how do i deliver this to the app as dynamically as possible ?
You can develop a gateway application using one of the below SDK's
Fabric comes with
NodeJS SDK
Go SDK
JAVA SDK
This gateway application will expose api's so that mobile app can consume whenever it required
I here by mention a sample open source fabcar application here

Connect between Android app and network on hyperledger composer

I created a network on the hyperledger composer locally. I can deal with this network as an admin but I will update this later to deal as a user.
My question is how can connect an Android app to this network locally?
And this connection will need an internet connection?
I need this app to participate and create assets and make transactions as I can do on hyperledger composer.
How can do that?
you can make your Android App talk to Hyperledger network using REST API's.
you can create REST API's using composer-rest-server
checkout instructions at this url
https://hyperledger.github.io/composer/latest/applications/web.html

How to integrate hyperledger explorer into application that interacts with ibm blockchain platform

I want to integrate hyperledger explorer into my angular application that interacts with my business network which is on the IBM blockchain platform.
My business network is deployed using composer and exposed as a composer REST server which my angular application interacts with.
Does anyone know of any resources to do this?
integration of IoT in Blockchain is possible if you have the right configuration. I personally checked it using IBM Bluemix. Simple steps to do:
1. Have IoT API ready to connect with Blockchain
2. Gather those data in synch in every ledger to run successful blockchain application.

What is the best option for decentralised login into hyperledger fabric network?

I have a blockchain business network setup on hyperledger composer which interacts with Hyperledger Fabric. My business network is then exposed as a REST server which my angular application interacts with.
Im just wondering what is the best way to setup decetralised login functionality to my angular application?

Resources