Skip to content

Commit

Permalink
feat: add Superposition chain (#2838)
Browse files Browse the repository at this point in the history
  • Loading branch information
qi-0826 authored Oct 10, 2024
1 parent 2f46c00 commit f0695c5
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/cyan-chefs-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const superposition = /*#__PURE__*/ defineChain({
id: 55244,
name: 'Superposition',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: { http: ['https://rpc.superposition.so'] },
},
blockExplorers: {
default: {
name: 'Superposition Explorer',
url: 'https://explorer.superposition.so',
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ export { silicon } from './definitions/silicon.js'
export { siliconSepolia } from './definitions/siliconSepolia.js'
export { stratis } from './definitions/stratis.js'
export { superlumio } from './definitions/superlumio.js'
export { superposition } from './definitions/superposition.js'
export { swan } from './definitions/swan.js'
export { swanProximaTestnet } from './definitions/swanProximaTestnet.js'
export { swanSaturnTestnet } from './definitions/swanSaturnTestnet.js'
Expand Down

0 comments on commit f0695c5

Please sign in to comment.