Skip to content

Commit

Permalink
Add Soneium mainnet config (#624)
Browse files Browse the repository at this point in the history
  • Loading branch information
taylanpince authored Dec 9, 2024
1 parent cef5331 commit a31df8e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/network/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export const allNetworks = validateAndSortNetworks([
createNetworkConfig(ChainId.BORNE_TESTNET),
createNetworkConfig(ChainId.SKALE_NEBULA),
createNetworkConfig(ChainId.SKALE_NEBULA_TESTNET),
createNetworkConfig(ChainId.SONEIUM),
createNetworkConfig(ChainId.SONEIUM_MINATO),
createNetworkConfig(ChainId.TOY_TESTNET),
createNetworkConfig(ChainId.IMMUTABLE_ZKEVM),
Expand Down
18 changes: 18 additions & 0 deletions packages/network/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export enum ChainId {

// Soneium Minato
SONEIUM_MINATO = 1946,
SONEIUM = 1868,

// TOY Testnet
TOY_TESTNET = 21000000,
Expand Down Expand Up @@ -842,6 +843,23 @@ export const networks: Record<ChainId, NetworkMetadata> = {
decimals: 18
}
},
[ChainId.SONEIUM]: {
chainId: ChainId.SONEIUM,
type: NetworkType.MAINNET,
name: 'soneium',
title: 'Soneium',
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.SONEIUM}.webp`,
testnet: false,
blockExplorer: {
name: 'Soneium Explorer',
rootUrl: 'https://vk9a3tgpne6qmub8.blockscout.com/'
},
nativeToken: {
symbol: 'ETH',
name: 'Ether',
decimals: 18
}
},
[ChainId.SONEIUM_MINATO]: {
chainId: ChainId.SONEIUM_MINATO,
type: NetworkType.TESTNET,
Expand Down

0 comments on commit a31df8e

Please sign in to comment.