Skip to content

Commit

Permalink
fix: wrong URL used for nethermind free provider
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI committed Jan 12, 2024
1 parent 5880a23 commit 00cddfb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,11 @@ impl ProviderArgs {
}
FreeProviderVendor::Nethermind => {
if matched_network.chain_id == CHAIN_ID_MAINNET {
Some("https://starknet-mainnet.public.blastapi.io/rpc/v0_6")
Some("https://free-rpc.nethermind.io/mainnet-juno/rpc/v0_6")
} else if matched_network.chain_id == CHAIN_ID_GOERLI {
Some("https://starknet-testnet.public.blastapi.io/rpc/v0_6")
Some("https://free-rpc.nethermind.io/goerli-juno/rpc/v0_6")
} else if matched_network.chain_id == CHAIN_ID_SEPOLIA {
Some("https://starknet-sepolia.public.blastapi.io/rpc/v0_6")
Some("https://free-rpc.nethermind.io/sepolia-juno/rpc/v0_6")
} else {
None
}
Expand Down

0 comments on commit 00cddfb

Please sign in to comment.