skalenetwork / skale-proxy

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.
GNU Affero General Public License v3.0
2 stars 3 forks source link

Add possibility to setup proxy for specified list of chains #36

Open payvint opened 1 year ago

payvint commented 1 year ago

Problem

Skale-proxy is a proxy solution which support all chains for selected Skale-manager and Ethereum chain. If customer/partner want to run Skale-proxy for his/her own chain, it is impossible right now and customer/partner will spin up Skale-proxy which is supporting all chains connected to provided setup(Skale-manager & Ethereum chain)

Solution

Add variable to inventory/dev to select a list of supported chains, if variable does not exist or it is empty assume that all chains should be supported, if variable contains incorrect schain name - raise an error with "Schain name is incorrect"