hyperledger-archives / fabric

THIS IS A READ-ONLY historic repository. Current development is at https://gerrit.hyperledger.org/r/#/admin/projects/fabric . pull requests not accepted
https://gerrit.hyperledger.org/
Apache License 2.0
1.17k stars 1.01k forks source link

Documentation Needs a Sample Application Issuing REST codes to run chaincode #562

Open bmos299 opened 8 years ago

bmos299 commented 8 years ago

I was working with @bcbrock and he made a great point that there is sample chaincode in the project, yet there is not application driving the code. The current example simply demonstrates the rest call itself. Documenting a 'hello world' type app driving the chaincode deploy, invoke, query would be great for usability.

bmos299 commented 8 years ago

@dshuffma-ibm informed me he is currently working on a sample app.

dshuffma-ibm commented 8 years ago

Can confirm. It is a node.js application that creates and trades marbles. Very simple, hello-world ish application to get a dev familiar with chaincode interaction. Will be ready at the end of week.

bmos299 commented 8 years ago

@dshuffma-ibm - Perfect. Thanks. Can you send to @bcbrock if you have something now?

dshuffma-ibm commented 8 years ago

phase 1 ready: https://github.ibm.com/openblockchain/obc-js-demo

Edited* https://github.com/IBM-Blockchain/marbles

srderson commented 8 years ago

@dshuffma-ibm - That link no longer works. Has it moved elsewhere? Maybe you could start a wiki page in Fabric of sample apps?

joshhus commented 8 years ago

Would be good to vet our bluemix examples / samples, which include / link to this specific one also. See links on the right pane at: https://console.ng.bluemix.net/docs/services/blockchain/index.html

dshuffma-ibm commented 8 years ago

thanks, I fixed my link above

dshuffma-ibm commented 8 years ago

So in case anyone else finds this thread there are/should be list of projects at this link now (in addition to the IBM Bluemix sample's link above):

https://github.com/hyperledger/fabric/wiki/Projects Edit https://github.com/hyperledger/fabric/wiki/Implementations

joshhus commented 8 years ago

ey so Hyperledger is an LF "project" -- so are these better described as not "projects" also but as "implementations" or "examples" or "samples" of the HL project, or similar? ... Maybe they are Hyperledger projects, DK ... it just threw me a little bit. Not a huge deal, just fyi.

joshhus commented 8 years ago

Okay I get it now, you're the one using this correctly ... So the project has projects, fair enough: ... "The term “project” within the Hyperledger Project will refer to a collaborative endeavor to deliver a work item. There may be some projects that are intended to produce a document, such as a requirements or use cases document, a whitepaper, or analysis."

christo4ferris commented 8 years ago

@bmos299 @srderson is this still open? Seems to be satisfied (though I have separate concerns with the wiki page, that I can address directly). Suggest we close.

christo4ferris commented 8 years ago

link above should now be https://github.com/hyperledger/fabric/wiki/Implementations