diff --git a/definition/mainnets/ponder.crab.ts b/definition/mainnets/ponder.crab.ts index 3130265..fcaef85 100644 --- a/definition/mainnets/ponder.crab.ts +++ b/definition/mainnets/ponder.crab.ts @@ -14,7 +14,7 @@ export default createConfig({ crab: { chainId: 44, transport: loadBalance([ - http("http://c1.crab-rpc.itering.io:9944/"), + http(progress.env.ENDPOINT_44 || "http://c1.crab-rpc.itering.io:9944/"), // http("https://hrpc.darwinia.network/crab"), // http("http://c2.crab-rpc.itering.io:9944/"), // http("http://g1.crab2.darwinia.network:9944/"), diff --git a/definition/mainnets/ponder.darwinia.ts b/definition/mainnets/ponder.darwinia.ts index ec87845..17d4b57 100644 --- a/definition/mainnets/ponder.darwinia.ts +++ b/definition/mainnets/ponder.darwinia.ts @@ -13,7 +13,7 @@ export default createConfig({ networks: { darwinia: { chainId: 46, - transport: http("http://c2.darwinia-rpc.itering.io:9944/"), + transport: http(progress.env.ENDPOINT_46 || "http://c2.darwinia-rpc.itering.io:9944/"), // transport: http("https://hrpc.darwinia.network/darwinia"), maxRequestsPerSecond: MAX_REQUESTS_PER_SECOND, },