@arkiv-network/sdk 0.6.5-dev.11 → 0.6.5-dev.13

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/README.md CHANGED
@@ -94,11 +94,11 @@ You can now use Arkiv's public client to query data. Paste the following in `rea
94
94
 
95
95
  ```typescript
96
96
  import { createPublicClient, http } from "@arkiv-network/sdk"
97
- import { kaolin } from "@arkiv-network/sdk/chains"
97
+ import { braga } from "@arkiv-network/sdk/chains"
98
98
  import { eq } from "@arkiv-network/sdk/query"
99
99
 
100
100
  const publicClient = createPublicClient({
101
- chain: kaolin, // "kaolin" is Arkiv's testnet
101
+ chain: braga, // "braga" is Arkiv's testnet
102
102
  transport: http(),
103
103
  });
104
104
 
@@ -172,17 +172,17 @@ Create a file named `write_example.ts` with the following content:
172
172
  ```typescript
173
173
  import { createPublicClient, createWalletClient, http } from "@arkiv-network/sdk"
174
174
  import { privateKeyToAccount } from "@arkiv-network/sdk/accounts"
175
- import { kaolin } from "@arkiv-network/sdk/chains"
175
+ import { braga } from "@arkiv-network/sdk/chains"
176
176
  import { ExpirationTime, jsonToPayload } from "@arkiv-network/sdk/utils"
177
177
 
178
178
  // Create a public client
179
179
  const publicClient = createPublicClient({
180
- chain: kaolin, // kaolin is the Arkiv testnet
180
+ chain: braga, // braga is the Arkiv testnet
181
181
  transport: http(),
182
182
  })
183
183
  // Create a wallet client with an account
184
184
  const client = createWalletClient({
185
- chain: kaolin,
185
+ chain: braga,
186
186
  transport: http(),
187
187
  account: privateKeyToAccount('0x...'), // Replace with your private key
188
188
  });
@@ -231,8 +231,8 @@ Now you can run it in the same way as in the previous example:
231
231
  **Note:**
232
232
  You must provide your own private key with a minimum balance on the Arkiv L3 network.
233
233
  You can generate a private key using any tool, for example: https://vanity-eth.tk/
234
- Once you have a key, you can paste it into the example above and fund its address using the Arkiv Kaolin testnet faucet at:
235
- https://kaolin.hoodi.arkiv.network/faucet/
234
+ Once you have a key, you can paste it into the example above and fund its address using the Arkiv Braga testnet faucet at:
235
+ https://braga.hoodi.arkiv.network/faucet/
236
236
 
237
237
  For quick testing, you may use this example key:
