Skip to content

Commit

Permalink
read endpoint from env for darwinia and crab
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa authored Nov 25, 2024
1 parent 85f28b4 commit dad45e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion definition/mainnets/ponder.crab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/"),
Expand Down
2 changes: 1 addition & 1 deletion definition/mainnets/ponder.darwinia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit dad45e1

Please sign in to comment.