@0xsequence/network
Advanced tools
@@ -75,2 +75,4 @@ 'use strict'; | ||
| ChainId[ChainId["HYPEREVM"] = 999] = "HYPEREVM"; | ||
| ChainId[ChainId["SONIC"] = 146] = "SONIC"; | ||
| ChainId[ChainId["BERACHAIN"] = 80094] = "BERACHAIN"; | ||
| return ChainId; | ||
@@ -991,3 +993,3 @@ }({}); | ||
| name: 'Monad Explorer', | ||
| rootUrl: 'https://mainnet-beta.monvision.io/' | ||
| rootUrl: 'https://monvision.io/' | ||
| }, | ||
@@ -1044,3 +1046,3 @@ nativeToken: { | ||
| name: 'Incentiv Testnet Explorer v2', | ||
| rootUrl: 'https://explorer.testnet.incentiv.net/' | ||
| rootUrl: 'https://explorer-testnet.incentiv.io/' | ||
| }, | ||
@@ -1154,2 +1156,36 @@ nativeToken: { | ||
| } | ||
| }, | ||
| [ChainId.SONIC]: { | ||
| chainId: ChainId.SONIC, | ||
| type: NetworkType.MAINNET, | ||
| name: 'sonic', | ||
| title: 'Sonic', | ||
| logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.SONIC}.webp`, | ||
| testnet: false, | ||
| blockExplorer: { | ||
| name: 'Sonic', | ||
| rootUrl: 'https://sonicscan.org/' | ||
| }, | ||
| nativeToken: { | ||
| symbol: 'Sonic', | ||
| name: 'Sonic', | ||
| decimals: 18 | ||
| } | ||
| }, | ||
| [ChainId.BERACHAIN]: { | ||
| chainId: ChainId.BERACHAIN, | ||
| type: NetworkType.MAINNET, | ||
| name: 'berachain', | ||
| title: 'Berachain', | ||
| logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.BERACHAIN}.webp`, | ||
| testnet: false, | ||
| blockExplorer: { | ||
| name: 'Berachain', | ||
| rootUrl: 'https://berascan.com/' | ||
| }, | ||
| nativeToken: { | ||
| symbol: 'Berachain', | ||
| name: 'Berachain', | ||
| decimals: 18 | ||
| } | ||
| } | ||
@@ -1156,0 +1192,0 @@ }; |
@@ -75,2 +75,4 @@ 'use strict'; | ||
| ChainId[ChainId["HYPEREVM"] = 999] = "HYPEREVM"; | ||
| ChainId[ChainId["SONIC"] = 146] = "SONIC"; | ||
| ChainId[ChainId["BERACHAIN"] = 80094] = "BERACHAIN"; | ||
| return ChainId; | ||
@@ -991,3 +993,3 @@ }({}); | ||
| name: 'Monad Explorer', | ||
| rootUrl: 'https://mainnet-beta.monvision.io/' | ||
| rootUrl: 'https://monvision.io/' | ||
| }, | ||
@@ -1044,3 +1046,3 @@ nativeToken: { | ||
| name: 'Incentiv Testnet Explorer v2', | ||
| rootUrl: 'https://explorer.testnet.incentiv.net/' | ||
| rootUrl: 'https://explorer-testnet.incentiv.io/' | ||
| }, | ||
@@ -1154,2 +1156,36 @@ nativeToken: { | ||
| } | ||
| }, | ||
| [ChainId.SONIC]: { | ||
| chainId: ChainId.SONIC, | ||
| type: NetworkType.MAINNET, | ||
| name: 'sonic', | ||
| title: 'Sonic', | ||
| logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.SONIC}.webp`, | ||
| testnet: false, | ||
| blockExplorer: { | ||
| name: 'Sonic', | ||
| rootUrl: 'https://sonicscan.org/' | ||
| }, | ||
| nativeToken: { | ||
| symbol: 'Sonic', | ||
| name: 'Sonic', | ||
| decimals: 18 | ||
| } | ||
| }, | ||
| [ChainId.BERACHAIN]: { | ||
| chainId: ChainId.BERACHAIN, | ||
| type: NetworkType.MAINNET, | ||
| name: 'berachain', | ||
| title: 'Berachain', | ||
| logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.BERACHAIN}.webp`, | ||
| testnet: false, | ||
| blockExplorer: { | ||
| name: 'Berachain', | ||
| rootUrl: 'https://berascan.com/' | ||
| }, | ||
| nativeToken: { | ||
| symbol: 'Berachain', | ||
| name: 'Berachain', | ||
| decimals: 18 | ||
| } | ||
| } | ||
@@ -1156,0 +1192,0 @@ }; |
@@ -71,2 +71,4 @@ let NetworkType = /*#__PURE__*/function (NetworkType) { | ||
| ChainId[ChainId["HYPEREVM"] = 999] = "HYPEREVM"; | ||
| ChainId[ChainId["SONIC"] = 146] = "SONIC"; | ||
| ChainId[ChainId["BERACHAIN"] = 80094] = "BERACHAIN"; | ||
| return ChainId; | ||
@@ -987,3 +989,3 @@ }({}); | ||
| name: 'Monad Explorer', | ||
| rootUrl: 'https://mainnet-beta.monvision.io/' | ||
| rootUrl: 'https://monvision.io/' | ||
| }, | ||
@@ -1040,3 +1042,3 @@ nativeToken: { | ||
| name: 'Incentiv Testnet Explorer v2', | ||
| rootUrl: 'https://explorer.testnet.incentiv.net/' | ||
| rootUrl: 'https://explorer-testnet.incentiv.io/' | ||
| }, | ||
@@ -1150,2 +1152,36 @@ nativeToken: { | ||
| } | ||
| }, | ||
| [ChainId.SONIC]: { | ||
| chainId: ChainId.SONIC, | ||
| type: NetworkType.MAINNET, | ||
| name: 'sonic', | ||
| title: 'Sonic', | ||
| logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.SONIC}.webp`, | ||
| testnet: false, | ||
| blockExplorer: { | ||
| name: 'Sonic', | ||
| rootUrl: 'https://sonicscan.org/' | ||
| }, | ||
| nativeToken: { | ||
| symbol: 'Sonic', | ||
| name: 'Sonic', | ||
| decimals: 18 | ||
| } | ||
| }, | ||
| [ChainId.BERACHAIN]: { | ||
| chainId: ChainId.BERACHAIN, | ||
| type: NetworkType.MAINNET, | ||
| name: 'berachain', | ||
| title: 'Berachain', | ||
| logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.BERACHAIN}.webp`, | ||
| testnet: false, | ||
| blockExplorer: { | ||
| name: 'Berachain', | ||
| rootUrl: 'https://berascan.com/' | ||
| }, | ||
| nativeToken: { | ||
| symbol: 'Berachain', | ||
| name: 'Berachain', | ||
| decimals: 18 | ||
| } | ||
| } | ||
@@ -1152,0 +1188,0 @@ }; |
@@ -270,3 +270,3 @@ 'use strict'; | ||
| disabled: true | ||
| }), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.INCENTIV_TESTNET_V2), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.INCENTIV), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.KATANA), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.SANDBOX_TESTNET), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.ARC_TESTNET), ...hardhatNetworks]); | ||
| }), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.INCENTIV_TESTNET_V2), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.INCENTIV), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.KATANA), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.SANDBOX_TESTNET), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.ARC_TESTNET), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.HYPEREVM), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.BERACHAIN), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.SONIC), ...hardhatNetworks]); | ||
@@ -273,0 +273,0 @@ class JsonRpcRouter { |
@@ -270,3 +270,3 @@ 'use strict'; | ||
| disabled: true | ||
| }), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.INCENTIV_TESTNET_V2), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.INCENTIV), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.KATANA), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.SANDBOX_TESTNET), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.ARC_TESTNET), ...hardhatNetworks]); | ||
| }), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.INCENTIV_TESTNET_V2), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.INCENTIV), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.KATANA), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.SANDBOX_TESTNET), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.ARC_TESTNET), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.HYPEREVM), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.BERACHAIN), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.SONIC), ...hardhatNetworks]); | ||
@@ -273,0 +273,0 @@ class JsonRpcRouter { |
@@ -267,3 +267,3 @@ import { networks, ChainId } from '../constants/dist/0xsequence-network-constants.esm.js'; | ||
| disabled: true | ||
| }), createNetworkConfig(ChainId.INCENTIV_TESTNET_V2), createNetworkConfig(ChainId.INCENTIV), createNetworkConfig(ChainId.KATANA), createNetworkConfig(ChainId.SANDBOX_TESTNET), createNetworkConfig(ChainId.ARC_TESTNET), ...hardhatNetworks]); | ||
| }), createNetworkConfig(ChainId.INCENTIV_TESTNET_V2), createNetworkConfig(ChainId.INCENTIV), createNetworkConfig(ChainId.KATANA), createNetworkConfig(ChainId.SANDBOX_TESTNET), createNetworkConfig(ChainId.ARC_TESTNET), createNetworkConfig(ChainId.HYPEREVM), createNetworkConfig(ChainId.BERACHAIN), createNetworkConfig(ChainId.SONIC), ...hardhatNetworks]); | ||
@@ -270,0 +270,0 @@ class JsonRpcRouter { |
@@ -91,5 +91,7 @@ export declare enum NetworkType { | ||
| ARC_TESTNET = 5042002, | ||
| HYPEREVM = 999 | ||
| HYPEREVM = 999, | ||
| SONIC = 146, | ||
| BERACHAIN = 80094 | ||
| } | ||
| export declare const networks: Record<ChainId, NetworkMetadata>; | ||
| export declare function getChainIdFromNetwork(networkName: string): ChainId; |
+5
-5
| { | ||
| "name": "@0xsequence/network", | ||
| "version": "2.3.40", | ||
| "version": "2.3.41", | ||
| "description": "network sub-package for Sequence", | ||
@@ -15,6 +15,6 @@ "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/network", | ||
| "dependencies": { | ||
| "@0xsequence/relayer": "2.3.40", | ||
| "@0xsequence/utils": "2.3.40", | ||
| "@0xsequence/core": "2.3.40", | ||
| "@0xsequence/indexer": "2.3.40" | ||
| "@0xsequence/utils": "2.3.41", | ||
| "@0xsequence/core": "2.3.41", | ||
| "@0xsequence/relayer": "2.3.41", | ||
| "@0xsequence/indexer": "2.3.41" | ||
| }, | ||
@@ -21,0 +21,0 @@ "devDependencies": { |
+3
-0
@@ -149,3 +149,6 @@ import { ethers } from 'ethers' | ||
| createNetworkConfig(ChainId.ARC_TESTNET), | ||
| createNetworkConfig(ChainId.HYPEREVM), | ||
| createNetworkConfig(ChainId.BERACHAIN), | ||
| createNetworkConfig(ChainId.SONIC), | ||
| ...hardhatNetworks | ||
| ]) |
+45
-3
@@ -153,3 +153,9 @@ export enum NetworkType { | ||
| // HYPEREVM | ||
| HYPEREVM = 999 | ||
| HYPEREVM = 999, | ||
| // SONIC | ||
| SONIC = 146, | ||
| // BERACHAIN | ||
| BERACHAIN = 80094 | ||
| } | ||
@@ -1070,3 +1076,3 @@ | ||
| name: 'Monad Explorer', | ||
| rootUrl: 'https://mainnet-beta.monvision.io/' | ||
| rootUrl: 'https://monvision.io/' | ||
| }, | ||
@@ -1126,3 +1132,3 @@ nativeToken: { | ||
| name: 'Incentiv Testnet Explorer v2', | ||
| rootUrl: 'https://explorer.testnet.incentiv.net/' | ||
| rootUrl: 'https://explorer-testnet.incentiv.io/' | ||
| }, | ||
@@ -1242,2 +1248,38 @@ nativeToken: { | ||
| } | ||
| }, | ||
| [ChainId.SONIC]: { | ||
| chainId: ChainId.SONIC, | ||
| type: NetworkType.MAINNET, | ||
| name: 'sonic', | ||
| title: 'Sonic', | ||
| logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.SONIC}.webp`, | ||
| testnet: false, | ||
| blockExplorer: { | ||
| name: 'Sonic', | ||
| rootUrl: 'https://sonicscan.org/' | ||
| }, | ||
| nativeToken: { | ||
| symbol: 'Sonic', | ||
| name: 'Sonic', | ||
| decimals: 18 | ||
| } | ||
| }, | ||
| [ChainId.BERACHAIN]: { | ||
| chainId: ChainId.BERACHAIN, | ||
| type: NetworkType.MAINNET, | ||
| name: 'berachain', | ||
| title: 'Berachain', | ||
| logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.BERACHAIN}.webp`, | ||
| testnet: false, | ||
| blockExplorer: { | ||
| name: 'Berachain', | ||
| rootUrl: 'https://berascan.com/' | ||
| }, | ||
| nativeToken: { | ||
| symbol: 'Berachain', | ||
| name: 'Berachain', | ||
| decimals: 18 | ||
| } | ||
| } | ||
@@ -1244,0 +1286,0 @@ } |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
305725
1.49%8797
1.78%+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated