fabric-samples/asset-transfer-private-data/chaincode-typescript
Mark S. Lewis 099f52ba3f
Update fabric-gateway to v1.8.0
Node 20+ is now required. This is the oldest currently support LTS
version of Node.js.

Docker images are moved to Node 22, which is the current LTS release.

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2025-07-24 17:11:33 +01:00
..
docker chaincode-typescript 2023-05-17 13:40:30 -04:00
src chore: use errors.New to replace fmt.Errorf with no parameters (#1277) 2024-12-10 11:15:02 +00:00
.dockerignore chaincode-typescript 2023-05-17 13:40:30 -04:00
.gitignore chaincode-typescript 2023-05-17 13:40:30 -04:00
collections_config.json chaincode-typescript 2023-05-17 13:40:30 -04:00
Dockerfile Update fabric-gateway to v1.8.0 2025-07-24 17:11:33 +01:00
eslint.config.mjs Update Node chaincode for v2.5.5 release 2024-06-03 15:27:51 -04:00
npm-shrinkwrap.json Use more specific chaincode package versions 2024-06-14 00:24:08 -04:00
package.json Update fabric-gateway to v1.8.0 2025-07-24 17:11:33 +01:00
Readme.md chaincode-typescript 2023-05-17 13:40:30 -04:00
tsconfig.json Update Node chaincode for v2.5.5 release 2024-06-03 15:27:51 -04:00

Usage

This chaincode written for Hyperledger Fabric private data tutorial(https://hyperledger-fabric.readthedocs.io/en/latest/private_data_tutorial.html).

Deploy chaincode with:

  1. cd fabric-samples/asset-transfer-private-data/chaincode-typescript/
  2. npm install
  3. npm run build
  4. cd fabric-samples/test-network/
  5. ./network.sh deployCC -ccn private -ccp ../asset-transfer-private-data/chaincode-typescript/ -ccl typescript -ccep "OR('Org1MSP.peer','Org2MSP.peer')" -cccg ../asset-transfer-private-data/chaincode-typescript/collections_config.json