diff --git a/docs/operate/config-reference.mdx b/docs/operate/config-reference.mdx index 0f8308bf..02cb4119 100644 --- a/docs/operate/config-reference.mdx +++ b/docs/operate/config-reference.mdx @@ -1,5 +1,5 @@ -import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; +import Tabs from "@theme/Tabs"; # Configuration Reference @@ -892,6 +892,45 @@ Connections to Cosmos chains require **both** RPC and gRPC URLs. There is **no ` +## rpcUrls + +:::info + +Connections to non-EVM chains only support a single RPC url. If more than one RPC url is specified, only the first one will be used. + +::: + +**Description:** Comma-separated URLs to connect the providers to. This field accepts RPC URLs from all chains for easy configuration. + +Each RPC URL will be queried for chain ID and used for related chain. RPC URLs will be in the order of their configuration and this field + +is preceeding the per-chain [rpcUrls](#chainschain_namerpcurls) configuration. + +**Type:** `string` (comma separated list of urls without spaces) + + + +```bash +--rpcurls "$CONNECTION_URLS" +--rpcurls "http://127.0.0.1:8545,http://127.0.0.1:8546,http://127.0.0.1:8547" +``` + + + + ```bash + export HYP_RPCURLS="$CONNECTION_URLS" + ``` + + + +```json +{ + "rpcUrls": "http://127.0.0.1:8545,http://127.0.0.1:8546" +} +``` + + + ## defaultsigner :::info