Skip to content

Commit c3150b6

Browse files
committed
fix: edit readme notes
Signed-off-by: osamamagdy <osamamagdy174@gmail.com>
1 parent 42f1fef commit c3150b6

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

samples/chaincode/cc-tools-demo/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,11 @@ sudo rm -r $ccToolsDemoPath/chaincode
4545
```
4646

4747
**Note:** If you're inside the dev environment, you don't need the `sudo` permissions and don't need to `chown` the directory.
48-
The chaincode code structure is different than normal chaincode as it's using the cc-tools framework.
4948

5049
## Edit the chaincode to became an FPC chaincode instead of normal fabric
5150

51+
The chaincode code structure is different than normal chaincode as it's using the cc-tools framework.
52+
5253
Go to `$FPC_PATH/samples/chaincode/cc-tools-demo/main.go` and view the project structure.
5354

5455
```bash
@@ -181,7 +182,9 @@ In `$FPC_PATH/samples/chaincode/cc-tools-demo` directory, to build the chaincode
181182
make
182183
```
183184

184-
Note: this command runs inside the FPC dev environment and not your local host.
185+
**Note**: For those who have arm-based computers, you should use the method recommended in the [main readme](https://github.com/hyperledger/fabric-private-chaincode?tab=readme-ov-file#fpc-playground-for-non-sgx-environments) for building both the cc-tools-demo chaincode as well as ercc.
186+
187+
**Note**: this command runs inside the FPC dev environment and not your local host.
185188

186189
**Note**: If you faced this error:
187190

@@ -275,10 +278,10 @@ You should see now four containers running (i.e., `cc-tools-demo.peer0.org1`, `c
275278

276279
### Invoke simple getSchema transaction
277280

278-
Open a new terminal and connect to the `fpc-development-go-support` container by running
281+
Open a new terminal and connect to the `fpc-development-main` container by running
279282

280283
```bash
281-
docker exec -it fpc-development-go-support /bin/bash
284+
docker exec -it fpc-development-main /bin/bash
282285
```
283286

284287
```bash

0 commit comments

Comments
 (0)