viem 2.0.0-rc.3 → 2.0.0-rc.4

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.
Files changed (81) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/_cjs/_test/generated.js +313 -0
  3. package/_cjs/_test/generated.js.map +1 -0
  4. package/_cjs/chains/definitions/acala.js +32 -0
  5. package/_cjs/chains/definitions/acala.js.map +1 -0
  6. package/_cjs/chains/definitions/bahamut.js +43 -0
  7. package/_cjs/chains/definitions/bahamut.js.map +1 -0
  8. package/_cjs/chains/definitions/karura.js +32 -0
  9. package/_cjs/chains/definitions/karura.js.map +1 -0
  10. package/_cjs/chains/definitions/klaytn.js +1 -1
  11. package/_cjs/chains/definitions/klaytn.js.map +1 -1
  12. package/_cjs/chains/definitions/mandala.js +32 -0
  13. package/_cjs/chains/definitions/mandala.js.map +1 -0
  14. package/_cjs/chains/definitions/oasisTestnet.js +22 -0
  15. package/_cjs/chains/definitions/oasisTestnet.js.map +1 -0
  16. package/_cjs/chains/definitions/opBNBTestnet.js +1 -1
  17. package/_cjs/chains/definitions/opBNBTestnet.js.map +1 -1
  18. package/_cjs/chains/definitions/zkFair.js +30 -0
  19. package/_cjs/chains/definitions/zkFair.js.map +1 -0
  20. package/_cjs/chains/definitions/zkFairTestnet.js +30 -0
  21. package/_cjs/chains/definitions/zkFairTestnet.js.map +1 -0
  22. package/_cjs/chains/index.js +18 -4
  23. package/_cjs/chains/index.js.map +1 -1
  24. package/_cjs/errors/version.js +1 -1
  25. package/_esm/_test/generated.js +335 -0
  26. package/_esm/_test/generated.js.map +1 -0
  27. package/_esm/chains/definitions/acala.js +29 -0
  28. package/_esm/chains/definitions/acala.js.map +1 -0
  29. package/_esm/chains/definitions/bahamut.js +40 -0
  30. package/_esm/chains/definitions/bahamut.js.map +1 -0
  31. package/_esm/chains/definitions/karura.js +29 -0
  32. package/_esm/chains/definitions/karura.js.map +1 -0
  33. package/_esm/chains/definitions/klaytn.js +1 -1
  34. package/_esm/chains/definitions/klaytn.js.map +1 -1
  35. package/_esm/chains/definitions/mandala.js +29 -0
  36. package/_esm/chains/definitions/mandala.js.map +1 -0
  37. package/_esm/chains/definitions/oasisTestnet.js +19 -0
  38. package/_esm/chains/definitions/oasisTestnet.js.map +1 -0
  39. package/_esm/chains/definitions/opBNBTestnet.js +1 -1
  40. package/_esm/chains/definitions/opBNBTestnet.js.map +1 -1
  41. package/_esm/chains/definitions/zkFair.js +27 -0
  42. package/_esm/chains/definitions/zkFair.js.map +1 -0
  43. package/_esm/chains/definitions/zkFairTestnet.js +27 -0
  44. package/_esm/chains/definitions/zkFairTestnet.js.map +1 -0
  45. package/_esm/chains/index.js +7 -0
  46. package/_esm/chains/index.js.map +1 -1
  47. package/_esm/errors/version.js +1 -1
  48. package/_test/generated.ts +350 -0
  49. package/_types/_test/generated.d.ts +428 -0
  50. package/_types/_test/generated.d.ts.map +1 -0
  51. package/_types/chains/definitions/acala.d.ts +40 -0
  52. package/_types/chains/definitions/acala.d.ts.map +1 -0
  53. package/_types/chains/definitions/bahamut.d.ts +40 -0
  54. package/_types/chains/definitions/bahamut.d.ts.map +1 -0
  55. package/_types/chains/definitions/karura.d.ts +40 -0
  56. package/_types/chains/definitions/karura.d.ts.map +1 -0
  57. package/_types/chains/definitions/klaytn.d.ts +1 -1
  58. package/_types/chains/definitions/mandala.d.ts +40 -0
  59. package/_types/chains/definitions/mandala.d.ts.map +1 -0
  60. package/_types/chains/definitions/oasisTestnet.d.ts +38 -0
  61. package/_types/chains/definitions/oasisTestnet.d.ts.map +1 -0
  62. package/_types/chains/definitions/opBNBTestnet.d.ts +1 -1
  63. package/_types/chains/definitions/zkFair.d.ts +38 -0
  64. package/_types/chains/definitions/zkFair.d.ts.map +1 -0
  65. package/_types/chains/definitions/zkFairTestnet.d.ts +38 -0
  66. package/_types/chains/definitions/zkFairTestnet.d.ts.map +1 -0
  67. package/_types/chains/index.d.ts +7 -0
  68. package/_types/chains/index.d.ts.map +1 -1
  69. package/_types/errors/version.d.ts +1 -1
  70. package/chains/definitions/acala.ts +29 -0
  71. package/chains/definitions/bahamut.ts +40 -0
  72. package/chains/definitions/karura.ts +29 -0
  73. package/chains/definitions/klaytn.ts +1 -1
  74. package/chains/definitions/mandala.ts +29 -0
  75. package/chains/definitions/oasisTestnet.ts +19 -0
  76. package/chains/definitions/opBNBTestnet.ts +1 -1
  77. package/chains/definitions/zkFair.ts +27 -0
  78. package/chains/definitions/zkFairTestnet.ts +27 -0
  79. package/chains/index.ts +7 -0
  80. package/errors/version.ts +1 -1
  81. package/package.json +12 -34
