eth-proxy
Reverse proxy to ethereum nodes. Currently just working for beacon nodes.
Features:
- Status endpoint for all your beacon nodes
- Beacon chain API path based allow list. Allows you to restrict which API endpoints you’re exposing.
Endpoints
Status: Shows you the configured nodes and some additional information about them.
curl http://localhost:5555/status
Reverse proxy to a specific node by name
curl http://localhost:5555/proxy/beacon/node1/eth/v1/node/identity
Building and running
Adjust the configuration file for your needs. An example can be seen in example_config.yaml
go build -o bin/eth-proxy ./cmd/eth-proxy && ./bin/eth-proxy --config example_config.yaml