Skip to content

Commit

Permalink
Small improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Electron committed May 25, 2024
1 parent 37597b8 commit cf0feed
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,32 +68,32 @@ You can check the sync status by following the logs with `docker logs -f hornet`
### Download Wasp-Cli

You can download a Wasp-Cli that matches your Wasp version from the [Wasp releases](https://github.com/iotaledger/wasp/releases).
You can use a commands like the following to for example download version 1.0.3:
You can use a commands like the following to for example download version 1.1.0:

```sh
curl -sL https://github.com/iotaledger/wasp/releases/download/v1.0.3/wasp-cli_1.0.3_Linux_x86_64.tar.gz | tar xzv
curl -sL https://github.com/iotaledger/wasp/releases/download/v1.1.0/wasp-cli_1.1.0_Linux_x86_64.tar.gz | tar xzv
```

Change directory into the newly-downloaded `wasp-cli` directory:

```sh
cd wasp-cli_1.0.3_Linux_x86_64/
cd wasp-cli_1.1.0_Linux_x86_64/
```

### Set the L1 API Address

Set the L1 API address. You can set it to what you configured as `NODE_HOST` in the `.env` file

```sh
./wasp-cli set l1.apiaddress {NODE_HOST}
./wasp-cli set l1.apiaddress https://{NODE_HOST}
```

### Set Wasp API Address

Set the WASP API address. It is your configured `NODE_HOST` and the `/wasp/api` path.

```sh
./wasp-cli wasp add my-node {NODE_HOST}/wasp/api
./wasp-cli wasp add my-node https://{NODE_HOST}/wasp/api
```

### Login
Expand Down Expand Up @@ -219,4 +219,4 @@ You should have a working EVM JSON-RPC endpoint on:
```

</TabItem>
</Tabs>
</Tabs>

0 comments on commit cf0feed

Please sign in to comment.