@@ -0,0 +1,38 @@
1
+ export declare const zkFair: {
2
+ blockExplorers: {
3
+ readonly default: {
4
+ readonly name: "zkFair Explorer";
5
+ readonly url: "https://scan.zkfair.io";
6
+ };
7
+ };
8
+ contracts?: {
9
+ [x: string]: import("../../index.js").ChainContract | {
10
+ [sourceId: number]: import("../../index.js").ChainContract | undefined;
11
+ } | undefined;
12
+ ensRegistry?: import("../../index.js").ChainContract | undefined;
13
+ ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
14
+ multicall3?: import("../../index.js").ChainContract | undefined;
15
+ } | undefined;
16
+ id: 42766;
17
+ name: "ZKFair Mainnet";
18
+ nativeCurrency: {
19
+ readonly decimals: 18;
20
+ readonly name: "USD Coin";
21
+ readonly symbol: "USDC";
22
+ };
23
+ rpcUrls: {
24
+ readonly default: {
25
+ readonly http: readonly ["https://rpc.zkfair.io"];
26
+ };
27
+ readonly public: {
28
+ readonly http: readonly ["https://rpc.zkfair.io"];
29
+ };
30
+ };
31
+ sourceId?: number | undefined;
32
+ testnet: false;
33
+ formatters?: undefined;
34
+ serializers?: import("../../index.js").ChainSerializers<undefined> | undefined;
35
+ fees?: import("../../index.js").ChainFees<undefined> | undefined;
36
+ readonly network: "zkfair-mainnet";
37
+ };
38
+ //# sourceMappingURL=zkFair.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zkFair.d.ts","sourceRoot":"","sources":["../../../chains/definitions/zkFair.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBjB,CAAA"}
@@ -0,0 +1,38 @@
1
+ export declare const zkFairTestnet: {
2
+ blockExplorers: {
3
+ readonly default: {
4
+ readonly name: "zkFair Explorer";
5
+ readonly url: "https://testnet-scan.zkfair.io";
6
+ };
7
+ };
8
+ contracts?: {
9
+ [x: string]: import("../../index.js").ChainContract | {
10
+ [sourceId: number]: import("../../index.js").ChainContract | undefined;
11
+ } | undefined;
12
+ ensRegistry?: import("../../index.js").ChainContract | undefined;
13
+ ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
14
+ multicall3?: import("../../index.js").ChainContract | undefined;
15
+ } | undefined;
16
+ id: 43851;
17
+ name: "ZKFair Testnet";
18
+ nativeCurrency: {
19
+ readonly decimals: 18;
20
+ readonly name: "USD Coin";
21
+ readonly symbol: "USDC";
22
+ };
23
+ rpcUrls: {
24
+ readonly default: {
25
+ readonly http: readonly ["https://testnet-rpc.zkfair.io"];
26
+ };
27
+ readonly public: {
28
+ readonly http: readonly ["https://testnet-rpc.zkfair.io"];
29
+ };
30
+ };
31
+ sourceId?: number | undefined;
32
+ testnet: true;
33
+ formatters?: undefined;
34
+ serializers?: import("../../index.js").ChainSerializers<undefined> | undefined;
35
+ fees?: import("../../index.js").ChainFees<undefined> | undefined;
36
+ readonly network: "zkfair-testnet";
37
+ };
38
+ //# sourceMappingURL=zkFairTestnet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zkFairTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/zkFairTestnet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBxB,CAAA"}
@@ -1,4 +1,5 @@
1
1
  export type { Chain } from '../types/chain.js';
