viem 2.21.41 → 2.21.42
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +10 -0
- package/_cjs/chains/definitions/acria.js +26 -0
- package/_cjs/chains/definitions/acria.js.map +1 -0
- package/_cjs/chains/definitions/diode.js +27 -0
- package/_cjs/chains/definitions/diode.js.map +1 -0
- package/_cjs/chains/definitions/sophon.js +35 -0
- package/_cjs/chains/definitions/sophon.js.map +1 -0
- package/_cjs/chains/definitions/unichainSepolia.js +1 -1
- package/_cjs/chains/definitions/unichainSepolia.js.map +1 -1
- package/_cjs/chains/index.js +15 -9
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_esm/chains/definitions/acria.js +23 -0
- package/_esm/chains/definitions/acria.js.map +1 -0
- package/_esm/chains/definitions/diode.js +24 -0
- package/_esm/chains/definitions/diode.js.map +1 -0
- package/_esm/chains/definitions/sophon.js +32 -0
- package/_esm/chains/definitions/sophon.js.map +1 -0
- package/_esm/chains/definitions/unichainSepolia.js +1 -1
- package/_esm/chains/definitions/unichainSepolia.js.map +1 -1
- package/_esm/chains/index.js +3 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_types/chains/definitions/acria.d.ts +37 -0
- package/_types/chains/definitions/acria.d.ts.map +1 -0
- package/_types/chains/definitions/diode.d.ts +38 -0
- package/_types/chains/definitions/diode.d.ts.map +1 -0
- package/_types/chains/definitions/sophon.d.ts +405 -0
- package/_types/chains/definitions/sophon.d.ts.map +1 -0
- package/_types/chains/definitions/unichainSepolia.d.ts +1 -1
- package/_types/chains/index.d.ts +3 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/chains/definitions/acria.ts +23 -0
- package/chains/definitions/diode.ts +24 -0
- package/chains/definitions/sophon.ts +32 -0
- package/chains/definitions/unichainSepolia.ts +1 -1
- package/chains/index.ts +3 -0
- package/errors/version.ts +1 -1
- package/package.json +1 -1
@@ -0,0 +1,32 @@
|
|
1
|
+
import { defineChain } from '../../utils/chain/defineChain.js'
|
2
|
+
import { chainConfig } from '../../zksync/chainConfig.js'
|
3
|
+
|
4
|
+
export const sophon = /*#__PURE__*/ defineChain({
|
5
|
+
...chainConfig,
|
6
|
+
id: 50104,
|
7
|
+
name: 'Sophon',
|
8
|
+
nativeCurrency: {
|
9
|
+
decimals: 18,
|
10
|
+
name: 'Sophon',
|
11
|
+
symbol: 'SOPH',
|
12
|
+
},
|
13
|
+
rpcUrls: {
|
14
|
+
default: {
|
15
|
+
http: ['https://rpc.sophon.xyz'],
|
16
|
+
webSocket: ['wss://rpc.sophon.xyz/ws'],
|
17
|
+
},
|
18
|
+
},
|
19
|
+
blockExplorers: {
|
20
|
+
default: {
|
21
|
+
name: 'Sophon Block Explorer',
|
22
|
+
url: 'https://explorer.sophon.xyz',
|
23
|
+
},
|
24
|
+
},
|
25
|
+
contracts: {
|
26
|
+
multicall3: {
|
27
|
+
address: '0x5f4867441d2416cA88B1b3fd38f21811680CD2C8',
|
28
|
+
blockCreated: 116,
|
29
|
+
},
|
30
|
+
},
|
31
|
+
testnet: false,
|
32
|
+
})
|
package/chains/index.ts
CHANGED
@@ -3,6 +3,7 @@ export type { Chain } from '../types/chain.js'
|
|
3
3
|
// biome-ignore lint/performance/noBarrelFile: entrypoint module
|
4
4
|
export { abstractTestnet } from './definitions/abstractTestnet.js'
|
5
5
|
export { acala } from './definitions/acala.js'
|
6
|
+
export { acria } from './definitions/acria.js'
|
6
7
|
export { aioz } from './definitions/aioz.js'
|
7
8
|
export { alienx } from './definitions/alienX.js'
|
8
9
|
export { alienxHalTestnet } from './definitions/alienXHalTestnet.js'
|
@@ -97,6 +98,7 @@ export { defichainEvm } from './definitions/defichainEvm.js'
|
|
97
98
|
export { defichainEvmTestnet } from './definitions/defichainEvmTestnet.js'
|
98
99
|
export { degen } from './definitions/degen.js'
|
99
100
|
export { dfk } from './definitions/dfk.js'
|
101
|
+
export { diode } from './definitions/diode.js'
|
100
102
|
export { dodochainTestnet } from './definitions/dodochainTestnet.js'
|
101
103
|
export { dogechain } from './definitions/dogechain.js'
|
102
104
|
export { dosChain } from './definitions/dosChain.js'
|
@@ -353,6 +355,7 @@ export { snaxTestnet } from './definitions/snaxTestnet.js'
|
|
353
355
|
export { soneiumMinato } from './definitions/soneiumMinato.js'
|
354
356
|
export { songbird } from './definitions/songbird.js'
|
355
357
|
export { songbirdTestnet } from './definitions/songbirdTestnet.js'
|
358
|
+
export { sophon } from './definitions/sophon.js'
|
356
359
|
export { sophonTestnet } from './definitions/sophonTestnet.js'
|
357
360
|
export { spicy } from './definitions/spicy.js'
|
358
361
|
export { step } from './definitions/step.js'
|
package/errors/version.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const version = '2.21.
|
1
|
+
export const version = '2.21.42'
|