Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Blockchain by (12.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 (29.8k points)

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

Related questions

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

28.4k questions

29.7k answers

500 comments

94k users

Browse Categories

...