diff --git a/.changeset/old-kiwis-sneeze.md b/.changeset/old-kiwis-sneeze.md new file mode 100644 index 0000000000..6cddeac159 --- /dev/null +++ b/.changeset/old-kiwis-sneeze.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Added Creator testnet. diff --git a/src/chains/definitions/creatorTestnet.ts b/src/chains/definitions/creatorTestnet.ts new file mode 100644 index 0000000000..de048fd9a8 --- /dev/null +++ b/src/chains/definitions/creatorTestnet.ts @@ -0,0 +1,25 @@ +import { defineChain } from '../../utils/chain/defineChain.js' + +export const creatorTestnet = defineChain({ + id: 66665, + name: 'Creator', + nativeCurrency: { + decimals: 18, + name: 'Ether', + symbol: 'ETH', + }, + rpcUrls: { + default: { + http: ['https://rpc.creatorchain.io'], + }, + }, + blockExplorers: { + default: { name: 'Explorer', url: 'https://explorer.creatorchain.io' }, + }, + contracts: { + multicall3: { + address: '0xcA11bde05977b3631167028862bE2a173976CA11', + }, + }, + testnet: true, +}) diff --git a/src/chains/index.ts b/src/chains/index.ts index 18f5fffd75..4ccc82b62e 100644 --- a/src/chains/index.ts +++ b/src/chains/index.ts @@ -91,6 +91,7 @@ export { coreDao } from './definitions/coreDao.js' export { corn } from './definitions/corn.js' export { cornTestnet } from './definitions/cornTestnet.js' export { crab } from './definitions/crab.js' +export { creatorTestnet } from './definitions/creatorTestnet.js' export { cronos } from './definitions/cronos.js' export { cronosTestnet } from './definitions/cronosTestnet.js' export { cronoszkEVM } from './definitions/cronoszkEVM.js'