Explore Courses Blog Tutorials Interview Questions
0 votes
in Blockchain by (12.7k 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 (29.5k points)

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

Related questions

Browse Categories