Is there any sdk or code out there that is example of directly connecting to the hyperledger fabric node with flutter.
I can use my flutter app with nodejs server and api's but it will depend on the api's so if it goes down then I can't access my app. So I'm trying to find is there any way that flutter can directly communicate with the hyperledger fabric node (peers) like there is nodejs, go and java sdks. is there any sdk out there for flutter or any other way to connect to the peer.
I tried finding sdk on github and google but i can't seem to find any. there is one out there but it is already deprecated.
github
No there is no SDK that will integrate directly with flutter. You need to build API's that will talk to Hyperledger fabric and You need to call those api's via flutter
Related
I'm a newbie when it comes to IFTTT, I want to create a service on ifttt but I'm a little bit confused. I found that I need to have an IFTTT service URL(api), but I still don't know what kind of url! is ifttt has an sdk like alexa and google actions? or how ifttt can understand my api response?
Yes IFTTT provides connect SDK for andoid and IOS which used integrate the API into your mobile apps. Before handling the connect sdk code you need to create a service(path to create a service is= https://ifttt.com/docs -> add service).Fill all the required service details. u need to have a server to expose your service and its endpoints over internet.
I'm interested in hosting my flutter web app on linode.com and also using it as a backend for my flutter mobile apps as a more affordable alternative to Google Firebase and AWS.
I've seen some articles online about using Digital Ocean for flutter apps, but does anyone have an idea of how to use Linode.com for hosting Flutter apps?
Thanks again
You could use Digital Ocean tutorials for Linode.com. The main part of installing your app to server is setting up VPS, installing softwares, and many more are same on every hosting provider. The only difference might be user interface used for creating virtual server instances.
With Hyperledger composer deprecated and fabric-rest-api (https://github.com/hyperledger-archives/fabric-sdk-rest) archived, what is the future roadmap of REST API for Hyperledger fabric? What is recommended way to expose rest APIs with Hyperledger Fabric 1.4.x? The documentation (https://hyperledger-fabric.readthedocs.io/en/release-1.4/fabric-sdks.html) mentions that REST SDK will be provided in subsequent releases - but cannot find a roadmap.
When you say REST api, I assume you mean a REST api to access your hyperledger fabric application ? If so then you would need to implement that yourself. As far as I know there is no plan to provide any sort of generic rest server that can access smart contracts hosted in fabric.
There were plans to build a Hyperledger Fabric REST SDK on top of the Node.js SDK, and work was started on this. The FABR key tracks all related stories to it on the Hyperledger Jira tracker (see https://jira.hyperledger.org/projects/FABR).
The related repository is https://github.com/hyperledger-archives/fabric-sdk-rest
However as you can see the project has been archived. Many people have made their own REST APIs which exposes the internal Fabric functionality through REST, including myself. Another example might be one made by Altoros (see https://github.com/Altoros/fabric-rest). The problem is that these are not always kept up to date and have questionable authentication (if any).
It's sad to say but the first thing you would have to develop to work with Hyperledger Fabric is your own set of tools.
For a very basic example of a REST API implementation for Hyperledger Fabric with the Node.js SDK, I would like to refer to https://medium.com/#kctheservant/an-implementation-of-api-server-for-hyperledger-fabric-network-8764c79f1a87.
I followed the instructions on IoT Asset Tracking on a Hyperledger Blockchain . BUILD and DEPLOY finished successfully, but I can't find the composer-rest-server- app under Cloud Foundry Applications.
I can use the CF Blockchain services, enter the Monitor and open the Swagger UI. The question is, where can I find the application-specific APIs mentioned in the tutorial:
If everything deployed correctly, you can find the app in the IBM Cloud dashboard at https://console.bluemix.net. If you have many apps and services deployed, make sure to filter correctly or to be aware of paging.
If you suspect that something got wrong during build and deploy, go to the toolchain and check the logs. The toolchains can also be reached from the dashboard.
I am very new to using APIs so please excuse me. I am currently using a Python-Django App service from IBM cloud app services and the IBM Watson Discovery resouce. I have followed all the steps given here:
https://console.bluemix.net/docs/apps/tutorials/tutorial_web.html#before-you-begin
I have a machine that has docker and so the app got built successfully. However I am lost as to how I am supposed to get the front end ( which I am writing in bootstrap, javascript ) to connect to the backend and link the API.
EDIT
For example : I want my app to accept documents, feed them in Discovery, extract the keywords and sentiments and display them in the UI. How do I know what to access from the server side code and what to link where in the UI.
It is a very broad question but its a compulsory project I need to do and I am clueless. Pleaassee Help !
Before you try to integrate an API, you will need to be familiar with Python and Django. If that is not the case, then you really need to go through a series of tutorials.
Then before deploying to the cloud, you will be better off running your Django app locally on your laptop. Use pip to install the watson-developer-cloud pypi module and use the API documentation to build the python code in your Django application - https://www.ibm.com/watson/developercloud/discovery/api/v1/python.html?python#query
If none of this makes sense, then you need to brush up on your knowledge of Python, Pip, and Django.
When you have the app running on your machine, then you will be ready to package it up into either a docker image or cloud foundry container and deploy to the cloud.