diff --git a/public/home/logos/base-logo.png b/public/home/logos/base-logo.png new file mode 100644 index 000000000..ca872b830 Binary files /dev/null and b/public/home/logos/base-logo.png differ diff --git a/public/icons/base-icon-dark.svg b/public/icons/base-icon-dark.svg new file mode 100644 index 000000000..16e57f314 --- /dev/null +++ b/public/icons/base-icon-dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/icons/base-icon-light.svg b/public/icons/base-icon-light.svg new file mode 100644 index 000000000..cd74a1045 --- /dev/null +++ b/public/icons/base-icon-light.svg @@ -0,0 +1,3 @@ + + + diff --git a/utils/chains.ts b/utils/chains.ts index 9c7eaae1a..79e19e629 100644 --- a/utils/chains.ts +++ b/utils/chains.ts @@ -28,7 +28,31 @@ export const zora = { }, } as const satisfies Chain -//Chains that are missing from wagmi: +export const base = { + id: 8453, + name: 'Base', + network: 'base', + nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 }, + rpcUrls: { + default: { + http: ['https://developer-access-mainnet.base.org'], + }, + public: { + http: ['https://developer-access-mainnet.base.org'], + }, + }, + blockExplorers: { + etherscan: { + name: 'Basescan', + url: 'https://basescan.org', + }, + default: { + name: 'BaseScan', + url: 'https://basescan.org', + }, + }, +} as const satisfies Chain + export const arbitrumNova = { id: 42170, name: 'Arbitrum Nova', @@ -181,4 +205,16 @@ export default [ collectionSetId: process.env.NEXT_PUBLIC_BSC_COLLECTION_SET_ID, community: process.env.NEXT_PUBLIC_BSC_COMMUNITY, }, + { + ...base, + lightIconUrl: '/icons/base-icon-dark.svg', + darkIconUrl: '/icons/base-icon-light.svg', + reservoirBaseUrl: 'https://api-base.reservoir.tools', + proxyApi: '/api/reservoir/base', + routePrefix: 'base', + apiKey: process.env.BASE_RESERVOIR_API_KEY, + coingeckoId: 'ethereum', + collectionSetId: process.env.NEXT_PUBLIC_BASE_COLLECTION_SET_ID, + community: process.env.NEXT_PUBLIC_BASE_COMMUNITY, + }, ] as ReservoirChain[]