Skip to content

Commit

Permalink
Updated RPC
Browse files Browse the repository at this point in the history
Signed-off-by: Quentin D.C <[email protected]>
  • Loading branch information
quent043 committed Nov 24, 2023
1 parent ad2e4f8 commit b4fdc63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function getChainConfig(chain: Network): NetworkUserConfig {
jsonRpcUrl = 'https://polygon-rpc.com/'
break
case Network.MUMBAI:
jsonRpcUrl = process.env.MUMBAI_RPC || 'https://matic-mumbai.chainstacklabs.com'
jsonRpcUrl = process.env.MUMBAI_RPC || 'https://polygon-mumbai-bor.publicnode.com'
break
default:
jsonRpcUrl = 'https://mainnet.infura.io/v3/' + infuraApiKey
Expand All @@ -74,6 +74,7 @@ function getChainConfig(chain: Network): NetworkUserConfig {
},
chainId: chain,
url: jsonRpcUrl,
gasMultiplier: 1.5,
}
}

Expand Down

0 comments on commit b4fdc63

Please sign in to comment.