Skip to content

Commit

Permalink
feat: Ankr testnets
Browse files Browse the repository at this point in the history
Added ankr testnets for ropsten, rinkeby, goerli

BREAKING CHANGE: n
  • Loading branch information
codingwithmanny authored and codingwithmanny committed May 3, 2022
1 parent d20f4ee commit 620ca7c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/core/src/constants/rpcs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,15 @@ export const infuraRpcUrls: Record<InfuraChains, string> = {
arbitrumRinkeby: 'https://arbitrum-rinkeby.infura.io/v3',
} as const

type AnkrChains = Extract<ChainName, 'mainnet' | 'polygon' | 'arbitrum'>
type AnkrChains = Extract<
ChainName,
'mainnet' | 'ropsten' | 'rinkeby' | 'goerli' | 'polygon' | 'arbitrum'
>
export const ankrRpcUrls: Record<AnkrChains, string> = {
mainnet: 'https://rpc.ankr.com/eth',
ropsten: 'htps://rpc.ankr.com/eth_ropsten',
rinkeby: 'https://rpc.ankr.com/eth_rinkeby',
goerli: 'https://rpc.ankr.com/eth_goerli',
polygon: 'https://rpc.ankr.com/polygon',
arbitrum: 'https://rpc.ankr.com/arbitrum',
} as const

0 comments on commit 620ca7c

Please sign in to comment.