2
+ export { acala } from './definitions/acala.js';
2
3
  export { arbitrum } from './definitions/arbitrum.js';
3
4
  export { arbitrumGoerli } from './definitions/arbitrumGoerli.js';
4
5
  export { arbitrumNova } from './definitions/arbitrumNova.js';
@@ -9,6 +10,7 @@ export { aurora } from './definitions/aurora.js';
9
10
  export { auroraTestnet } from './definitions/auroraTestnet.js';
10
11
  export { avalanche } from './definitions/avalanche.js';
11
12
  export { avalancheFuji } from './definitions/avalancheFuji.js';
13
+ export { bahamut } from './definitions/bahamut.js';
12
14
  export { base } from './definitions/base.js';
13
15
  export { baseGoerli } from './definitions/baseGoerli.js';
14
16
  export { baseSepolia } from './definitions/baseSepolia.js';
@@ -60,6 +62,7 @@ export { fuseSparknet } from './definitions/fuseSparknet.js';
60
62
  export { iotex } from './definitions/iotex.js';
61
63
  export { iotexTestnet } from './definitions/iotexTestnet.js';
62
64
  export { jbc } from './definitions/jbc.js';
65
+ export { karura } from './definitions/karura.js';
63
66
  export { gobi } from './definitions/gobi.js';
64
67
  export { goerli } from './definitions/goerli.js';
65
68
  export { gnosis } from './definitions/gnosis.js';
@@ -80,6 +83,7 @@ export { lineaTestnet } from './definitions/lineaTestnet.js';
80
83
  export { localhost } from './definitions/localhost.js';
81
84
  export { lukso } from './definitions/lukso.js';
82
85
  export { mainnet } from './definitions/mainnet.js';
86
+ export { mandala } from './definitions/mandala.js';
83
87
  export { manta } from './definitions/manta.js';
84
88
  export { mantaTestnet } from './definitions/mantaTestnet.js';
85
89
  export { mantle } from './definitions/mantle.js';
@@ -100,6 +104,7 @@ export { neonMainnet } from './definitions/neonMainnet.js';
100
104
  export { nexi } from './definitions/nexi.js';
101
105
  export { nexilix } from './definitions/nexilix.js';
102
106
  export { oasys } from './definitions/oasys.js';
107
+ export { oasisTestnet } from './definitions/oasisTestnet.js';
103
108
  export { okc } from './definitions/okc.js';
104
109
  export { optimism } from './definitions/optimism.js';
105
110
  export { optimismGoerli } from './definitions/optimismGoerli.js';
