Skip to content

Commit

Permalink
Add opstack config to blast chain
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandron committed Jan 1, 2025
1 parent 2361ef1 commit 7dab385
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/nine-moons-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added opstack config to blast chain
3 changes: 3 additions & 0 deletions src/chains/definitions/blast.ts
Original file line number Diff line number Diff line change
@@ -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: {
Expand All @@ -21,6 +23,7 @@ export const blast = /*#__PURE__*/ defineChain({
},
},
contracts: {
...chainConfig.contracts,
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 212929,
Expand Down
1 change: 1 addition & 0 deletions src/op-stack/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 7dab385

Please sign in to comment.