diff --git a/cicd/README.md b/cicd/README.md index 689ab29..be98a31 100644 --- a/cicd/README.md +++ b/cicd/README.md @@ -15,7 +15,7 @@ REVERSE_CSC=0x4444444444444444444444444444444444444444 docker run --env-file .env xinfinorg/xdc-zero:latest endpointandregisterchain.js ``` -- add the output to .env +- Add the output to .env ``` SUBNET_ZERO_CONTRACT=0x5555555555555555555555555555555555555555 PARENTNET_ZERO_CONTRACT=0x6666666666666666666666666666666666666666 @@ -23,11 +23,12 @@ PARENTNET_ZERO_CONTRACT=0x6666666666666666666666666666666666666666 ## Register Application to XDC Zero -- add the user application contract address to .env +- Add the user application contract address to .env ``` SUBNET_APP=0x7777777777777777777777777777777777777777 PARENTNET_APP=0x8888888888888888888888888888888888888888 ``` +- Run command ``` docker run --env-file .env xinfinorg/xdc-zero:latest applicationregister.js ``` @@ -58,6 +59,7 @@ REVERSE_CSC=0x4444444444444444444444444444444444444444 ``` 3. Deploy endpoint and register chain + ``` cd cicd node endpointandregisterchain.js @@ -65,11 +67,13 @@ node endpointandregisterchain.js 4. Register Application -- add the user application contract address to cicd/mount/.env +- Add the user application contract address to cicd/mount/.env ``` SUBNET_APP=0x7777777777777777777777777777777777777777 PARENTNET_APP=0x8888888888888888888888888888888888888888 ``` + +- Run command ``` node applicationregister.js ```