User should have a folder with valid chaincode files.
How to zip chaincode in DL Gateway Fabric Blockchain
Go to the folder where chaincode files are present in your system.
Select the files to be zipped.
Press right click after selecting the files.
From the list of options select Send to -> Compressed(zipped) folder .
A. Following example is for NodeJS. (Note: only accepted files for NodeJS are .js and .json).
B. Following example is for Golang. (Note: only accepted files for Golang are .go, .mod and .sum).
A zipped folder has been created.
While using DL Gateway Fabric Blockchain to deploy the chaincode on DL Gateway, the user will be required to browse and select the zipped file from the folder where it is created.