Skip to content

Commit

Permalink
use versioning in readme (#24)
Browse files Browse the repository at this point in the history
use versioning in readme
  • Loading branch information
wanwiset25 authored Jul 11, 2024
1 parent adbf5f7 commit 0d1ee4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cicd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Based on the provided `.env.example`, create your own `.env` file with the follo
Run the following command to deploy the endpoints and register the chain:

```sh
docker run --env-file .env xinfinorg/xdc-zero:latest endpointandregisterchain.js
docker run --env-file .env xinfinorg/xdc-zero:v0.1.1 endpointandregisterchain.js
```

Add the output to your `.env` file:
Expand All @@ -38,7 +38,7 @@ There are some application example , you can feel free to deploy
(Optional)Here Subswap is our default provided application, you can also deploy your own custom app.

```sh
docker run --env-file .env xinfinorg/xdc-zero:latest subswap.js
docker run --env-file .env xinfinorg/xdc-zero:v0.1.1 subswap.js
```

### 3. Register Application to XDC Zero
Expand All @@ -51,7 +51,7 @@ Add the user application contract address to your `.env` file:
Run the following command:

```sh
docker run --env-file .env xinfinorg/xdc-zero:latest applicationregister.js
docker run --env-file .env xinfinorg/xdc-zero:v0.1.1 applicationregister.js
```

---
Expand Down
2 changes: 1 addition & 1 deletion cicd/subswap.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function deploySubswap() {
u.writeEnv(config.parentnetPK, config.relativePath);
console.log("deploying subswap on parentnet");
parentnetEndpointOut = u.callExec(
"cd ../applications/subswap/contract; npx hardhat run scripts/subnettreasurydeploy.js --network xdcparentnet"
"cd ../applications/subswap/contract; npx hardhat run scripts/parentnettreasurydeploy.js --network xdcparentnet"
);
parentnetSubswapAddr = parseEndpointOutput(parentnetEndpointOut);

Expand Down

0 comments on commit 0d1ee4d

Please sign in to comment.