@@ -168,6 +173,8 @@ export { wemixTestnet } from './definitions/wemixTestnet.js';
168
173
  export { xdc } from './definitions/xdc.js';
169
174
  export { xdcTestnet } from './definitions/xdcTestnet.js';
170
175
  export { zhejiang } from './definitions/zhejiang.js';
176
+ export { zkFair } from './definitions/zkFair.js';
177
+ export { zkFairTestnet } from './definitions/zkFairTestnet.js';
171
178
  export { zkSync } from './definitions/zkSync.js';
172
179
  export { zkSyncTestnet } from './definitions/zkSyncTestnet.js';
173
180
  export { zkSyncSepoliaTestnet } from './definitions/zkSyncSepoliaTestnet.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../chains/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAE9C,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAA;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAA;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAA;AAClF,OAAO,EAAE,UAAU,EAAE,MAA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,EACR,cAAc,GACf,MAAM,mBAAmB,CAAA;AAC1B,YAAY,EACV,YAAY,EACZ,qBAAqB,EACrB,eAAe,EACf,wBAAwB,GACzB,MAAM,0BAA0B,CAAA;AACjC,YAAY,EACV,yBAAyB,EACzB,4BAA4B,EAC5B,qBAAqB,EACrB,4BAA4B,EAC5B,qCAAqC,EACrC,kBAAkB,EAClB,yBAAyB,EACzB,kCAAkC,EAClC,8BAA8B,EAC9B,4BAA4B,EAC5B,sBAAsB,EACtB,8BAA8B,EAC9B,4BAA4B,GAC7B,MAAM,gCAAgC,CAAA"}
