Skip to content

Commit

Permalink
update rpc list
Browse files Browse the repository at this point in the history
  • Loading branch information
xzilja committed Aug 22, 2023
1 parent 19f3179 commit 919c07f
Showing 1 changed file with 46 additions and 2 deletions.
48 changes: 46 additions & 2 deletions packages/wagmi/src/utils/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,52 @@ export function walletConnectProvider<C extends Chain = Chain>({
}: Options): ChainProviderFn<C> {
return function provider(chain) {
const supported = [
1, 5, 10, 69, 420, 999, 42161, 42220, 421613, 1313161554, 1313161555, 3, 4, 42, 56, 97, 100,
137, 280, 324, 8453, 43114, 84531, 80001, 421611, 7777777, 11155111
// Ethereum
1,
// Ethereum Goerli
5,
// Ethereum Sepolia
11155111,
// Optimism
10,
// Optimism Goerli
420,
// Arbitrum
42161,
// Arbitrum Goerli
421613,
// Polygon
137,
// Polygon Mumbai
80001,
// Celo Mainnet
42220,
// Aurora
1313161554,
// Aurora Testnet
1313161555,
// Binance Smart Chain
56,
// Binance Smart Chain Testnet
97,
// Avalanche C-Chain
43114,
// Avalanche Fuji Testnet
43113,
// Gnosis Chain
100,
// Base
8453,
// Base Goerli
84531,
// Zora
7777777,
// Zora Goerli
999,
// ZkSync Era Mainnet
324,
// ZkSync Era Testnet
280
]

if (!supported.includes(chain.id)) {
Expand Down

0 comments on commit 919c07f

Please sign in to comment.