From 7dab38556fb50794cff6d248e828a92f37fe26fb Mon Sep 17 00:00:00 2001 From: Ron Suhodrev Date: Wed, 1 Jan 2025 14:17:35 +0900 Subject: [PATCH] Add opstack config to blast chain --- .changeset/nine-moons-shop.md | 5 +++++ src/chains/definitions/blast.ts | 3 +++ src/op-stack/chains.ts | 1 + 3 files changed, 9 insertions(+) create mode 100644 .changeset/nine-moons-shop.md diff --git a/.changeset/nine-moons-shop.md b/.changeset/nine-moons-shop.md new file mode 100644 index 0000000000..03122e0acd --- /dev/null +++ b/.changeset/nine-moons-shop.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Added opstack config to blast chain diff --git a/src/chains/definitions/blast.ts b/src/chains/definitions/blast.ts index b128b2e6fc..c77e30ec5a 100644 --- a/src/chains/definitions/blast.ts +++ b/src/chains/definitions/blast.ts @@ -1,8 +1,10 @@ +import { chainConfig } from '../../op-stack/chainConfig.js' import { defineChain } from '../../utils/chain/defineChain.js' const sourceId = 1 // mainnet export const blast = /*#__PURE__*/ defineChain({ + ...chainConfig, id: 81457, name: 'Blast', nativeCurrency: { @@ -21,6 +23,7 @@ export const blast = /*#__PURE__*/ defineChain({ }, }, contracts: { + ...chainConfig.contracts, multicall3: { address: '0xcA11bde05977b3631167028862bE2a173976CA11', blockCreated: 212929, diff --git a/src/op-stack/chains.ts b/src/op-stack/chains.ts index 97f5192670..ec989271cf 100644 --- a/src/op-stack/chains.ts +++ b/src/op-stack/chains.ts @@ -4,6 +4,7 @@ export { ancient8Sepolia } from '../chains/definitions/ancient8Sepolia.js' export { base } from '../chains/definitions/base.js' export { baseGoerli } from '../chains/definitions/baseGoerli.js' export { baseSepolia } from '../chains/definitions/baseSepolia.js' +export { blast } from '../chains/definitions/blast.js' export { fraxtal } from '../chains/definitions/fraxtal.js' export { fraxtalTestnet } from '../chains/definitions/fraxtalTestnet.js' export { inkSepolia } from '../chains/definitions/inkSepolia.js'