@@ -1,2 +1,2 @@
1
- export declare const version = "2.0.0-rc.3";
1
+ export declare const version = "2.0.0-rc.4";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1,29 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js'
2
+
3
+ export const acala = /*#__PURE__*/ defineChain({
4
+ id: 787,
5
+ name: 'Acala',
6
+ network: 'acala',
7
+ nativeCurrency: {
8
+ name: 'Acala',
9
+ symbol: 'ACA',
10
+ decimals: 18,
11
+ },
12
+ rpcUrls: {
13
+ public: {
14
+ http: ['https://eth-rpc-acala.aca-api.network'],
15
+ webSocket: ['wss://eth-rpc-acala.aca-api.network'],
16
+ },
17
+ default: {
18
+ http: ['https://eth-rpc-acala.aca-api.network'],
19
+ webSocket: ['wss://eth-rpc-acala.aca-api.network'],
20
+ },
21
+ },
22
+ blockExplorers: {
23
+ default: {
24
+ name: 'Acala Blockscout',
25
+ url: 'https://blockscout.acala.network',
26
+ },
27
+ },
28
+ testnet: false,
29
+ })
@@ -0,0 +1,40 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js'
2
+
3
+ export const bahamut = /*#__PURE__*/ defineChain({
4
+ id: 5165,
5
+ network: 'bahamut',
6
+ name: 'Bahamut',
7
+ nativeCurrency: { name: 'Fasttoken', symbol: 'FTN', decimals: 18 },
8
+ rpcUrls: {
9
+ default: {
10
+ http: [
11
+ 'https://rpc1.bahamut.io',
12
+ 'https://bahamut.publicnode.com',
13
+ 'https://rpc2.bahamut.io',
14
+ ],
15
+ webSocket: [
16
+ 'wss://ws1.sahara.bahamutchain.com',
17
+ 'wss://bahamut.publicnode.com',
18
+ 'wss://ws2.sahara.bahamutchain.com',
19
+ ],
20
+ },
21
+ public: {
22
+ http: [
23
+ 'https://rpc1.bahamut.io',
24
+ 'https://bahamut.publicnode.com',
25
+ 'https://rpc2.bahamut.io',
26
+ ],
27
+ webSocket: [
28
+ 'wss://ws1.sahara.bahamutchain.com',
29
+ 'wss://bahamut.publicnode.com',
30
+ 'wss://ws2.sahara.bahamutchain.com',
31
+ ],
32
+ },
33
+ },
34
+ blockExplorers: {
35
+ default: {
36
+ name: 'Ftnscan',
37
+ url: 'https://www.ftnscan.com',
38
+ },
39
+ },
40
+ })
@@ -0,0 +1,29 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js'
2
+
3
+ export const karura = /*#__PURE__*/ defineChain({
4
+ id: 686,
5
+ name: 'Karura',
6
+ network: 'karura',
7
+ nativeCurrency: {
8
+ name: 'Karura',
9
+ symbol: 'KAR',
10
+ decimals: 18,
11
+ },
12
+ rpcUrls: {
13
+ public: {
14
+ http: ['https://eth-rpc-karura.aca-api.network'],
15
+ webSocket: ['wss://eth-rpc-karura.aca-api.network'],
16
+ },
17
+ default: {
18
+ http: ['https://eth-rpc-karura.aca-api.network'],
19
+ webSocket: ['wss://eth-rpc-karura.aca-api.network'],
20
+ },
21
+ },
22
+ blockExplorers: {
23
+ default: {
24
+ name: 'Karura Blockscout',
25
+ url: 'https://blockscout.karura.network',
26
+ },
27
+ },
28
+ testnet: false,
29
+ })
@@ -9,7 +9,7 @@ export const klaytn = /*#__PURE__*/ defineChain({
9
9
  symbol: 'KLAY',
10
10
  },
11
11
  rpcUrls: {
12
- default: { http: ['https://cypress.fautor.app/archive'] },
12
+ default: { http: ['https://public-en-cypress.klaytn.net'] },
13
13
  },
14
14
  blockExplorers: {
15
15
  default: { name: 'KlaytnScope', url: 'https://scope.klaytn.com' },
@@ -0,0 +1,29 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js'
2
+
3
+ export const mandala = /*#__PURE__*/ defineChain({
4
+ id: 595,
5
+ name: 'Mandala TC9',
6
+ network: 'mandala',
7
+ nativeCurrency: {
8
+ name: 'Mandala',
9
+ symbol: 'mACA',
10
+ decimals: 18,
11
+ },
12
+ rpcUrls: {
13
+ public: {
14
+ http: ['https://eth-rpc-tc9.aca-staging.network'],
15
+ webSocket: ['wss://eth-rpc-tc9.aca-staging.network'],
16
+ },
17
+ default: {
18
+ http: ['https://eth-rpc-tc9.aca-staging.network'],
19
+ webSocket: ['wss://eth-rpc-tc9.aca-staging.network'],
20
+ },
21
+ },
22
+ blockExplorers: {
23
+ default: {
24
+ name: 'Mandala Blockscout',
25
+ url: 'https://blockscout.mandala.aca-staging.network',
26
+ },
27
+ },
28
+ testnet: true,
29
+ })
@@ -0,0 +1,19 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js'
2
+
3
+ export const oasisTestnet = /*#__PURE__*/ defineChain({
4
+ id: 4090,
5
+ network: 'oasis-testnet',
6
+ name: 'Oasis Testnet',
7
+ nativeCurrency: { name: 'Fasttoken', symbol: 'FTN', decimals: 18 },
8
+ rpcUrls: {
9
+ default: { http: ['https://rpc1.oasis.bahamutchain.com'] },
10
+ public: { http: ['https://rpc1.oasis.bahamutchain.com'] },
11
+ },
12
+ blockExplorers: {
13
+ default: {
14
+ name: 'Ftnscan',
15
+ url: 'https://oasis.ftnscan.com',
16
+ },
17
+ },
18
+ testnet: true,
19
+ })
@@ -12,7 +12,7 @@ export const opBNBTestnet = /*#__PURE__*/ defineChain({
12
12
  default: { http: ['https://opbnb-testnet-rpc.bnbchain.org'] },
13
13
  },
14
14
  blockExplorers: {
15
- default: { name: 'opbnbscan', url: 'https://opbnbscan.com' },
15
+ default: { name: 'opbnbscan', url: 'https://testnet.opbnbscan.com' },
16
16
  },
17
17
  contracts: {
18
18
  multicall3: {
@@ -0,0 +1,27 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js'
2
+
3
+ export const zkFair = /*#__PURE__*/ defineChain({
4
+ id: 42766,
5
+ name: 'ZKFair Mainnet',
6
+ network: 'zkfair-mainnet',
7
+ nativeCurrency: {
8
+ decimals: 18,
9
+ name: 'USD Coin',
10
+ symbol: 'USDC',
11
+ },
12
+ rpcUrls: {
13
+ default: {
14
+ http: ['https://rpc.zkfair.io'],
15
+ },
16
+ public: {
17
+ http: ['https://rpc.zkfair.io'],
18
+ },
19
+ },
20
+ blockExplorers: {
21
+ default: {
22
+ name: 'zkFair Explorer',
23
+ url: 'https://scan.zkfair.io',
24
+ },
25
+ },
26
+ testnet: false,
27
+ })
@@ -0,0 +1,27 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js'
2
+
3
+ export const zkFairTestnet = /*#__PURE__*/ defineChain({
4
+ id: 43851,
5
+ name: 'ZKFair Testnet',
6
+ network: 'zkfair-testnet',
7
+ nativeCurrency: {
8
+ decimals: 18,
9
+ name: 'USD Coin',
10
+ symbol: 'USDC',
11
+ },
12
+ rpcUrls: {
13
+ default: {
14
+ http: ['https://testnet-rpc.zkfair.io'],
15
+ },
16
+ public: {
17
+ http: ['https://testnet-rpc.zkfair.io'],
18
+ },
19
+ },
20
+ blockExplorers: {
21
+ default: {
22
+ name: 'zkFair Explorer',
23
+ url: 'https://testnet-scan.zkfair.io',
24
+ },
25
+ },
26
+ testnet: true,
27
+ })
package/chains/index.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export type { Chain } from '../types/chain.js'
2
2
 
3
+ export { acala } from './definitions/acala.js'
3
4
  export { arbitrum } from './definitions/arbitrum.js'
4
5
  export { arbitrumGoerli } from './definitions/arbitrumGoerli.js'
5
6
  export { arbitrumNova } from './definitions/arbitrumNova.js'
@@ -10,6 +11,7 @@ export { aurora } from './definitions/aurora.js'
10
11
  export { auroraTestnet } from './definitions/auroraTestnet.js'
11
12
  export { avalanche } from './definitions/avalanche.js'
12
13
  export { avalancheFuji } from './definitions/avalancheFuji.js'
14
+ export { bahamut } from './definitions/bahamut.js'
13
15
  export { base } from './definitions/base.js'
14
16
  export { baseGoerli } from './definitions/baseGoerli.js'
15
17
  export { baseSepolia } from './definitions/baseSepolia.js'
@@ -61,6 +63,7 @@ export { fuseSparknet } from './definitions/fuseSparknet.js'
61
63
  export { iotex } from './definitions/iotex.js'
62
64
  export { iotexTestnet } from './definitions/iotexTestnet.js'
63
65
  export { jbc } from './definitions/jbc.js'
66
+ export { karura } from './definitions/karura.js'
64
67
  export { gobi } from './definitions/gobi.js'
65
68
  export { goerli } from './definitions/goerli.js'
66
69
  export { gnosis } from './definitions/gnosis.js'
@@ -81,6 +84,7 @@ export { lineaTestnet } from './definitions/lineaTestnet.js'
81
84
  export { localhost } from './definitions/localhost.js'
82
85
  export { lukso } from './definitions/lukso.js'
83
86
  export { mainnet } from './definitions/mainnet.js'
87
+ export { mandala } from './definitions/mandala.js'
84
88
  export { manta } from './definitions/manta.js'
85
89
  export { mantaTestnet } from './definitions/mantaTestnet.js'
86
90
  export { mantle } from './definitions/mantle.js'
@@ -101,6 +105,7 @@ export { neonMainnet } from './definitions/neonMainnet.js'
101
105
  export { nexi } from './definitions/nexi.js'
102
106
  export { nexilix } from './definitions/nexilix.js'
103
107
  export { oasys } from './definitions/oasys.js'
108
+ export { oasisTestnet } from './definitions/oasisTestnet.js'
104
109
  export { okc } from './definitions/okc.js'
105
110
  export { optimism } from './definitions/optimism.js'
106
111
  export { optimismGoerli } from './definitions/optimismGoerli.js'
@@ -169,6 +174,8 @@ export { wemixTestnet } from './definitions/wemixTestnet.js'
169
174
  export { xdc } from './definitions/xdc.js'
170
175
  export { xdcTestnet } from './definitions/xdcTestnet.js'
171
176
  export { zhejiang } from './definitions/zhejiang.js'
177
+ export { zkFair } from './definitions/zkFair.js'
178
+ export { zkFairTestnet } from './definitions/zkFairTestnet.js'
172
179
  export { zkSync } from './definitions/zkSync.js'
173
180
  export { zkSyncTestnet } from './definitions/zkSyncTestnet.js'
174
181
  export { zkSyncSepoliaTestnet } from './definitions/zkSyncSepoliaTestnet.js'
package/errors/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '2.0.0-rc.3'
1
+ export const version = '2.0.0-rc.4'
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "viem",
3
3
  "description": "TypeScript Interface for Ethereum",
4
- "version": "2.0.0-rc.3",
4
+ "version": "2.0.0-rc.4",
5
+ "type": "module",
5
6
  "main": "./_cjs/index.js",
6
7
  "module": "./_esm/index.js",
7
8
  "types": "./_types/index.d.ts",
@@ -76,27 +77,13 @@
76
77
  },
77
78
  "typesVersions": {
78
79
  "*": {
79
- "accounts": [
80
- "./_types/accounts/index.d.ts"
81
- ],
82
- "actions": [
83
- "./_types/actions/index.d.ts"
84
- ],
85
- "chains": [
86
- "./_types/chains/index.d.ts"
87
- ],
88
- "chains/utils": [
89
- "./_types/chains/utils.d.ts"
90
- ],
91
- "ens": [
92
- "./_types/ens/index.d.ts"
93
- ],
94
- "utils": [
95
- "./_types/utils/index.d.ts"
96
- ],
97
- "window": [
98
- "./_types/window/index.d.ts"
99
- ]
80
+ "accounts": ["./_types/accounts/index.d.ts"],
81
+ "actions": ["./_types/actions/index.d.ts"],
82
+ "chains": ["./_types/chains/index.d.ts"],
83
+ "chains/utils": ["./_types/chains/utils.d.ts"],
84
+ "ens": ["./_types/ens/index.d.ts"],
85
+ "utils": ["./_types/utils/index.d.ts"],
86
+ "window": ["./_types/window/index.d.ts"]
100
87
  }
101
88
  },
102
89
  "peerDependencies": {
@@ -120,21 +107,12 @@
120
107
  "license": "MIT",
121
108
  "homepage": "https://viem.sh",
122
109
  "repository": "wevm/viem",
123
- "authors": [
124
- "awkweb.eth",
125
- "jxom.eth"
126
- ],
110
+ "authors": ["awkweb.eth", "jxom.eth"],
127
111
  "funding": [
128
112
  {
129
113
  "type": "github",
130
114
  "url": "https://github.com/sponsors/wevm"
131
115
  }
132
116
  ],
133
- "keywords": [
134
- "eth",
135
- "ethereum",
136
- "dapps",
137
- "wallet",
138
- "web3"
139
- ]
140
- }
117
+ "keywords": ["eth", "ethereum", "dapps", "wallet", "web3"]
118
+ }