#fabric-chaincode #fabric-chaincode

music prime

i am running byfn through terminal.it is using some chaincode example_02 which is present in fabric samples.
now i have my own chaincode so how can i use that chaincode instead of example_02 chaincode.

need help.

Kamlesh Nagware


You can copy your own chaincode in same folder or mount the chaincode folder to docker-compose file in cli container.
For simplicity, you can modify example_02 chaincode as per your own chaincode logic and run byfn.