Skip to content

Commit

Permalink
FAB-5185 Remove/correct references to Java chaincode
Browse files Browse the repository at this point in the history
Java chaincode support was removed for v1.0.0 so
need to make this clear in the docs as well as clarify
that Go is the only fully supported language for
chaincode.  Also added a link to Hyperledger
Composer under supported languages as well

Change-Id: I8bbc9e65f371df9d0835910f89a22bba16568074
Signed-off-by: Gari Singh <gari.r.singh@gmail.com>
  • Loading branch information
mastersingh24 committed Jul 5, 2017
1 parent a2f91c5 commit d6c2071
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 194 deletions.
16 changes: 7 additions & 9 deletions docs/source/Fabric-FAQ.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,13 @@ implemented.
Q. Which languages are supported for writing chaincode?

A. Chaincode can be written in any programming language and executed in
containers. We are also looking into developing a templating language (such
as Apache Velocity) that can either be compiled into chaincode or have
its interpreter embedded into a chaincode container.

The first fully supported chaincode language is Golang, and
support for JavaScript and Java is planned for 2016. Support for
additional languages and the development of a Hyperledger Fabric-specific
templating language have been discussed, and more details will be released in
the near future.
containers. The first fully supported chaincode language is Golang.

Support for additional languages and the development of a templating language
have been discussed, and more details will be released in the near future.

It is also possible to build Hyperledger Fabric applications using
`Hyperledger Composer <https://hyperledger.github.io/composer/>`__.

Q. Does the Hyperledger Fabric have native currency?

Expand Down
182 changes: 0 additions & 182 deletions docs/source/Setup/JAVAChaincode.rst

This file was deleted.

2 changes: 1 addition & 1 deletion docs/source/blockchain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ it, for example), and not the transaction log.

Chaincode can be implemented in several programming languages. The currently
supported chaincode language is `Go <https://golang.org/>`__ with support
for Java and other languages coming in subsequent releases.
for Java and other languages coming in future releases.

**Privacy**

Expand Down
2 changes: 1 addition & 1 deletion docs/source/smartcontract.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The widely-used term, smart contract, is referred to as "chaincode" in
Hyperledger Fabric.

Self-executing logic that encodes the rules for specific types of
network transactions. Chaincode (currently written in Go or Java) is
network transactions. Chaincode (currently written in Go) is
installed and instantiated onto a channel's peers by an appropriately
authorized member. End users then invoke chaincode through a client-side
application that interfaces with a network peer. Chaincode runs network
Expand Down
2 changes: 1 addition & 1 deletion docs/source/txflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Client A and Client B. The endorsement policy states that both peers must endors
any transaction, therefore the request goes to ``peerA`` and ``peerB``.

Next, the transaction proposal is constructed. An application leveraging a supported
SDK (node, java, python) utilizes one of the available API's which generates a
SDK (Node, Java, Python) utilizes one of the available API's which generates a
transaction proposal. The proposal is a request to invoke a chaincode function
so that data can be read and/or written to the ledger (i.e. write new key value
pairs for the assets). The SDK serves as a shim to package the transaction proposal
Expand Down

0 comments on commit d6c2071

Please sign in to comment.