-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I enable REST api service in hyperledger fabric 1.0 preview environment? #12
Comments
hi, in fabric peers, the rest api will be deprecated, and only support grpc connection. |
from my website i want to invoke,deploy or query. In my case if rest call doesnt work how can I communicate with chain code ? any example will be appreciated. |
You have to use the client or SDK. See http://hyperledger-fabric.readthedocs.io/en/latest/gettingstarted/ |
Thanks yeasy, I'll try some SDK samples. But still wondering how to integrate fabric-ca with orderer and peer process just like member service in v0.6. Hope that |
Thanks a lot. The upper link works perfectly in CLI mode. I followed all the instruction but when I call "node deploy.js" command it returns error from hackfest/node_modules/elliptic/lib/elliptic/ec/index.js file line 94:key = this.keyProfomPrivate(key,enc) returns null . May be this is because of certificate related error. What could be the reason.... |
suggest u post the problem to the node sdk channel. chat.hyperledger.org |
Yes I will try to find solution from there. Thanks |
Hi Yeasy, |
No, in 1.0, we do not support rest api feature. |
Thanks Year. |
The sdk is the only way. See https://wiki.hyperledger.org/projects/cello, which can work with sdk-py together. |
Should we use only py or can we use other SDKs from go, java, node. |
@kmohanar certainly depends on the application language. |
Is there any technical document/steps which explain how to make cello and sdk-py together to interact with the yeasy docker images. If so, Please share with us. If there is any other SDKs support to interact with fabric also fine. |
When i test a gateway for baas platform ,it gives me a error message that :'no channel peers configured for channel' |
Hi, yeasy, thanks for the great job of this project.I followed hyperledger/1.0/README.md, and run
go/chaincode_example02
by peer command successfully. But when I tried to access some REST api endpoint, orderer service always refused those http connection immediately.I am wondering how can share fabric-ca enroll session with peer proccess, sounds like fabric-ca server listenning port 8888, but peer server proccess do not communicate with this port. Is the reason that v1.0 is still on developing, integration part is not implemented yet?
The text was updated successfully, but these errors were encountered: