fabric-samples/asset-transfer-private-data/application-gateway-typescript
Stanislav Jakuschevskij 9b199d4e0b Add private data go application
Created project directory, app.go and connect.go files. Reused the logic for
connect.go from the events application and added second organization setup.

Implemented private data transaction example in go as described in the main
documentation in "Tutorials/Using Private Data in Fabric".

Updated README.md with the command to run the go application and the script
which runs the application in the Github Actions workflow.

Fixed typos and punctuation in the private data typescript application.

Signed-off-by: Stanislav Jakuschevskij <stas@two-giants.com>
2024-10-31 16:30:25 -04:00
..
src Add private data go application 2024-10-31 16:30:25 -04:00
.gitignore Private data samples migration (#574) 2022-03-09 08:51:48 +00:00
.npmrc Enable engine-strict checks for TypeScript Gateway samples (#726) 2022-04-29 15:59:50 +01:00
eslint.config.mjs Update TypeScript implementations 2024-06-18 06:51:58 -04:00
package.json Simplify Java client error-handling example 2024-10-24 23:45:04 -04:00
README.md Private data samples migration (#574) 2022-03-09 08:51:48 +00:00
tsconfig.json Update TypeScript implementations 2024-06-18 06:51:58 -04:00

Asset Transfer Private Data Sample

This app uses fabric-samples/test-network based setup and the companion chaincode asset-transfer-private-data/chaincode-go/ with chaincode endorsement policy as "OR('Org1MSP.peer','Org2MSP.peer')"

For this usecase illustration, we will use both Org1 & Org2 client identity from this same app In real world the Org1 & Org2 identity will be used in different apps to achieve asset transfer.

For more details refer: https://hyperledger-fabric.readthedocs.io/en/release-2.4/private_data_tutorial.html#pd-use-case