Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix: fix ETH_ENDPOINT variable name #61

Merged
merged 1 commit into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading