Skip to content

Commit

Permalink
Merge pull request #829 from reservoirprotocol/jaden/platf-4887-fix-b…
Browse files Browse the repository at this point in the history
…roken-ethereum-rpc-on-explorer-affecting-purchases

feat: fixing mainnet rpc
  • Loading branch information
JadenDurnford authored Jan 3, 2025
2 parents 64b37f6 + cf539a1 commit 4b52c74
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/four-poets-shave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@reservoir0x/reservoir-sdk': patch
---

fixing mainnet rpc
37 changes: 37 additions & 0 deletions packages/sdk/src/utils/customChains.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
import { Chain } from 'viem'

export const mainnet = {
id: 1,
name: 'Ethereum',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: {
http: [
'https://ethereum-rpc.publicnode.com',
'https://mainnet.gateway.tenderly.co',
'https://rpc.flashbots.net',
'https://rpc.mevblocker.io',
'https://eth.drpc.org',
],
},
},
blockExplorers: {
default: {
name: 'Etherscan',
url: 'https://etherscan.io',
apiUrl: 'https://api.etherscan.io/api',
},
},
contracts: {
ensRegistry: {
address: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',
},
ensUniversalResolver: {
address: '0xce01f8eee7E479C928F8919abD53E553a36CeF67',
blockCreated: 19_258_213,
},
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 14_353_601,
},
},
} as const satisfies Chain

export const ancient8 = {
id: 888888888,
name: 'Ancient8',
Expand Down

0 comments on commit 4b52c74

Please sign in to comment.