mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 23:45:10 +00:00
* Use numbers without leading zeroes for key Signed-off-by: Stefan Obermeier <scray@stefan-obermeier.de> * Update chaincode to be compatible with doc. E.g. Return key of the queried record Signed-off-by: Stefan Obermeier <scray@stefan-obermeier.de> * Clean up Use always whitespaces to indent the start of the line Remove unnecessary whitespaces Signed-off-by: Stefan Obermeier <scray@stefan-obermeier.de> |
||
|---|---|---|
| .. | ||
| config/checkstyle | ||
| gradle/wrapper | ||
| src | ||
| .gitignore | ||
| build.gradle | ||
| gradlew | ||
| gradlew.bat | ||
| README.md | ||
| settings.gradle | ||
Java FabCar contract sample
The directions for using this sample are documented in the Hyperledger Fabric Writing Your First Application tutorial.
The tutorial is based on JavaScript, however the same concepts are applicable when using Java.
To install and instantiate the Java version of FabCar, use the following command instead of the command shown in the Launch the network section of the tutorial:
./startFabric.sh javascript
NOTE: After navigating to the documentation, choose the documentation version that matches your version of Fabric