Skip to content

Commit

Permalink
feat: use Ankr RPC in wagmi
Browse files Browse the repository at this point in the history
  • Loading branch information
popzxc committed Nov 14, 2024
1 parent 16a5d19 commit 7ebe9ed
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions data/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,20 @@ export const l1Networks = {
...mainnet,
name: "Ethereum",
network: "mainnet",
rpcUrls: {
default: {
http: [`https://rpc.ankr.com/eth/${portalRuntimeConfig.ankrToken}`],
},
},
},
sepolia: {
...sepolia,
name: "Ethereum Sepolia Testnet",
rpcUrls: {
default: {
http: [`https://rpc.ankr.com/eth_sepolia/${portalRuntimeConfig.ankrToken}`],
},
},
},
} as const;
export type L1Network = Chain;
Expand Down

0 comments on commit 7ebe9ed

Please sign in to comment.