Skip to content

Commit

Permalink
feat: Add BLAST Sepolia chain (#194)
Browse files Browse the repository at this point in the history
* feat: Add BLAST Sepolia chain

* Fix lint error

---------

Co-authored-by: george-lr <[email protected]>
  • Loading branch information
george-lr and george-lr authored Jan 23, 2024
1 parent 43616b9 commit 4422850
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/constants/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,18 @@ const baseSepoliaAddresses: Addresses = {
AGGREGATOR_UNISWAP_V3: "",
};

const blastSepoliaAddresses: Addresses = {
LOOKS: "",
EXCHANGE_V2: "",
TRANSFER_MANAGER_V2: "",
WETH: "",
ORDER_VALIDATOR_V2: "",
REVERSE_RECORDS: "",
LOOKS_LP_V3: "",
STAKING_POOL_FOR_LOOKS_LP: "",
AGGREGATOR_UNISWAP_V3: "",
};

/**
* List of useful contract addresses
*/
Expand All @@ -96,4 +108,5 @@ export const addressesByNetwork: { [chainId in ChainId]: Addresses } = {
[ChainId.ARB_MAINNET]: arbitrumMainnetAddresses,
[ChainId.BASE_MAINNET]: baseMainnetAddresses,
[ChainId.BASE_SEPOLIA]: baseSepoliaAddresses,
[ChainId.BLAST_SEPOLIA]: blastSepoliaAddresses,
};
12 changes: 12 additions & 0 deletions src/constants/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,16 @@ export const chainInfo: { [chainId in ChainId]: ChainInfo } = {
cloudinaryUrl: "",
wsUrl: "ws://localhost:5001/ws",
},
[ChainId.BLAST_SEPOLIA]: {
label: "Blast Sepolia",
appUrl: "https://sepolia.looksrare.org",
explorer: "https://testnet.blastscan.io/",
rpcUrl: "https://sepolia.blast.io",
baseApiUrl: "https://graphql-sepolia.looksrare.org",
osApiUrl: "https://testnets-api.opensea.io",
cdnUrl: "https://static-sepolia.looksnice.org",
rewardsSubgraphUrl: "https://api.thegraph.com/subgraphs/name/0xjurassicpunk/looks-distribution",
cloudinaryUrl: "https://looksrare.mo.cloudinary.net/sepolia",
wsUrl: "wss://ws-sepolia.looksrare.org/ws",
},
};
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export enum ChainId {
ARB_SEPOLIA = 421614,
BASE_MAINNET = 8453,
BASE_SEPOLIA = 84532,
BLAST_SEPOLIA = 168587773,
}

/** ChainInfo data used to interact with LooksRare ecosystem */
Expand Down

0 comments on commit 4422850

Please sign in to comment.