@0xtorch/evm 0.0.137 → 0.0.138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_cjs/chain/definitions/arbitrumOne.js +2 -2
- package/_cjs/chain/definitions/arbitrumOne.js.map +1 -1
- package/_cjs/chain/definitions/avalancheC.js +2 -2
- package/_cjs/chain/definitions/avalancheC.js.map +1 -1
- package/_cjs/chain/definitions/base.js +2 -2
- package/_cjs/chain/definitions/base.js.map +1 -1
- package/_cjs/chain/definitions/berachain.js +2 -2
- package/_cjs/chain/definitions/berachain.js.map +1 -1
- package/_cjs/chain/definitions/blast.js +3 -3
- package/_cjs/chain/definitions/blast.js.map +1 -1
- package/_cjs/chain/definitions/bsc.js +2 -2
- package/_cjs/chain/definitions/bsc.js.map +1 -1
- package/_cjs/chain/definitions/linea.js +2 -2
- package/_cjs/chain/definitions/linea.js.map +1 -1
- package/_cjs/chain/definitions/mantle.js +2 -2
- package/_cjs/chain/definitions/mantle.js.map +1 -1
- package/_cjs/chain/definitions/moonbeam.js +2 -2
- package/_cjs/chain/definitions/moonbeam.js.map +1 -1
- package/_cjs/chain/definitions/moonriver.js +2 -2
- package/_cjs/chain/definitions/moonriver.js.map +1 -1
- package/_cjs/chain/definitions/opBnb.js +2 -2
- package/_cjs/chain/definitions/opBnb.js.map +1 -1
- package/_cjs/chain/definitions/optimism.js +2 -2
- package/_cjs/chain/definitions/optimism.js.map +1 -1
- package/_cjs/chain/definitions/polygonPos.js +2 -2
- package/_cjs/chain/definitions/polygonPos.js.map +1 -1
- package/_cjs/chain/definitions/polygonZkEvm.js +2 -2
- package/_cjs/chain/definitions/polygonZkEvm.js.map +1 -1
- package/_cjs/chain/definitions/scroll.js +2 -2
- package/_cjs/chain/definitions/scroll.js.map +1 -1
- package/_cjs/chain/definitions/sonic.js +2 -2
- package/_cjs/chain/definitions/sonic.js.map +1 -1
- package/_cjs/chain/definitions/taiko.js +2 -2
- package/_cjs/chain/definitions/taiko.js.map +1 -1
- package/_cjs/chain/definitions/unichain.js +2 -2
- package/_cjs/chain/definitions/unichain.js.map +1 -1
- package/_cjs/chain/definitions/zkSyncEra.js +2 -2
- package/_cjs/chain/definitions/zkSyncEra.js.map +1 -1
- package/_esm/chain/definitions/arbitrumOne.js +3 -3
- package/_esm/chain/definitions/arbitrumOne.js.map +1 -1
- package/_esm/chain/definitions/avalancheC.js +3 -3
- package/_esm/chain/definitions/avalancheC.js.map +1 -1
- package/_esm/chain/definitions/base.js +3 -3
- package/_esm/chain/definitions/base.js.map +1 -1
- package/_esm/chain/definitions/berachain.js +3 -3
- package/_esm/chain/definitions/berachain.js.map +1 -1
- package/_esm/chain/definitions/blast.js +4 -4
- package/_esm/chain/definitions/blast.js.map +1 -1
- package/_esm/chain/definitions/bsc.js +3 -3
- package/_esm/chain/definitions/bsc.js.map +1 -1
- package/_esm/chain/definitions/linea.js +3 -3
- package/_esm/chain/definitions/linea.js.map +1 -1
- package/_esm/chain/definitions/mantle.js +3 -3
- package/_esm/chain/definitions/mantle.js.map +1 -1
- package/_esm/chain/definitions/moonbeam.js +3 -3
- package/_esm/chain/definitions/moonbeam.js.map +1 -1
- package/_esm/chain/definitions/moonriver.js +3 -3
- package/_esm/chain/definitions/moonriver.js.map +1 -1
- package/_esm/chain/definitions/opBnb.js +3 -3
- package/_esm/chain/definitions/opBnb.js.map +1 -1
- package/_esm/chain/definitions/optimism.js +3 -3
- package/_esm/chain/definitions/optimism.js.map +1 -1
- package/_esm/chain/definitions/polygonPos.js +3 -3
- package/_esm/chain/definitions/polygonPos.js.map +1 -1
- package/_esm/chain/definitions/polygonZkEvm.js +3 -3
- package/_esm/chain/definitions/polygonZkEvm.js.map +1 -1
- package/_esm/chain/definitions/scroll.js +3 -3
- package/_esm/chain/definitions/scroll.js.map +1 -1
- package/_esm/chain/definitions/sonic.js +3 -3
- package/_esm/chain/definitions/sonic.js.map +1 -1
- package/_esm/chain/definitions/taiko.js +3 -3
- package/_esm/chain/definitions/taiko.js.map +1 -1
- package/_esm/chain/definitions/unichain.js +3 -3
- package/_esm/chain/definitions/unichain.js.map +1 -1
- package/_esm/chain/definitions/zkSyncEra.js +3 -3
- package/_esm/chain/definitions/zkSyncEra.js.map +1 -1
- package/_types/chain/definitions/mantle.d.ts.map +1 -1
- package/chain/definitions/arbitrumOne.ts +3 -3
- package/chain/definitions/avalancheC.ts +3 -3
- package/chain/definitions/base.ts +3 -3
- package/chain/definitions/berachain.ts +3 -3
- package/chain/definitions/blast.ts +4 -4
- package/chain/definitions/bsc.ts +3 -3
- package/chain/definitions/linea.ts +3 -3
- package/chain/definitions/mantle.ts +3 -3
- package/chain/definitions/moonbeam.ts +3 -3
- package/chain/definitions/moonriver.ts +3 -3
- package/chain/definitions/opBnb.ts +3 -3
- package/chain/definitions/optimism.ts +3 -3
- package/chain/definitions/polygonPos.ts +3 -3
- package/chain/definitions/polygonZkEvm.ts +3 -3
- package/chain/definitions/scroll.ts +3 -3
- package/chain/definitions/sonic.ts +3 -3
- package/chain/definitions/taiko.ts +3 -3
- package/chain/definitions/unichain.ts +3 -3
- package/chain/definitions/zkSyncEra.ts +3 -3
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { arbitrum } from 'viem/chains'
|
|
|
3
3
|
import type { Client } from '../../client'
|
|
4
4
|
import { createClient } from '../../client'
|
|
5
5
|
import type { Explorer } from '../../explorer'
|
|
6
|
-
import {
|
|
6
|
+
import { createEtherscanV2 } from '../../explorer'
|
|
7
7
|
import type { Chain } from '../types/chain'
|
|
8
8
|
import type { HttpRpc } from '../types/rpc'
|
|
9
9
|
|
|
@@ -18,10 +18,10 @@ export const createArbitrumOneChain = ({
|
|
|
18
18
|
}): Chain =>
|
|
19
19
|
createArbitrumOneChainCustom({
|
|
20
20
|
client: createClient({ chain: arbitrum, httpRpcs: arbitrumOneHttpRpcs }),
|
|
21
|
-
explorer:
|
|
21
|
+
explorer: createEtherscanV2({
|
|
22
22
|
name: 'ArbiScan',
|
|
23
23
|
baseUrl: 'https://arbiscan.io',
|
|
24
|
-
|
|
24
|
+
chainId: 42_161,
|
|
25
25
|
apiKey,
|
|
26
26
|
proxyUrl,
|
|
27
27
|
pageSize,
|
|
@@ -2,7 +2,7 @@ import { avalanche } from '@0xtorch/core'
|
|
|
2
2
|
import { avalanche as viemAvalanche } from 'viem/chains'
|
|
3
3
|
import { type Client, createClient } from '../../client'
|
|
4
4
|
import type { Explorer } from '../../explorer'
|
|
5
|
-
import {
|
|
5
|
+
import { createEtherscanV2 } from '../../explorer'
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
@@ -20,10 +20,10 @@ export const createAvalancheCChain = ({
|
|
|
20
20
|
chain: viemAvalanche,
|
|
21
21
|
httpRpcs: avalancheCHttpRpcs,
|
|
22
22
|
}),
|
|
23
|
-
explorer:
|
|
23
|
+
explorer: createEtherscanV2({
|
|
24
24
|
name: 'Snowscan',
|
|
25
25
|
baseUrl: 'https://snowscan.xyz',
|
|
26
|
-
|
|
26
|
+
chainId: 43_114,
|
|
27
27
|
apiKey,
|
|
28
28
|
proxyUrl,
|
|
29
29
|
pageSize,
|
|
@@ -2,7 +2,7 @@ import { ethereum } from '@0xtorch/core'
|
|
|
2
2
|
import { base } from 'viem/chains'
|
|
3
3
|
import { type Client, createClient } from '../../client'
|
|
4
4
|
import type { Explorer } from '../../explorer'
|
|
5
|
-
import {
|
|
5
|
+
import { createEtherscanV2 } from '../../explorer'
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
@@ -20,10 +20,10 @@ export const createBaseChain = ({
|
|
|
20
20
|
chain: base,
|
|
21
21
|
httpRpcs: baseHttpRpcs,
|
|
22
22
|
}),
|
|
23
|
-
explorer:
|
|
23
|
+
explorer: createEtherscanV2({
|
|
24
24
|
name: 'BaseScan',
|
|
25
25
|
baseUrl: 'https://basescan.org',
|
|
26
|
-
|
|
26
|
+
chainId: 8453,
|
|
27
27
|
apiKey,
|
|
28
28
|
proxyUrl,
|
|
29
29
|
pageSize,
|
|
@@ -2,7 +2,7 @@ import { berachain as bera } from '@0xtorch/core'
|
|
|
2
2
|
import { berachain } from 'viem/chains'
|
|
3
3
|
import { type Client, createClient } from '../../client'
|
|
4
4
|
import type { Explorer } from '../../explorer'
|
|
5
|
-
import {
|
|
5
|
+
import { createEtherscanV2 } from '../../explorer'
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
@@ -20,10 +20,10 @@ export const createBerachain = ({
|
|
|
20
20
|
chain: berachain,
|
|
21
21
|
httpRpcs: berachainHttpRpcs,
|
|
22
22
|
}),
|
|
23
|
-
explorer:
|
|
23
|
+
explorer: createEtherscanV2({
|
|
24
24
|
name: 'BeraScan',
|
|
25
25
|
baseUrl: 'https://berascan.com',
|
|
26
|
-
|
|
26
|
+
chainId: 80_094,
|
|
27
27
|
apiKey,
|
|
28
28
|
proxyUrl,
|
|
29
29
|
pageSize,
|
|
@@ -2,7 +2,7 @@ import { ethereum } from '@0xtorch/core'
|
|
|
2
2
|
import { blast } from 'viem/chains'
|
|
3
3
|
import { type Client, createClient } from '../../client'
|
|
4
4
|
import type { Explorer } from '../../explorer'
|
|
5
|
-
import {
|
|
5
|
+
import { createEtherscanV2 } from '../../explorer'
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
@@ -20,10 +20,10 @@ export const createBlastChain = ({
|
|
|
20
20
|
chain: blast,
|
|
21
21
|
httpRpcs: blastHttpRpcs,
|
|
22
22
|
}),
|
|
23
|
-
explorer:
|
|
23
|
+
explorer: createEtherscanV2({
|
|
24
24
|
name: 'BlastScan',
|
|
25
25
|
baseUrl: 'https://blastscan.io',
|
|
26
|
-
|
|
26
|
+
chainId: 81_457,
|
|
27
27
|
apiKey,
|
|
28
28
|
proxyUrl,
|
|
29
29
|
pageSize,
|
|
@@ -39,7 +39,7 @@ export const createBlastChainCustom = ({
|
|
|
39
39
|
client,
|
|
40
40
|
explorer,
|
|
41
41
|
}: CreateBlastChainParameters): Chain => ({
|
|
42
|
-
id:
|
|
42
|
+
id: 81_457,
|
|
43
43
|
network: 'blast',
|
|
44
44
|
name: 'Blast',
|
|
45
45
|
nativeToken: {
|
package/chain/definitions/bsc.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { bnb } from '@0xtorch/core'
|
|
|
2
2
|
import { bsc } from 'viem/chains'
|
|
3
3
|
import { type Client, createClient } from '../../client'
|
|
4
4
|
import type { Explorer } from '../../explorer'
|
|
5
|
-
import {
|
|
5
|
+
import { createEtherscanV2 } from '../../explorer'
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
@@ -20,10 +20,10 @@ export const createBscChain = ({
|
|
|
20
20
|
chain: bsc,
|
|
21
21
|
httpRpcs: bscHttpRpcs,
|
|
22
22
|
}),
|
|
23
|
-
explorer:
|
|
23
|
+
explorer: createEtherscanV2({
|
|
24
24
|
name: 'BscScan',
|
|
25
25
|
baseUrl: 'https://bscscan.com',
|
|
26
|
-
|
|
26
|
+
chainId: 56,
|
|
27
27
|
apiKey,
|
|
28
28
|
proxyUrl,
|
|
29
29
|
pageSize,
|
|
@@ -2,7 +2,7 @@ import { ethereum } from '@0xtorch/core'
|
|
|
2
2
|
import { linea } from 'viem/chains'
|
|
3
3
|
import { type Client, createClient } from '../../client'
|
|
4
4
|
import type { Explorer } from '../../explorer'
|
|
5
|
-
import {
|
|
5
|
+
import { createEtherscanV2 } from '../../explorer'
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
@@ -20,10 +20,10 @@ export const createLineaChain = ({
|
|
|
20
20
|
chain: linea,
|
|
21
21
|
httpRpcs: lineaHttpRpcs,
|
|
22
22
|
}),
|
|
23
|
-
explorer:
|
|
23
|
+
explorer: createEtherscanV2({
|
|
24
24
|
name: 'LineaScan',
|
|
25
25
|
baseUrl: 'https://lineascan.build',
|
|
26
|
-
|
|
26
|
+
chainId: 59_144,
|
|
27
27
|
apiKey,
|
|
28
28
|
proxyUrl,
|
|
29
29
|
pageSize,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mantle } from '@0xtorch/core'
|
|
2
2
|
import { mantle as viemMantle } from 'viem/chains'
|
|
3
3
|
import { type Client, createClient } from '../../client'
|
|
4
|
-
import { type Explorer,
|
|
4
|
+
import { type Explorer, createEtherscanV2 } from '../../explorer'
|
|
5
5
|
import type { Chain } from '../types/chain'
|
|
6
6
|
import type { HttpRpc } from '../types/rpc'
|
|
7
7
|
|
|
@@ -19,10 +19,10 @@ export const createMantleChain = ({
|
|
|
19
19
|
chain: viemMantle,
|
|
20
20
|
httpRpcs: mantleHttpRpcs,
|
|
21
21
|
}),
|
|
22
|
-
explorer:
|
|
22
|
+
explorer: createEtherscanV2({
|
|
23
23
|
name: 'Mantlescan',
|
|
24
24
|
baseUrl: 'https://mantlescan.xyz',
|
|
25
|
-
|
|
25
|
+
chainId: 5000,
|
|
26
26
|
apiKey,
|
|
27
27
|
proxyUrl,
|
|
28
28
|
pageSize,
|
|
@@ -2,7 +2,7 @@ import { moonbeam } from '@0xtorch/core'
|
|
|
2
2
|
import { moonbeam as viemMoonbeam } from 'viem/chains'
|
|
3
3
|
import { type Client, createClient } from '../../client'
|
|
4
4
|
import type { Explorer } from '../../explorer'
|
|
5
|
-
import {
|
|
5
|
+
import { createEtherscanV2 } from '../../explorer'
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
@@ -20,10 +20,10 @@ export const createMoonbeamChain = ({
|
|
|
20
20
|
chain: viemMoonbeam,
|
|
21
21
|
httpRpcs: moonbeamHttpRpcs,
|
|
22
22
|
}),
|
|
23
|
-
explorer:
|
|
23
|
+
explorer: createEtherscanV2({
|
|
24
24
|
name: 'MoonScan',
|
|
25
25
|
baseUrl: 'https://moonbeam.moonscan.io',
|
|
26
|
-
|
|
26
|
+
chainId: 1284,
|
|
27
27
|
apiKey,
|
|
28
28
|
proxyUrl,
|
|
29
29
|
pageSize,
|
|
@@ -2,7 +2,7 @@ import { moonriver } from '@0xtorch/core'
|
|
|
2
2
|
import { moonriver as viemMoonriver } from 'viem/chains'
|
|
3
3
|
import { type Client, createClient } from '../../client'
|
|
4
4
|
import type { Explorer } from '../../explorer'
|
|
5
|
-
import {
|
|
5
|
+
import { createEtherscanV2 } from '../../explorer'
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
@@ -20,10 +20,10 @@ export const createMoonriverChain = ({
|
|
|
20
20
|
chain: viemMoonriver,
|
|
21
21
|
httpRpcs: moonriverHttpRpcs,
|
|
22
22
|
}),
|
|
23
|
-
explorer:
|
|
23
|
+
explorer: createEtherscanV2({
|
|
24
24
|
name: 'MoonScan',
|
|
25
25
|
baseUrl: 'https://moonriver.moonscan.io',
|
|
26
|
-
|
|
26
|
+
chainId: 1285,
|
|
27
27
|
apiKey,
|
|
28
28
|
proxyUrl,
|
|
29
29
|
pageSize,
|
|
@@ -2,7 +2,7 @@ import { bnb } from '@0xtorch/core'
|
|
|
2
2
|
import { opBNB } from 'viem/chains'
|
|
3
3
|
import { type Client, createClient } from '../../client'
|
|
4
4
|
import type { Explorer } from '../../explorer'
|
|
5
|
-
import {
|
|
5
|
+
import { createEtherscanV2 } from '../../explorer'
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
@@ -20,10 +20,10 @@ export const createOpBnbChain = ({
|
|
|
20
20
|
chain: opBNB,
|
|
21
21
|
httpRpcs: opBnbHttpRpcs,
|
|
22
22
|
}),
|
|
23
|
-
explorer:
|
|
23
|
+
explorer: createEtherscanV2({
|
|
24
24
|
name: 'opBNB Mainnet Explorer',
|
|
25
25
|
baseUrl: 'https://opbnb.bscscan.com',
|
|
26
|
-
|
|
26
|
+
chainId: 204,
|
|
27
27
|
apiKey,
|
|
28
28
|
proxyUrl,
|
|
29
29
|
pageSize,
|
|
@@ -2,7 +2,7 @@ import { ethereum } from '@0xtorch/core'
|
|
|
2
2
|
import { optimism } from 'viem/chains'
|
|
3
3
|
import { type Client, createClient } from '../../client'
|
|
4
4
|
import type { Explorer } from '../../explorer'
|
|
5
|
-
import {
|
|
5
|
+
import { createEtherscanV2 } from '../../explorer'
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
@@ -20,10 +20,10 @@ export const createOptimismChain = ({
|
|
|
20
20
|
chain: optimism,
|
|
21
21
|
httpRpcs: optimismHttpRpcs,
|
|
22
22
|
}),
|
|
23
|
-
explorer:
|
|
23
|
+
explorer: createEtherscanV2({
|
|
24
24
|
name: 'OP Mainnet Explorer',
|
|
25
25
|
baseUrl: 'https://optimistic.etherscan.io',
|
|
26
|
-
|
|
26
|
+
chainId: 10,
|
|
27
27
|
apiKey,
|
|
28
28
|
proxyUrl,
|
|
29
29
|
pageSize,
|
|
@@ -2,7 +2,7 @@ import { pol } from '@0xtorch/core'
|
|
|
2
2
|
import { polygon } from 'viem/chains'
|
|
3
3
|
import { type Client, createClient } from '../../client'
|
|
4
4
|
import type { Explorer } from '../../explorer'
|
|
5
|
-
import {
|
|
5
|
+
import { createEtherscanV2 } from '../../explorer'
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
@@ -20,10 +20,10 @@ export const createPolygonPosChain = ({
|
|
|
20
20
|
chain: polygon,
|
|
21
21
|
httpRpcs: polygonPosHttpRpcs,
|
|
22
22
|
}),
|
|
23
|
-
explorer:
|
|
23
|
+
explorer: createEtherscanV2({
|
|
24
24
|
name: 'PolygonScan',
|
|
25
25
|
baseUrl: 'https://polygonscan.com',
|
|
26
|
-
|
|
26
|
+
chainId: 137,
|
|
27
27
|
apiKey,
|
|
28
28
|
proxyUrl,
|
|
29
29
|
pageSize,
|
|
@@ -2,7 +2,7 @@ import { ethereum } from '@0xtorch/core'
|
|
|
2
2
|
import { polygonZkEvm } from 'viem/chains'
|
|
3
3
|
import { type Client, createClient } from '../../client'
|
|
4
4
|
import type { Explorer } from '../../explorer'
|
|
5
|
-
import {
|
|
5
|
+
import { createEtherscanV2 } from '../../explorer'
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
@@ -20,10 +20,10 @@ export const createPolygonZkEvmChain = ({
|
|
|
20
20
|
chain: polygonZkEvm,
|
|
21
21
|
httpRpcs: polygonZkEvmHttpRpcs,
|
|
22
22
|
}),
|
|
23
|
-
explorer:
|
|
23
|
+
explorer: createEtherscanV2({
|
|
24
24
|
name: 'PolygonScan',
|
|
25
25
|
baseUrl: 'https://zkevm.polygonscan.com',
|
|
26
|
-
|
|
26
|
+
chainId: 1101,
|
|
27
27
|
apiKey,
|
|
28
28
|
proxyUrl,
|
|
29
29
|
pageSize,
|
|
@@ -2,7 +2,7 @@ import { ethereum } from '@0xtorch/core'
|
|
|
2
2
|
import { scroll } from 'viem/chains'
|
|
3
3
|
import { type Client, createClient } from '../../client'
|
|
4
4
|
import type { Explorer } from '../../explorer'
|
|
5
|
-
import {
|
|
5
|
+
import { createEtherscanV2 } from '../../explorer'
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
@@ -20,10 +20,10 @@ export const createScrollChain = ({
|
|
|
20
20
|
chain: scroll,
|
|
21
21
|
httpRpcs: scrollHttpRpcs,
|
|
22
22
|
}),
|
|
23
|
-
explorer:
|
|
23
|
+
explorer: createEtherscanV2({
|
|
24
24
|
name: 'Scrollscan',
|
|
25
25
|
baseUrl: 'https://scrollscan.com',
|
|
26
|
-
|
|
26
|
+
chainId: 534_352,
|
|
27
27
|
apiKey,
|
|
28
28
|
proxyUrl,
|
|
29
29
|
pageSize,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Client, createClient } from '../../client'
|
|
2
2
|
import type { Explorer } from '../../explorer'
|
|
3
|
-
import {
|
|
3
|
+
import { createEtherscanV2 } from '../../explorer'
|
|
4
4
|
import type { Chain } from '../types/chain'
|
|
5
5
|
import type { HttpRpc } from '../types/rpc'
|
|
6
6
|
import { sonic } from '../viemChains/sonic'
|
|
@@ -19,10 +19,10 @@ export const createSonicChain = ({
|
|
|
19
19
|
chain: sonic,
|
|
20
20
|
httpRpcs: sonicHttpRpcs,
|
|
21
21
|
}),
|
|
22
|
-
explorer:
|
|
22
|
+
explorer: createEtherscanV2({
|
|
23
23
|
name: 'SonicScan',
|
|
24
24
|
baseUrl: 'https://sonicscan.org',
|
|
25
|
-
|
|
25
|
+
chainId: 146,
|
|
26
26
|
apiKey,
|
|
27
27
|
proxyUrl,
|
|
28
28
|
pageSize,
|
|
@@ -2,7 +2,7 @@ import { ethereum } from '@0xtorch/core'
|
|
|
2
2
|
import { taiko } from 'viem/chains'
|
|
3
3
|
import { type Client, createClient } from '../../client'
|
|
4
4
|
import type { Explorer } from '../../explorer'
|
|
5
|
-
import {
|
|
5
|
+
import { createEtherscanV2 } from '../../explorer'
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
@@ -20,10 +20,10 @@ export const createTaikoChain = ({
|
|
|
20
20
|
chain: taiko,
|
|
21
21
|
httpRpcs: taikoHttpRpcs,
|
|
22
22
|
}),
|
|
23
|
-
explorer:
|
|
23
|
+
explorer: createEtherscanV2({
|
|
24
24
|
name: 'Taiko Mainnet Explorer',
|
|
25
25
|
baseUrl: 'https://taikoscan.io',
|
|
26
|
-
|
|
26
|
+
chainId: 167_000,
|
|
27
27
|
apiKey,
|
|
28
28
|
proxyUrl,
|
|
29
29
|
pageSize,
|
|
@@ -2,7 +2,7 @@ import { ethereum } from '@0xtorch/core'
|
|
|
2
2
|
import { unichain } from 'viem/chains'
|
|
3
3
|
import { type Client, createClient } from '../../client'
|
|
4
4
|
import type { Explorer } from '../../explorer'
|
|
5
|
-
import {
|
|
5
|
+
import { createEtherscanV2 } from '../../explorer'
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
@@ -20,10 +20,10 @@ export const createUnichain = ({
|
|
|
20
20
|
chain: unichain,
|
|
21
21
|
httpRpcs: unichainHttpRpcs,
|
|
22
22
|
}),
|
|
23
|
-
explorer:
|
|
23
|
+
explorer: createEtherscanV2({
|
|
24
24
|
name: 'Uniscan',
|
|
25
25
|
baseUrl: 'https://uniscan.xyz',
|
|
26
|
-
|
|
26
|
+
chainId: 130,
|
|
27
27
|
apiKey,
|
|
28
28
|
proxyUrl,
|
|
29
29
|
pageSize,
|
|
@@ -2,7 +2,7 @@ import { ethereum } from '@0xtorch/core'
|
|
|
2
2
|
import { zksync } from 'viem/chains'
|
|
3
3
|
import { type Client, createClient } from '../../client'
|
|
4
4
|
import type { Explorer } from '../../explorer'
|
|
5
|
-
import {
|
|
5
|
+
import { createEtherscanV2 } from '../../explorer'
|
|
6
6
|
import type { Chain } from '../types/chain'
|
|
7
7
|
import type { HttpRpc } from '../types/rpc'
|
|
8
8
|
|
|
@@ -20,10 +20,10 @@ export const createZkSyncEraChain = ({
|
|
|
20
20
|
chain: zksync,
|
|
21
21
|
httpRpcs: zksyncEraHttpRpcs,
|
|
22
22
|
}),
|
|
23
|
-
explorer:
|
|
23
|
+
explorer: createEtherscanV2({
|
|
24
24
|
name: 'zkSync Era Explorer',
|
|
25
25
|
baseUrl: 'https://era.zksync.network',
|
|
26
|
-
|
|
26
|
+
chainId: 324,
|
|
27
27
|
apiKey,
|
|
28
28
|
proxyUrl,
|
|
29
29
|
pageSize,
|