Skip to content

Commit

Permalink
feat: add storyTestnet (#2666)
Browse files Browse the repository at this point in the history
* feat: Add storyTestnet

* docs: update changelog

* Update storyTestnet.ts

* Update storyTestnet.ts

* Update index.ts

---------

Co-authored-by: cong_wang <congwang@blocksec.com>
Co-authored-by: jxom <j@wevm.dev>
  • Loading branch information
3 people authored Aug 29, 2024
1 parent d88eb42 commit e026509
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/spotty-mangos-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const storyTestnet = /*#__PURE__*/ defineChain({
id: 1513,
name: 'Story Testnet',
nativeCurrency: {
decimals: 18,
name: 'IP',
symbol: 'IP',
},
rpcUrls: {
default: { http: ['https://testnet.storyrpc.io'] },
},
blockExplorers: {
default: {
name: 'Story Testnet Explorer',
url: 'https://testnet.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 @@ -285,6 +285,7 @@ export { spicy } from './definitions/spicy.js'
export { shardeumSphinx } from './definitions/shardeumSphinx.js'
export { shibarium } from './definitions/shibarium.js'
export { shibariumTestnet } from './definitions/shibariumTestnet.js'
export { storyTestnet } from './definitions/storyTestnet.js'
export { stratis } from './definitions/stratis.js'
export { syscoin } from './definitions/syscoin.js'
export { syscoinTestnet } from './definitions/syscoinTestnet.js'
Expand Down

0 comments on commit e026509

Please sign in to comment.