Connect between Android app and network on hyperledger composer - hyperledger-fabric

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

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

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?

Azure Hyperledger Fabric : Interacting with the network

I have a HyperLedger Fabric setup on Azure. I have spun-up the ready made software on the Azure. It has installed 4 machines peer0, peer1, ca & orderer.
Now where do i install the Composer software on? Do i need to spin up a new machine just for the composer or it should be installed on one of those 4 machines?
You don't actually need to install Fabric Composer on any of those machines. You should be able to run Composer locally and then just specify the correct endpoints in the connection profile in order to interact with the nodes deployed on Azure.
If you are looking to deploy Composer in the Azure, then yes, I'd suggest using a separate Azure VM / container for it

Resources