0 votes
1 view
in Blockchain by (11.8k points)

In Hyperledger Fabric endorsement policy is specified at chaincode instantiation using -P .

Is there any way other than specifying using CLI writing endorsement policy in a file and link that file at chaincode instantiation time instead of using cli?

Thanks in advance.

1 Answer

0 votes
by (27.7k points)

Yes, you can install chaincode via one of the Hyperledger Fabric SDKs and specify the policy as a JSON object

Welcome to Intellipaat Community. Get your technical queries answered by top developers !