Skip to content

Commit 406da72

Browse files
committed
update README
Signed-off-by: Osama Rabea <159753803+OsamaRab3@users.noreply.github.com>
1 parent 15779f7 commit 406da72

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ To run Java chaincode in dev mode:
280280
281281
2. Start the network with `fablo up`.
282282
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.
284284
```bash
285285
cd samples/chaincodes/java-chaincode
286286
./run-dev.sh
@@ -300,13 +300,9 @@ For local development and review:
300300
301301
**Worth considering for Java chaincode:**
302302
- 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`)
304304
- The Java chaincode uses Gradle's ShadowJar plugin to package all dependencies into a single JAR file
305305
306-
307-
308-
309-
310306
## Channel scripts
311307
312308
### channel help

0 commit comments

Comments
 (0)