Skip to content

Commit

Permalink
feat: add Story Mainnet (#3321)
Browse files Browse the repository at this point in the history
  • Loading branch information
biruichen authored Feb 9, 2025
1 parent 5689b08 commit 1206108
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/dry-hornets-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const story = /*#__PURE__*/ defineChain({
id: 1514,
name: 'Story',
nativeCurrency: {
decimals: 18,
name: 'IP Token',
symbol: 'IP',
},
rpcUrls: {
default: { http: ['https://mainnet.storyrpc.io'] },
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ export { sophon } from './definitions/sophon.js'
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 { storyOdyssey } from './definitions/storyOdyssey.js'
export { storyTestnet } from './definitions/storyTestnet.js'
export { stratis } from './definitions/stratis.js'
Expand Down

0 comments on commit 1206108

Please sign in to comment.