Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
GalaxySciTech authored Jul 5, 2024
1 parent 1ca0f1f commit e0ec7df
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions cicd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,20 @@ 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
```

## 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
```
Expand Down Expand Up @@ -58,18 +59,21 @@ REVERSE_CSC=0x4444444444444444444444444444444444444444
```

3. Deploy endpoint and register chain

```
cd cicd
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
```

0 comments on commit e0ec7df

Please sign in to comment.