Skip to content

Commit

Permalink
Merge pull request #111 from lidofinance/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Jeday authored Oct 3, 2023
2 parents 749550e + 4dec580 commit 00466b6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions packages/constants/src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export enum CHAINS {
export const CHAINS_IDS = [
CHAINS.Mainnet,
CHAINS.Ropsten,
CHAINS.Holesky,
CHAINS.Rinkeby,
CHAINS.Goerli,
CHAINS.Kovan,
Expand All @@ -33,6 +34,7 @@ export const CHAINS_COLORS: {
[CHAINS.Ropsten]: '#ff4a8d',
[CHAINS.Rinkeby]: '#f6c343',
[CHAINS.Goerli]: '#3099f2',
[CHAINS.Holesky]: '#AA336A',
[CHAINS.Kovan]: '#9064ff',
};

Expand Down
4 changes: 4 additions & 0 deletions packages/fetch/src/providersUrls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ export const getInfuraRPCUrl = (chainId: CHAINS, apiKey: string): string => {
return `https://goerli.infura.io/v3/${apiKey}`;
case CHAINS.Kovan:
return `https://kovan.infura.io/v3/${apiKey}`;
case CHAINS.Holesky:
return `https://holesky.infura.io/v3/${apiKey}`;
default:
invariant(false, 'Chain is not supported');
}
Expand All @@ -34,6 +36,8 @@ export const getAlchemyRPCUrl = (chainId: CHAINS, apiKey: string): string => {
return `https://eth-goerli.alchemyapi.io/v2/${apiKey}`;
case CHAINS.Kovan:
return `https://eth-kovan.alchemyapi.io/v2/${apiKey}`;
case CHAINS.Holesky:
return `https://eth-holesky.alchemyapi.io/v2/${apiKey}`;
default:
invariant(false, 'Chain is not supported');
}
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12066,9 +12066,9 @@ typescript@^4.4.3:
linkType: hard

"word-wrap@npm:^1.2.3, word-wrap@npm:~1.2.3":
version: 1.2.3
resolution: "word-wrap@npm:1.2.3"
checksum: 30b48f91fcf12106ed3186ae4fa86a6a1842416df425be7b60485de14bec665a54a68e4b5156647dec3a70f25e84d270ca8bc8cd23182ed095f5c7206a938c1f
version: 1.2.4
resolution: "word-wrap@npm:1.2.4"
checksum: 8f1f2e0a397c0e074ca225ba9f67baa23f99293bc064e31355d426ae91b8b3f6b5f6c1fc9ae5e9141178bb362d563f55e62fd8d5c31f2a77e3ade56cb3e35bd1
languageName: node
linkType: hard

Expand Down

0 comments on commit 00466b6

Please sign in to comment.