Skip to content

Commit

Permalink
feat: Add Arbitrum chain info
Browse files Browse the repository at this point in the history
  • Loading branch information
niratodev committed Dec 8, 2023
1 parent fd2e052 commit 1fe41fa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions src/constants/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@ export const chainInfo: { [chainId in ChainId]: ChainInfo } = {
cloudinaryUrl: "https://looksrare.mo.cloudinary.net/sepolia",
wsUrl: "wss://ws-sepolia.looksrare.org/ws",
},
[ChainId.ARB_MAINNET]: {
label: "Arbitrum",
appUrl: "https://looksrare.org",
explorer: "https://arbiscan.io",
rpcUrl: "https://arb-mainnet.g.alchemy.com/v2",
baseApiUrl: "https://graphql.looksrare.org",
osApiUrl: "https://api.opensea.io",
cdnUrl: "https://static.looksnice.org",
rewardsSubgraphUrl: "https://api.thegraph.com/subgraphs/name/looksrare/looks-distribution",
cloudinaryUrl: "https://looksrare.mo.cloudinary.net",
wsUrl: "wss://ws.looksrare.org/ws",
},
[ChainId.ARB_SEPOLIA]: {
label: "Arbitrum Sepolia",
appUrl: "https://sepolia.looksrare.org",
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export enum ChainId {
GOERLI = 5,
SEPOLIA = 11155111,
HARDHAT = 31337,
// ARB_MAINNET = 42161,
ARB_MAINNET = 42161,
ARB_SEPOLIA = 421614,
}

Expand Down

0 comments on commit 1fe41fa

Please sign in to comment.