Skip to content

Commit

Permalink
Merge pull request #61 from skalenetwork/remove-network-ui
Browse files Browse the repository at this point in the history
Hotfix: fix ETH_ENDPOINT variable name
  • Loading branch information
dmytrotkk authored Feb 6, 2024
2 parents 5c9c392 + 93e2c6b commit 5f8db94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Discord](https://img.shields.io/discord/534485763354787851.svg)](https://discord.gg/vvUtWJB)

SKALE Proxy is high performance, easy-to-run public service that provides proxied and load-balanced
SKALE Proxy is high performance, easy-to-run public service that provides proxied and load-balanced
JSON-RPC endpoints for SKALE chains. It is based on NGINX.

## Usage guide
Expand All @@ -14,14 +14,14 @@ JSON-RPC endpoints for SKALE chains. It is based on NGINX.

### Repo setup

1. Clone repo & all submodules
2. Put `abi.json`, `server.crt` and `server.key`files in `data` folder
1. Clone repo & all submodules
2. Put `abi.json`, `server.crt` and `server.key`files in `data` folder
3. Export all required environment variables (see below)
4. Run `scripts/run_proxy.sh`

#### Required environment variables

- `ENDPOINT` - endpoint of the Ethereum network where `skale-manager` contracts are deployed
- `ETH_ENDPOINT` - endpoint of the Ethereum network where `skale-manager` contracts are deployed

## License

Expand All @@ -30,4 +30,3 @@ JSON-RPC endpoints for SKALE chains. It is based on NGINX.
All contributions to SKALE Proxy are made under the [GNU Affero General Public License v3](https://www.gnu.org/licenses/agpl-3.0.en.html). See [LICENSE](LICENSE).

Copyright (C) 2022-Present SKALE Labs.

2 changes: 1 addition & 1 deletion scripts/run_proxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

export DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

: "${ENDPOINT?Need to set ENDPOINT}"
: "${ETH_ENDPOINT?Need to set ETH_ENDPOINT}"

cd $DIR/..
docker-compose up --build -d

0 comments on commit 5f8db94

Please sign in to comment.