Skip to content

Commit

Permalink
feat: add sophon (#2973)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbyUitbeijerse authored Nov 6, 2024
1 parent a25864b commit ab99ed2
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/chains/definitions/sophon.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import { defineChain } from '../../utils/chain/defineChain.js'
import { chainConfig } from '../../zksync/chainConfig.js'

export const sophon = /*#__PURE__*/ defineChain({
...chainConfig,
id: 50104,
name: 'Sophon',
nativeCurrency: {
decimals: 18,
name: 'Sophon',
symbol: 'SOPH',
},
rpcUrls: {
default: {
http: ['https://rpc.sophon.xyz'],
webSocket: ['wss://rpc.sophon.xyz/ws'],
},
},
blockExplorers: {
default: {
name: 'Sophon Block Explorer',
url: 'https://explorer.sophon.xyz',
},
},
contracts: {
multicall3: {
address: '0x5f4867441d2416cA88B1b3fd38f21811680CD2C8',
blockCreated: 116,
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ export { snaxTestnet } from './definitions/snaxTestnet.js'
export { soneiumMinato } from './definitions/soneiumMinato.js'
export { songbird } from './definitions/songbird.js'
export { songbirdTestnet } from './definitions/songbirdTestnet.js'
export { sophon } from './definitions/sophon.js'
export { sophonTestnet } from './definitions/sophonTestnet.js'
export { spicy } from './definitions/spicy.js'
export { step } from './definitions/step.js'
Expand Down

0 comments on commit ab99ed2

Please sign in to comment.