Skip to content

Commit

Permalink
feat: add step network (#2885)
Browse files Browse the repository at this point in the history
* feat: add step network

* Update index.ts

---------

Co-authored-by: jxom <j@wevm.dev>
  • Loading branch information
fengbaolong and jxom authored Oct 19, 2024
1 parent 9a60ee3 commit c53eb74
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/kind-jokes-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const step = /*#__PURE__*/ defineChain({
id: 1234,
name: 'Step Network',
nativeCurrency: { name: 'FITFI', symbol: 'FITFI', decimals: 18 },
rpcUrls: {
default: {
http: ['https://rpc.step.network'],
},
},
blockExplorers: {
default: {
name: 'Step Scan',
url: 'https://stepscan.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 @@ -336,6 +336,7 @@ export { shardeumSphinx } from './definitions/shardeumSphinx.js'
export { shibarium } from './definitions/shibarium.js'
export { shibariumTestnet } from './definitions/shibariumTestnet.js'
export { shiden } from './definitions/shiden.js'
export { step } from './definitions/step.js'
export { storyTestnet } from './definitions/storyTestnet.js'
export { silicon } from './definitions/silicon.js'
export { siliconSepolia } from './definitions/siliconSepolia.js'
Expand Down

0 comments on commit c53eb74

Please sign in to comment.