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.
- Docker
- docker-compose
- Clone repo & all submodules
- Put
abi.json
,server.crt
andserver.key
files indata
folder - Export all required environment variables (see below)
- Run
scripts/run_proxy.sh
ruff check --config metrics/pyproject.toml metrics/src/
ruff format src/
ETH_ENDPOINT
- endpoint of the Ethereum network whereskale-manager
contracts are deployed
HEARTBEAT_URL
- URL for healthcheck endpoint (optional)USE_ALB
- Set toTrue
if the proxy is deployed behind a load balancer (like AWS ALB) that sets theX-Forwarded-For
header. This configures Nginx to correctly identify the client's real IP address for rate limiting. Defaults toFalse
if not set.
All contributions to SKALE Proxy are made under the GNU Affero General Public License v3. See LICENSE.
Copyright (C) 2022-Present SKALE Labs.