You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -280,7 +280,7 @@ To run Java chaincode in dev mode:
280
280
281
281
2. Start the network with `fablo up`.
282
282
283
-
3. Build and run the Java chaincode locally:
283
+
3. Build and run the Java chaincode locally. As a sample you may use the chaincode from the Fablo source code from the `samples/chaincodes/java-chaincode` directory. Ensure a proper relative path is provided in Fablo config.
284
284
```bash
285
285
cd samples/chaincodes/java-chaincode
286
286
./run-dev.sh
@@ -300,13 +300,9 @@ For local development and review:
300
300
301
301
**Worth considering for Java chaincode:**
302
302
- If you want the chaincode running on multiple peers, start multiple instances with different `CORE_PEER_ADDRESS` values
303
-
- Ensure `CORE_CHAINCODE_ID_NAME` matches the chaincode name and version in your Fablo config
303
+
- Ensure `CORE_CHAINCODE_ID_NAME` matches the chaincode name and version in your Fablo config (for instance `chaincode1:0.0.1`)
304
304
- The Java chaincode uses Gradle's ShadowJar plugin to package all dependencies into a single JAR file
0 commit comments