Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.

Commit 7f048f2

Browse files
committed
fix default chain rpc setup
1 parent 6bba178 commit 7f048f2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/Provider.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ export interface ThirdwebProviderProps<
133133
}
134134

135135
const defaultChainRpc: ThirdwebProviderProps["chainRpc"] = {
136-
1: "https://mainnet.infura.io/v3",
137-
4: "https://rinkeby.infura.io/v3",
138-
5: "https://goerli.infura.io/v3",
136+
1: "https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161",
137+
4: "https://rinkeby.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161",
138+
5: "https://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161",
139139
137: "https://polygon-rpc.com",
140140
250: "https://rpc.ftm.tools",
141141
43114: "https://api.avax.network/ext/bc/C/rpc",

src/constants/chain.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const chain = {
1111
symbol: "ETH",
1212
decimals: 18,
1313
},
14-
rpcUrls: ["https://mainnet.infura.io/v3"],
14+
rpcUrls: ["https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161"],
1515
blockExplorers: [
1616
{
1717
name: "Etherscan",
@@ -44,7 +44,7 @@ const chain = {
4444
symbol: "rETH",
4545
decimals: 18,
4646
},
47-
rpcUrls: ["https://rinkeby.infura.io/v3"],
47+
rpcUrls: ["https://rinkeby.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161"],
4848
blockExplorers: [
4949
{
5050
name: "Etherscan",
@@ -61,7 +61,7 @@ const chain = {
6161
symbol: "gETH",
6262
decimals: 18,
6363
},
64-
rpcUrls: ["https://goerli.infura.io/v3"],
64+
rpcUrls: ["https://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161"],
6565
blockExplorers: [
6666
{
6767
name: "Etherscan",

0 commit comments

Comments
 (0)