diff --git a/.changeset/clever-squids-compare.md b/.changeset/clever-squids-compare.md new file mode 100644 index 00000000..2ac4c120 --- /dev/null +++ b/.changeset/clever-squids-compare.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": minor +--- + +Adding ZORA mainnet chain diff --git a/packages/chains/README.md b/packages/chains/README.md index 1dcb2d05..f38acdc6 100644 --- a/packages/chains/README.md +++ b/packages/chains/README.md @@ -91,6 +91,7 @@ const { chains, provider } = configureChains( - `telosTestnet` - `zkSync` - `zkSyncTestnet` +- `zora` - `zoraTestnet` ## Contributing diff --git a/packages/chains/src/index.ts b/packages/chains/src/index.ts index a7fab807..52f17c1a 100644 --- a/packages/chains/src/index.ts +++ b/packages/chains/src/index.ts @@ -102,4 +102,5 @@ export { xdcTestnet } from './xdcTestnet' export { zhejiang } from './zhejiang' export { zkSync } from './zkSync' export { zkSyncTestnet } from './zkSyncTestnet' -export { zoraTestnet } from './zoraTestnet' +export { zora } from './zora' +export { zoraTestnet } from './zoraTestnet' \ No newline at end of file diff --git a/packages/chains/src/zora.ts b/packages/chains/src/zora.ts new file mode 100644 index 00000000..bf5c3065 --- /dev/null +++ b/packages/chains/src/zora.ts @@ -0,0 +1,32 @@ +import { Chain } from './types' + +export const zora = { + id: 7777777, + name: 'ZORA', + network: 'zora', + nativeCurrency: { + decimals: 18, + name: 'Ether', + symbol: 'ETH', + }, + rpcUrls: { + default: { + http: ['https://rpc.zora.co'], + webSocket: ['wss://rpc.zora.co'], + }, + public: { + http: ['https://rpc.zora.co'], + webSocket: ['wss://rpc.zora.co'], + }, + }, + blockExplorers: { + etherscan: { name: 'ZORA', url: 'https://explorer.zora.co' }, + default: { name: 'ZORA', url: 'https://explorer.zora.co' }, + }, + contracts: { + multicall3: { + address: '0xcA11bde05977b3631167028862bE2a173976CA11', + blockCreated: 5882, + }, + }, +} as const satisfies Chain