Skip to content

Commit

Permalink
feat: add Story Aeneid chain (#3354)
Browse files Browse the repository at this point in the history
  • Loading branch information
rasplarry authored Feb 17, 2025
1 parent f85f6d9 commit eec264f
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/twenty-moons-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added Story Aeneid chain.
28 changes: 28 additions & 0 deletions src/chains/definitions/storyAeneid.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { defineChain } from '../../utils/chain/defineChain.js'

export const storyAeneid = /*#__PURE__*/ defineChain({
id: 1315,
name: 'Story Aeneid',
network: 'story-aeneid',
nativeCurrency: {
decimals: 18,
name: 'IP',
symbol: 'IP',
},
rpcUrls: {
default: { http: ['https://aeneid.storyrpc.io'] },
},
blockExplorers: {
default: {
name: 'Story Aeneid Explorer',
url: 'https://aeneid.storyscan.xyz',
},
},
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 1792,
},
},
testnet: true,
})
3 changes: 3 additions & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,10 @@ export { sophonTestnet } from './definitions/sophonTestnet.js'
export { spicy } from './definitions/spicy.js'
export { step } from './definitions/step.js'
export { story } from './definitions/story.js'
export { storyAeneid } from './definitions/storyAeneid.js'
/** @deprecated Use `storyAeneid` instead. */
export { storyOdyssey } from './definitions/storyOdyssey.js'
/** @deprecated Use `storyAeneid` instead. */
export { storyTestnet } from './definitions/storyTestnet.js'
export { stratis } from './definitions/stratis.js'
export { superlumio } from './definitions/superlumio.js'
Expand Down

0 comments on commit eec264f

Please sign in to comment.