diff --git a/.changeset/breezy-geese-train.md b/.changeset/breezy-geese-train.md new file mode 100644 index 0000000000..9614ab3d19 --- /dev/null +++ b/.changeset/breezy-geese-train.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Added Cannon chain. diff --git a/src/chains/definitions/cannon.ts b/src/chains/definitions/cannon.ts new file mode 100644 index 0000000000..6b98f7fa1b --- /dev/null +++ b/src/chains/definitions/cannon.ts @@ -0,0 +1,14 @@ +import { defineChain } from '../../utils/chain/defineChain.js' + +export const cannon = /*#__PURE__*/ defineChain({ + id: 13_370, + name: 'Cannon', + nativeCurrency: { + decimals: 18, + name: 'Ether', + symbol: 'ETH', + }, + rpcUrls: { + default: { http: ['http://127.0.0.1:8545'] }, + }, +}) diff --git a/src/chains/index.ts b/src/chains/index.ts index 80d35583a4..e53dab8fa5 100644 --- a/src/chains/index.ts +++ b/src/chains/index.ts @@ -57,6 +57,7 @@ export { btr } from './definitions/btr.js' export { btrTestnet } from './definitions/btrTestnet.js' export { bxn } from './definitions/bxn.js' export { bxnTestnet } from './definitions/bxnTestnet.js' +export { cannon } from './definisions/cannon.js' export { canto } from './definitions/canto.js' export { celo } from './definitions/celo.js' export { celoAlfajores } from './definitions/celoAlfajores.js'