Skip to content

Commit

Permalink
feat: add Story Odyssey testnet (wevm#3095)
Browse files Browse the repository at this point in the history
* feat: add Story Odyssey testnet

* Update storyOdyssey.ts

* Create many-lies-drum.md

---------

Co-authored-by: jxom <[email protected]>
  • Loading branch information
timothyshen and jxom authored Dec 5, 2024
1 parent 8b70d75 commit 1d2ae84
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/many-lies-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const storyOdyssey = /*#__PURE__*/ defineChain({
id: 1516,
name: 'Story Odyssey',
nativeCurrency: {
decimals: 18,
name: 'IP',
symbol: 'IP',
},
rpcUrls: {
default: { http: ['https://rpc.odyssey.storyrpc.io'] },
},
blockExplorers: {
default: {
name: 'Story Odyssey Explorer',
url: 'https://odyssey.storyscan.xyz',
},
},
testnet: true,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,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 { storyOdyssey } from './definitions/storyOdyssey.js'
export { storyTestnet } from './definitions/storyTestnet.js'
export { stratis } from './definitions/stratis.js'
export { superlumio } from './definitions/superlumio.js'
Expand Down

0 comments on commit 1d2ae84

Please sign in to comment.