238
238
  ```
@@ -1,8 +1,5 @@
1
- const require_chains = require('../chains-DycNIf_C.cjs');
1
+ const require_chains = require('../chains-BifaY04V.cjs');
2
2
 
3
3
  exports.braga = require_chains.braga;
4
4
  exports.kaolin = require_chains.kaolin;
5
- exports.localhost = require_chains.localhost;
6
- exports.marketplace = require_chains.marketplace;
7
- exports.mendoza = require_chains.mendoza;
8
- exports.rosario = require_chains.rosario;
5
+ exports.localhost = require_chains.localhost;
@@ -1,4 +1,4 @@
1
- import * as viem0 from "viem";
1
+ import * as viem8 from "viem";
2
2
 
3
3
  //#region src/chains/braga.d.ts
4
4
  declare const braga: {
@@ -11,13 +11,13 @@ declare const braga: {
11
11
  };
12
12
  blockTime?: number | undefined | undefined;
13
13
  contracts?: {
14
- [x: string]: viem0.ChainContract | {
15
- [sourceId: number]: viem0.ChainContract | undefined;
14
+ [x: string]: viem8.ChainContract | {
15
+ [sourceId: number]: viem8.ChainContract | undefined;
16
16
  } | undefined;
17
- ensRegistry?: viem0.ChainContract | undefined;
18
- ensUniversalResolver?: viem0.ChainContract | undefined;
19
- multicall3?: viem0.ChainContract | undefined;
20
- erc6492Verifier?: viem0.ChainContract | undefined;
17
+ ensRegistry?: viem8.ChainContract | undefined;
18
+ ensUniversalResolver?: viem8.ChainContract | undefined;
19
+ multicall3?: viem8.ChainContract | undefined;
20
+ erc6492Verifier?: viem8.ChainContract | undefined;
21
21
  } | undefined;
22
22
  ensTlds?: readonly string[] | undefined;
23
23
  id: 60138453102;
@@ -37,13 +37,16 @@ declare const braga: {
37
37
  sourceId?: number | undefined | undefined;
38
38
  testnet: true;
39
39
  custom?: Record<string, unknown> | undefined;
40
- fees?: viem0.ChainFees<undefined> | undefined;
40
+ fees?: viem8.ChainFees<undefined> | undefined;
41
41
  formatters?: undefined;
42
- serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
42
+ serializers?: viem8.ChainSerializers<undefined, viem8.TransactionSerializable> | undefined;
43
43
  readonly network: "braga";
44
44
  };
45
45
  //#endregion
46
46
  //#region src/chains/kaolin.d.ts
47
+ /**
48
+ * @deprecated The kaolin network is getting removed on may 15th 2026. Migration guide: https://docs.arkiv.network/networks/migrate-from-kaolin/
49
+ */
47
50
  declare const kaolin: {
48
51
  blockExplorers: {
49
52
  readonly default: {
@@ -54,13 +57,13 @@ declare const kaolin: {
54
57
  };
55
58
  blockTime?: number | undefined | undefined;
56
59
  contracts?: {
57
- [x: string]: viem0.ChainContract | {
58
- [sourceId: number]: viem0.ChainContract | undefined;
60
+ [x: string]: viem8.ChainContract | {
61
+ [sourceId: number]: viem8.ChainContract | undefined;
59
62
  } | undefined;
60
- ensRegistry?: viem0.ChainContract | undefined;
61
- ensUniversalResolver?: viem0.ChainContract | undefined;
62
- multicall3?: viem0.ChainContract | undefined;
63
- erc6492Verifier?: viem0.ChainContract | undefined;
63
+ ensRegistry?: viem8.ChainContract | undefined;
64
+ ensUniversalResolver?: viem8.ChainContract | undefined;
65
+ multicall3?: viem8.ChainContract | undefined;
66
+ erc6492Verifier?: viem8.ChainContract | undefined;
64
67
  } | undefined;
65
68
  ensTlds?: readonly string[] | undefined;
66
69
  id: 60138453025;
@@ -80,9 +83,9 @@ declare const kaolin: {
80
83
  sourceId?: number | undefined | undefined;
81
84
  testnet: true;
82
85
  custom?: Record<string, unknown> | undefined;
83
- fees?: viem0.ChainFees<undefined> | undefined;
86
+ fees?: viem8.ChainFees<undefined> | undefined;
84
87
  formatters?: undefined;
85
- serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
88
+ serializers?: viem8.ChainSerializers<undefined, viem8.TransactionSerializable> | undefined;
86
89
  readonly network: "kaolin";
87
90
  };
88
91
  //#endregion
@@ -102,13 +105,13 @@ declare const localhost: {
102
105
  } | undefined | undefined;
103
106
  blockTime?: number | undefined | undefined;
104
107
  contracts?: {
105
- [x: string]: viem0.ChainContract | {
106
- [sourceId: number]: viem0.ChainContract | undefined;
108
+ [x: string]: viem8.ChainContract | {
109
+ [sourceId: number]: viem8.ChainContract | undefined;
107
110
  } | undefined;
108
- ensRegistry?: viem0.ChainContract | undefined;
109
- ensUniversalResolver?: viem0.ChainContract | undefined;
110
- multicall3?: viem0.ChainContract | undefined;
111
- erc6492Verifier?: viem0.ChainContract | undefined;
111
+ ensRegistry?: viem8.ChainContract | undefined;
112
+ ensUniversalResolver?: viem8.ChainContract | undefined;
113
+ multicall3?: viem8.ChainContract | undefined;
114
+ erc6492Verifier?: viem8.ChainContract | undefined;
112
115
  } | undefined;
113
116
  ensTlds?: readonly string[] | undefined;
114
117
  id: 1337;
@@ -127,139 +130,10 @@ declare const localhost: {
127
130
  sourceId?: number | undefined | undefined;
128
131
  testnet?: boolean | undefined | undefined;
129
132
  custom?: Record<string, unknown> | undefined;
130
- fees?: viem0.ChainFees<undefined> | undefined;
133
+ fees?: viem8.ChainFees<undefined> | undefined;
131
134
  formatters?: undefined;
132
- serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
135
+ serializers?: viem8.ChainSerializers<undefined, viem8.TransactionSerializable> | undefined;
133
136
  };
134
137
  //#endregion
135
- //#region src/chains/marketplace.d.ts
136
- declare const marketplace: {
137
- blockExplorers: {
138
- readonly default: {
139
- readonly name: "Marketplace Arkiv Explorer";
140
- readonly url: "https://explorer.marketplace.hoodi.arkiv.network";
141
- readonly apiUrl: "https://explorer.marketplace.hoodi.arkiv.network/api";
142
- };
143
- };
144
- blockTime?: number | undefined | undefined;
145
- contracts?: {
146
- [x: string]: viem0.ChainContract | {
147
- [sourceId: number]: viem0.ChainContract | undefined;
148
- } | undefined;
149
- ensRegistry?: viem0.ChainContract | undefined;
150
- ensUniversalResolver?: viem0.ChainContract | undefined;
151
- multicall3?: viem0.ChainContract | undefined;
152
- erc6492Verifier?: viem0.ChainContract | undefined;
153
- } | undefined;
154
- ensTlds?: readonly string[] | undefined;
155
- id: 60138453027;
156
- name: "Marketplace";
157
- nativeCurrency: {
158
- readonly name: "Ethereum";
159
- readonly symbol: "ETH";
160
- readonly decimals: 18;
161
- };
162
- experimental_preconfirmationTime?: number | undefined | undefined;
163
- rpcUrls: {
164
- readonly default: {
165
- readonly http: readonly ["https://marketplace.hoodi.arkiv.network/rpc"];
166
- readonly webSocket: readonly ["wss://marketplace.hoodi.arkiv.network/rpc/ws"];
167
- };
168
- };
169
- sourceId?: number | undefined | undefined;
170
- testnet: true;
171
- custom?: Record<string, unknown> | undefined;
172
- fees?: viem0.ChainFees<undefined> | undefined;
173
- formatters?: undefined;
174
- serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
175
- readonly network: "marketplace";
176
- };
177
- //#endregion
178
- //#region src/chains/mendoza.d.ts
179
- declare const mendoza: {
180
- blockExplorers: {
181
- readonly default: {
182
- readonly name: "Mendoza Arkiv Explorer";
183
- readonly url: "https://explorer.mendoza.hoodi.arkiv.network";
184
- readonly apiUrl: "https://explorer.mendoza.hoodi.arkiv.network/api";
185
- };
186
- };
187
- blockTime?: number | undefined | undefined;
188
- contracts?: {
189
- [x: string]: viem0.ChainContract | {
190
- [sourceId: number]: viem0.ChainContract | undefined;
191
- } | undefined;
192
- ensRegistry?: viem0.ChainContract | undefined;
193
- ensUniversalResolver?: viem0.ChainContract | undefined;
194
- multicall3?: viem0.ChainContract | undefined;
195
- erc6492Verifier?: viem0.ChainContract | undefined;
196
- } | undefined;
197
- ensTlds?: readonly string[] | undefined;
198
- id: 60138453056;
199
- name: "Mendoza";
200
- nativeCurrency: {
201
- readonly name: "Ethereum";
202
- readonly symbol: "ETH";
203
- readonly decimals: 18;
204
- };
205
- experimental_preconfirmationTime?: number | undefined | undefined;
206
- rpcUrls: {
207
- readonly default: {
208
- readonly http: readonly ["https://mendoza.hoodi.arkiv.network/rpc"];
209
- readonly webSocket: readonly ["wss://mendoza.hoodi.arkiv.network/rpc/ws"];
210
- };
211
- };
212
- sourceId?: number | undefined | undefined;
213
- testnet: true;
214
- custom?: Record<string, unknown> | undefined;
215
- fees?: viem0.ChainFees<undefined> | undefined;
216
- formatters?: undefined;
217
- serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
218
- readonly network: "mendoza";
219
- };
220
- //#endregion
221
- //#region src/chains/rosario.d.ts
222
- declare const rosario: {
223
- blockExplorers: {
224
- readonly default: {
225
- readonly name: "Rosario Arkiv Explorer";
226
- readonly url: "https://explorer.rosario.hoodi.arkiv.network";
227
- readonly apiUrl: "https://explorer.rosario.hoodi.arkiv.network/api";
228
- };
229
- };
230
- blockTime?: number | undefined | undefined;
231
- contracts?: {
232
- [x: string]: viem0.ChainContract | {
233
- [sourceId: number]: viem0.ChainContract | undefined;
234
- } | undefined;
235
- ensRegistry?: viem0.ChainContract | undefined;
236
- ensUniversalResolver?: viem0.ChainContract | undefined;
237
- multicall3?: viem0.ChainContract | undefined;
238
- erc6492Verifier?: viem0.ChainContract | undefined;
239
- } | undefined;
240
- ensTlds?: readonly string[] | undefined;
241
- id: 60138453057;
242
- name: "Rosario";
243
- nativeCurrency: {
244
- readonly name: "Ethereum";
245
- readonly symbol: "ETH";
246
- readonly decimals: 18;
247
- };
248
- experimental_preconfirmationTime?: number | undefined | undefined;
249
- rpcUrls: {
250
- readonly default: {
251
- readonly http: readonly ["https://rosario.hoodi.arkiv.network/rpc"];
252
- readonly webSocket: readonly ["wss://rosario.hoodi.arkiv.network/rpc/ws"];
253
- };
254
- };
255
- sourceId?: number | undefined | undefined;
256
- testnet: true;
257
- custom?: Record<string, unknown> | undefined;
258
- fees?: viem0.ChainFees<undefined> | undefined;
259
- formatters?: undefined;
260
- serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
261
- readonly network: "rosario";
262
- };
263
- //#endregion
264
- export { braga, kaolin, localhost, marketplace, mendoza, rosario };
138
+ export { braga, kaolin, localhost };
265
139
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/chains/braga.ts","../../src/chains/kaolin.ts","../../src/chains/localhost.ts","../../src/chains/marketplace.ts","../../src/chains/mendoza.ts","../../src/chains/rosario.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;MAuBX,SAAA,IAAA,EAAA,sBAAA;MAAA,SAAA,GAAA,EAAA,4CAAA;;;;;;iBAAA,KAAA,CAAA,aAAA;;;;;;;;ECvBW,OAAA,CAAA,EAuBX,SAAA,MAAA,EAAA,GAAA,SAAA;EAAA,EAAA,EAAA,WAAA;;;;;;;;;;;;;;ECvBW,QAAA,CAAA,EAAA,MAWX,GAAA,SAAA,GAAA,SAAA;EAAA,OAAA,EAAA,IAAA;;;;;;;;;cDXW;;;MDuBX,SAAA,IAAA,EAAA,uBAAA;MAAA,SAAA,GAAA,EAAA,6CAAA;;;;;;iBCAA,KAAA,CAAA,aAAA;;;;;;;;EAvBW,OAAA,CAAA,EAuBX,SAAA,MAAA,EAAA,GAAA,SAAA;EAAA,EAAA,EAAA,WAAA;;;;;;;;;;;;;;ECvBW,QAAA,CAAA,EAAA,MAWX,GAAA,SAAA,GAAA,SAAA;EAAA,OAAA,EAAA,IAAA;;;;;;;;;cAXW;;;MFuBX,IAAA,EAAA,MAAA;MAAA,GAAA,EAAA,MAAA;;;;;;;;;;;iBEZA,KAAA,CAAA,aAAA;;;IDXW,WAuBX,CAAA,wBAAA,SAAA;IAAA,oBAAA,CAAA,wBAAA,SAAA;;;;;;;;;;;;;;ICvBW,SAWX,OAAA,EAAA;MAAA,SAAA,IAAA,EAAA,SAAA,CAAA,uBAAA,CAAA;;;;;;;;;;;;cCXW;;;MHuBX,SAAA,IAAA,EAAA,4BAAA;MAAA,SAAA,GAAA,EAAA,kDAAA;;;;;;iBGAA,KAAA,CAAA,aAAA;;;;;;;;EFvBW,OAAA,CAAA,EAuBX,SAAA,MAAA,EAAA,GAAA,SAAA;EAAA,EAAA,EAAA,WAAA;;;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A,wBAAA,SAAA;;;;;;;;;;;;;;MC1BW,SAWX,SAAA,EAAA,SAAA,CAAA,yCAAA,CAAA;IAAA,CAAA;;;;;;;;;;;;cAXW;;;MFuBX,IAAA,EAAA,MAAA;MAAA,GAAA,EAAA,MAAA;;;;;;;;;;;iBEZA,KAAA,CAAA,aAAA;;;IDRW,WAuBX,CAAA,wBAAA,SAAA;IAAA,oBAAA,CAAA,wBAAA,SAAA;;;;;;;;;;;;;;IC1BW,SAWX,OAAA,EAAA;MAAA,SAAA,IAAA,EAAA,SAAA,CAAA,uBAAA,CAAA"}
@@ -44,6 +44,9 @@ declare const braga: {
44
44
  };
45
45
  //#endregion
46
46
  //#region src/chains/kaolin.d.ts
47
+ /**
48
+ * @deprecated The kaolin network is getting removed on may 15th 2026. Migration guide: https://docs.arkiv.network/networks/migrate-from-kaolin/
49
+ */
47
50
  declare const kaolin: {
48
51
  blockExplorers: {
49
52
  readonly default: {
@@ -132,134 +135,5 @@ declare const localhost: {
132
135
  serializers?: viem8.ChainSerializers<undefined, viem8.TransactionSerializable> | undefined;
133
136
  };
134
137
  //#endregion
135
- //#region src/chains/marketplace.d.ts
136
- declare const marketplace: {
137
- blockExplorers: {
138
- readonly default: {
139
- readonly name: "Marketplace Arkiv Explorer";
140
- readonly url: "https://explorer.marketplace.hoodi.arkiv.network";
141
- readonly apiUrl: "https://explorer.marketplace.hoodi.arkiv.network/api";
142
- };
143
- };
144
- blockTime?: number | undefined | undefined;
145
- contracts?: {
146
- [x: string]: viem8.ChainContract | {
147
- [sourceId: number]: viem8.ChainContract | undefined;
148
- } | undefined;
149
- ensRegistry?: viem8.ChainContract | undefined;
150
- ensUniversalResolver?: viem8.ChainContract | undefined;
151
- multicall3?: viem8.ChainContract | undefined;
152
- erc6492Verifier?: viem8.ChainContract | undefined;
153
- } | undefined;
154
- ensTlds?: readonly string[] | undefined;
155
- id: 60138453027;
156
- name: "Marketplace";
157
- nativeCurrency: {
158
- readonly name: "Ethereum";
159
- readonly symbol: "ETH";
160
- readonly decimals: 18;
161
- };
162
- experimental_preconfirmationTime?: number | undefined | undefined;
163
- rpcUrls: {
164
- readonly default: {
165
- readonly http: readonly ["https://marketplace.hoodi.arkiv.network/rpc"];
166
- readonly webSocket: readonly ["wss://marketplace.hoodi.arkiv.network/rpc/ws"];
167
- };
168
- };
169
- sourceId?: number | undefined | undefined;
170
- testnet: true;
171
- custom?: Record<string, unknown> | undefined;
172
- fees?: viem8.ChainFees<undefined> | undefined;
173
- formatters?: undefined;
174
- serializers?: viem8.ChainSerializers<undefined, viem8.TransactionSerializable> | undefined;
175
- readonly network: "marketplace";
176
- };
177
- //#endregion
178
- //#region src/chains/mendoza.d.ts
179
- declare const mendoza: {
180
- blockExplorers: {
181
- readonly default: {
182
- readonly name: "Mendoza Arkiv Explorer";
183
- readonly url: "https://explorer.mendoza.hoodi.arkiv.network";
184
- readonly apiUrl: "https://explorer.mendoza.hoodi.arkiv.network/api";
185
- };
186
- };
187
- blockTime?: number | undefined | undefined;
188
- contracts?: {
189
- [x: string]: viem8.ChainContract | {
190
- [sourceId: number]: viem8.ChainContract | undefined;
191
- } | undefined;
192
- ensRegistry?: viem8.ChainContract | undefined;
193
- ensUniversalResolver?: viem8.ChainContract | undefined;
194
- multicall3?: viem8.ChainContract | undefined;
195
- erc6492Verifier?: viem8.ChainContract | undefined;
196
- } | undefined;
197
- ensTlds?: readonly string[] | undefined;
198
- id: 60138453056;
199
- name: "Mendoza";
200
- nativeCurrency: {
201
- readonly name: "Ethereum";
202
- readonly symbol: "ETH";
203
- readonly decimals: 18;
204
- };
205
- experimental_preconfirmationTime?: number | undefined | undefined;
206
- rpcUrls: {
207
- readonly default: {
208
- readonly http: readonly ["https://mendoza.hoodi.arkiv.network/rpc"];
209
- readonly webSocket: readonly ["wss://mendoza.hoodi.arkiv.network/rpc/ws"];
210
- };
211
- };
212
- sourceId?: number | undefined | undefined;
213
- testnet: true;
214
- custom?: Record<string, unknown> | undefined;
215
- fees?: viem8.ChainFees<undefined> | undefined;
216
- formatters?: undefined;
217
- serializers?: viem8.ChainSerializers<undefined, viem8.TransactionSerializable> | undefined;
218
- readonly network: "mendoza";
219
- };
220
- //#endregion
221
- //#region src/chains/rosario.d.ts
222
- declare const rosario: {
223
- blockExplorers: {
224
- readonly default: {
225
- readonly name: "Rosario Arkiv Explorer";
226
- readonly url: "https://explorer.rosario.hoodi.arkiv.network";
227
- readonly apiUrl: "https://explorer.rosario.hoodi.arkiv.network/api";
228
- };
229
- };
230
- blockTime?: number | undefined | undefined;
231
- contracts?: {
232
- [x: string]: viem8.ChainContract | {
233
- [sourceId: number]: viem8.ChainContract | undefined;
234
- } | undefined;
235
- ensRegistry?: viem8.ChainContract | undefined;
236
- ensUniversalResolver?: viem8.ChainContract | undefined;
237
- multicall3?: viem8.ChainContract | undefined;
238
- erc6492Verifier?: viem8.ChainContract | undefined;
239
- } | undefined;
240
- ensTlds?: readonly string[] | undefined;
241
- id: 60138453057;
242
- name: "Rosario";
243
- nativeCurrency: {
244
- readonly name: "Ethereum";
245
- readonly symbol: "ETH";
246
- readonly decimals: 18;
247
- };
248
- experimental_preconfirmationTime?: number | undefined | undefined;
249
- rpcUrls: {
250
- readonly default: {
251
- readonly http: readonly ["https://rosario.hoodi.arkiv.network/rpc"];
252
- readonly webSocket: readonly ["wss://rosario.hoodi.arkiv.network/rpc/ws"];
253
- };
254
- };
255
- sourceId?: number | undefined | undefined;
256
- testnet: true;
257
- custom?: Record<string, unknown> | undefined;
258
- fees?: viem8.ChainFees<undefined> | undefined;
259
- formatters?: undefined;
260
- serializers?: viem8.ChainSerializers<undefined, viem8.TransactionSerializable> | undefined;
261
- readonly network: "rosario";
262
- };
263
- //#endregion
264
- export { braga, kaolin, localhost, marketplace, mendoza, rosario };
138
+ export { braga, kaolin, localhost };
265
139
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/chains/braga.ts","../../src/chains/kaolin.ts","../../src/chains/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;;;;;;;;;;;;cAXW;;;MFuBX,IAAA,EAAA,MAAA;MAAA,GAAA,EAAA,MAAA;;;;;;;;;;;iBEZA,KAAA,CAAA,aAAA;;;IDRW,WAuBX,CAAA,wBAAA,SAAA;IAAA,oBAAA,CAAA,wBAAA,SAAA;;;;;;;;;;;;;;IC1BW,SAWX,OAAA,EAAA;MAAA,SAAA,IAAA,EAAA,SAAA,CAAA,uBAAA,CAAA"}
@@ -1,3 +1,3 @@
1
- import { a as localhost, i as marketplace, n as rosario, o as kaolin, r as mendoza, s as braga } from "../chains-DX8yNhGT.js";
1
+ import { i as braga, n as localhost, r as kaolin } from "../chains-CrtkVbBh.js";
2
2
 
3
- export { braga, kaolin, localhost, marketplace, mendoza, rosario };
3
+ export { braga, kaolin, localhost };
@@ -36,6 +36,9 @@ const braga = (0, viem.defineChain)({
36
36
 
37
37
  //#endregion
38
38
  //#region src/chains/kaolin.ts
39
+ /**
40
+ * @deprecated The kaolin network is getting removed on may 15th 2026. Migration guide: https://docs.arkiv.network/networks/migrate-from-kaolin/
41
+ */
39
42
  const kaolin = (0, viem.defineChain)({
40
43
  id: 60138453025,
41
44
  name: "Kaolin",
@@ -70,84 +73,12 @@ const localhost = (0, viem.defineChain)({
70
73
  rpcUrls: { default: { http: ["http://127.0.0.1:8545"] } }
71
74
  });
72
75
 
73
- //#endregion
74
- //#region src/chains/marketplace.ts
75
- const marketplace = (0, viem.defineChain)({
76
- id: 60138453027,
77
- name: "Marketplace",
78
- network: "marketplace",
79
- nativeCurrency: {
80
- name: "Ethereum",
81
- symbol: "ETH",
82
- decimals: 18
83
- },
84
- rpcUrls: { default: {
85
- http: ["https://marketplace.hoodi.arkiv.network/rpc"],
86
- webSocket: ["wss://marketplace.hoodi.arkiv.network/rpc/ws"]
87
- } },
88
- blockExplorers: { default: {
89
- name: "Marketplace Arkiv Explorer",
90
- url: "https://explorer.marketplace.hoodi.arkiv.network",
91
- apiUrl: "https://explorer.marketplace.hoodi.arkiv.network/api"
92
- } },
93
- testnet: true
94
- });
95
-
96
- //#endregion
97
- //#region src/chains/mendoza.ts
98
- const mendoza = (0, viem.defineChain)({
99
- id: 60138453056,
100
- name: "Mendoza",
101
- network: "mendoza",
102
- nativeCurrency: {
103
- name: "Ethereum",
104
- symbol: "ETH",
105
- decimals: 18
106
- },
107
- rpcUrls: { default: {
108
- http: ["https://mendoza.hoodi.arkiv.network/rpc"],
109
- webSocket: ["wss://mendoza.hoodi.arkiv.network/rpc/ws"]
110
- } },
111
- blockExplorers: { default: {
112
- name: "Mendoza Arkiv Explorer",
113
- url: "https://explorer.mendoza.hoodi.arkiv.network",
114
- apiUrl: "https://explorer.mendoza.hoodi.arkiv.network/api"
115
- } },
116
- testnet: true
117
- });
118
-
119
- //#endregion
120
- //#region src/chains/rosario.ts
121
- const rosario = (0, viem.defineChain)({
122
- id: 60138453057,
123
- name: "Rosario",
124
- network: "rosario",
125
- nativeCurrency: {
126
- name: "Ethereum",
127
- symbol: "ETH",
128
- decimals: 18
129
- },
130
- rpcUrls: { default: {
131
- http: ["https://rosario.hoodi.arkiv.network/rpc"],
132
- webSocket: ["wss://rosario.hoodi.arkiv.network/rpc/ws"]
133
- } },
134
- blockExplorers: { default: {
135
- name: "Rosario Arkiv Explorer",
136
- url: "https://explorer.rosario.hoodi.arkiv.network",
137
- apiUrl: "https://explorer.rosario.hoodi.arkiv.network/api"
138
- } },
139
- testnet: true
140
- });
141
-
142
76
  //#endregion
143
77
  //#region src/chains/index.ts
144
78
  var chains_exports = /* @__PURE__ */ __export({
145
79
  braga: () => braga,
146
80
  kaolin: () => kaolin,
147
- localhost: () => localhost,
148
- marketplace: () => marketplace,
149
- mendoza: () => mendoza,
150
- rosario: () => rosario
81
+ localhost: () => localhost
151
82
  });
152
83
 
153
84
  //#endregion
@@ -174,22 +105,4 @@ Object.defineProperty(exports, 'localhost', {
174
105
  get: function () {
175
106
  return localhost;
176
107
  }
177
- });
178
- Object.defineProperty(exports, 'marketplace', {
179
- enumerable: true,
180
- get: function () {
181
- return marketplace;
182
- }
183
- });
184
- Object.defineProperty(exports, 'mendoza', {
185
- enumerable: true,
186
- get: function () {
187
- return mendoza;
188
- }
189
- });
190
- Object.defineProperty(exports, 'rosario', {
191
- enumerable: true,
192
- get: function () {
193
- return rosario;
194
- }
195
108
  });
@@ -0,0 +1,86 @@
1
+ import { defineChain } from "viem";
2
+
3
+ //#region rolldown:runtime
4
+ var __defProp = Object.defineProperty;
5
+ var __export = (all) => {
6
+ let target = {};
7
+ for (var name in all) __defProp(target, name, {
8
+ get: all[name],
9
+ enumerable: true
10
+ });
11
+ return target;
12
+ };
13
+
14
+ //#endregion
15
+ //#region src/chains/braga.ts
16
+ const braga = defineChain({
17
+ id: 60138453102,
18
+ name: "Braga",
19
+ network: "braga",
20
+ nativeCurrency: {
21
+ name: "Golem",
22
+ symbol: "GLM",
23
+ decimals: 18
24
+ },
25
+ rpcUrls: { default: {
26
+ http: ["https://braga.hoodi.arkiv.network/rpc"],
27
+ webSocket: ["wss://braga.hoodi.arkiv.network/rpc/ws"]
28
+ } },
29
+ blockExplorers: { default: {
30
+ name: "Braga Arkiv Explorer",
31
+ url: "https://explorer.braga.hoodi.arkiv.network",
32
+ apiUrl: "https://explorer.braga.hoodi.arkiv.network/api"
33
+ } },
34
+ testnet: true
35
+ });
36
+
37
+ //#endregion
38
+ //#region src/chains/kaolin.ts
39
+ /**
40
+ * @deprecated The kaolin network is getting removed on may 15th 2026. Migration guide: https://docs.arkiv.network/networks/migrate-from-kaolin/
41
+ */
42
+ const kaolin = defineChain({
43
+ id: 60138453025,
44
+ name: "Kaolin",
45
+ network: "kaolin",
46
+ nativeCurrency: {
47
+ name: "Ethereum",
48
+ symbol: "ETH",
49
+ decimals: 18
50
+ },
51
+ rpcUrls: { default: {
52
+ http: ["https://kaolin.hoodi.arkiv.network/rpc"],
53
+ webSocket: ["wss://kaolin.hoodi.arkiv.network/rpc/ws"]
54
+ } },
55
+ blockExplorers: { default: {
56
+ name: "Kaolin Arkiv Explorer",
57
+ url: "https://explorer.kaolin.hoodi.arkiv.network",
58
+ apiUrl: "https://explorer.kaolin.hoodi.arkiv.network/api"
59
+ } },
60
+ testnet: true
61
+ });
62
+
63
+ //#endregion
64
+ //#region src/chains/localhost.ts
65
+ const localhost = defineChain({
66
+ id: 1337,
67
+ name: "Localhost",
68
+ nativeCurrency: {
69
+ decimals: 18,
70
+ name: "Ether",
71
+ symbol: "ETH"
72
+ },
73
+ rpcUrls: { default: { http: ["http://127.0.0.1:8545"] } }
74
+ });
75
+
76
+ //#endregion
77
+ //#region src/chains/index.ts
78
+ var chains_exports = /* @__PURE__ */ __export({
79
+ braga: () => braga,
80
+ kaolin: () => kaolin,
81
+ localhost: () => localhost
82
+ });
83
+
84
+ //#endregion
85
+ export { braga as i, localhost as n, kaolin as r, chains_exports as t };
86
+ //# sourceMappingURL=chains-CrtkVbBh.js.map