Skip to content

Commit

Permalink
docs: add note about org names
Browse files Browse the repository at this point in the history
Signed-off-by: osamamagdy <[email protected]>
  • Loading branch information
osamamagdy committed Nov 6, 2024
1 parent 5f5eaa9 commit 60efa3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/chaincode/cc-tools-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ Congratulations! You have successfully created an FPC chaincode with go using cc

Now you can test all your work again by running the [test](./testTutorial.sh) script

**Note:** In cc-tools-demo, most of these transactions set permissions to filter which orgs are allowed to invoke it or not. The current organization used in this script is "Org1MSP". Also, beware that org names are case semsitive

## Next Step

CC-tools-demo also provides a unique API server called CCAPI that is able to communicate with the peers and execute transactions through a REST API. We integrated this either in the [CCAPI tutorial](../../application/ccapi/)
4 changes: 4 additions & 0 deletions samples/chaincode/cc-tools-demo/testTutorial.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ sleep 5
./fpcclient invoke getSchema

########################## Some transactions to test ####################################

##NOTE: In cc-tools-demo, most of these transactions set permissions to filter which orgs are allowed to invoke it or not. The current organization used in this script is "Org1MSP".
## Beware that org names are case semsitive

# sleep 5
# ./fpcclient invoke createNewLibrary "{\"name\":\"samuel\"}"
# sleep 5
Expand Down

0 comments on commit 60efa3a

Please sign in to comment.