diff --git a/.changeset/late-walls-compete.md b/.changeset/late-walls-compete.md new file mode 100644 index 0000000000..da93f39f86 --- /dev/null +++ b/.changeset/late-walls-compete.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Added Ubiq Mainnet. diff --git a/src/chains/definitions/ubiq.ts b/src/chains/definitions/ubiq.ts new file mode 100644 index 0000000000..d2c96ec052 --- /dev/null +++ b/src/chains/definitions/ubiq.ts @@ -0,0 +1,19 @@ +import { defineChain } from '../../utils/chain/defineChain.js' + +export const ubiq = /*#__PURE__*/ defineChain({ + id: 8, + name: 'Ubiq Mainnet', + nativeCurrency: { name: 'UBQ', symbol: 'UBQ', decimals: 18 }, + rpcUrls: { + default: { + http: ['https://pyrus2.ubiqscan.io'], + }, + }, + blockExplorers: { + default: { + name: 'Ubiq Scan', + url: 'https://ubiqscan.io', + }, + }, + testnet: false, +}) diff --git a/src/chains/index.ts b/src/chains/index.ts index 58be9dcbe9..c66aab940d 100644 --- a/src/chains/index.ts +++ b/src/chains/index.ts @@ -365,6 +365,7 @@ export { thunderCore } from './definitions/thunderCore.js' export { thunderTestnet } from './definitions/thunderTestnet.js' export { tiktrixTestnet } from './definitions/tiktrixTestnet.js' export { tron } from './definitions/tron.js' +export { ubiq } from './definitions/ubiq.js' export { ultron } from './definitions/ultron.js' export { ultronTestnet } from './definitions/ultronTestnet.js' export { unichainSepolia } from './definitions/unichainSepolia.js'