diff --git a/.changeset/strong-pandas-change.md b/.changeset/strong-pandas-change.md new file mode 100644 index 0000000000..63b6f87e21 --- /dev/null +++ b/.changeset/strong-pandas-change.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Added Omax Mainnet. diff --git a/src/chains/definitions/omax.ts b/src/chains/definitions/omax.ts new file mode 100644 index 0000000000..546766b06e --- /dev/null +++ b/src/chains/definitions/omax.ts @@ -0,0 +1,21 @@ +import { defineChain } from '../../utils/chain/defineChain.js' + +export const omax = /*#__PURE__*/ defineChain({ + id: 311, + name: 'Omax Mainnet', + nativeCurrency: { + decimals: 18, + name: 'OMAX', + symbol: 'OMAX', + }, + rpcUrls: { + default: { http: ['https://mainapi.omaxray.com'] }, + }, + blockExplorers: { + default: { + name: 'Omax Explorer', + url: 'https://omaxscan.com', + }, + }, + testnet: false, +}) diff --git a/src/chains/index.ts b/src/chains/index.ts index e3cce43c7d..224d66b160 100644 --- a/src/chains/index.ts +++ b/src/chains/index.ts @@ -278,6 +278,7 @@ export { oasisTestnet } from './definitions/oasisTestnet.js' export { oasys } from './definitions/oasys.js' export { odysseyTestnet } from './definitions/odysseyTestnet.js' export { okc } from './definitions/okc.js' +export { omax } from './definitions/omax.js' export { oneWorld } from './definitions/oneWorld.js' export { oortMainnetDev } from './definitions/oortmainnetDev.js' export { opBNB } from './definitions/opBNB.js'