Prerequisites
- System Pre-requisites
A. Docker should be installed.
B. Git should be installed.
C. Docker compose should be installed
D. Git bash path should be set in environment variables for Windows OS.
E. Set bash CLI to bash for Linux OS.
F. Add user to “sudo” group for Linux OS. -
User should have a **Project** running on **DL Gateway**.
Deploy Hyperledger Fabric Chaincode on DL Gateway in DL Gateway Fabric Blockchain
-
Get Project Secret , Channel Name, and Network Name from your project on DL Gateway .
-
On the deploy chaincode screen, under the Deploy on Gateway section, choose Chaincode Type in which your chaincode is written. i.e., either NodeJS or Golang.
-
Enter Chaincode Name for chaincode.
-
Enter Chaincode Version for chaincode.
-
Enter Channel Name used in DL Gateway project.
-
Enter Network Name used in DL Gateway project.
-
Enter initializing Function Name for your chaincode (default will be init ).
-
Enter Arguments for initializing function given above.
-
Enter your Email with which you created an account on DL Gateway.
-
Enter Project Secret from the project on DL Gateway.
-
Select the zip file of your chaincode by clicking on Upload Chaincode button.
-
Click on Deploy on Gateway to start deploying process on DL Gateway.