@witnet/solidity 3.1.4 → 3.1.5

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.
@@ -0,0 +1,609 @@
1
+ export default {
2
+ default: {
3
+ host: "localhost",
4
+ skipDryRun: true,
5
+ },
6
+ "arbitrum:sepolia": {
7
+ network_id: 421614,
8
+ port: 8517,
9
+ verify: {
10
+ apiUrl: "https://api.etherscan.io/v2/api?chainId=421614",
11
+ explorerUrl: "https://sepolia.arbiscan.io",
12
+ },
13
+ },
14
+ "arbitrum:one": {
15
+ mainnet: true,
16
+ network_id: 42161,
17
+ port: 9517,
18
+ verify: {
19
+ apiUrl: "https://api.etherscan.io/v2/api?chainId=42161",
20
+ explorerUrl: "https://arbiscan.io",
21
+ },
22
+ },
23
+ "avalanche:mainnet": {
24
+ mainnet: true,
25
+ network_id: 43114,
26
+ port: 9533,
27
+ symbol: "AVAX",
28
+ verify: {
29
+ apiKey: process.env.ETHERSCAN_ROUTESCAN_API_KEY,
30
+ apiUrl: "https://api.routescan.io/v2/network/mainnet/evm/43114/etherscan/api",
31
+ explorerUrl: "https://snowtrace.io",
32
+ },
33
+ },
34
+ "avalanche:testnet": {
35
+ network_id: 43113,
36
+ port: 8533,
37
+ symbol: "AVAX",
38
+ verify: {
39
+ apiKey: process.env.ETHERSCAN_ROUTESCAN_API_KEY,
40
+ apiUrl: "https://api.routescan.io/v2/network/testnet/evm/43113/etherscan/api",
41
+ explorerUrl: "https://testnet.snowtrace.io",
42
+ },
43
+ },
44
+ "base:mainnet": {
45
+ mainnet: true,
46
+ network_id: 8453,
47
+ port: 9502,
48
+ verify: {
49
+ apiUrl: "https://api.etherscan.io/v2/api?chainid=8453",
50
+ explorerUrl: "https://basescan.org",
51
+ },
52
+ },
53
+ "base:sepolia": {
54
+ network_id: 84532,
55
+ port: 8502,
56
+ verify: {
57
+ apiKey: "MY_API_KEY",
58
+ apiUrl: "https://api.etherscan.io/v2/api?chainid=84532",
59
+ explorerUrl: "https://sepolia.basescan.org",
60
+ },
61
+ },
62
+ "boba:bnb:testnet": {
63
+ network_id: 9728,
64
+ port: 8510,
65
+ confirmations: 4,
66
+ symbol: "BOBA",
67
+ verify: {
68
+ apiUrl: "https://api.routescan.io/v2/network/testnet/evm/9728/etherscan",
69
+ explorerUrl: "https://boba.testnet.routescan.io",
70
+ },
71
+ },
72
+ "boba:bnb:mainnet": {
73
+ mainnet: true,
74
+ network_id: 56288,
75
+ port: 9510,
76
+ symbol: "BOBA",
77
+ verify: {
78
+ apiUrl: "https://api.routescan.io/v2/network/mainnet/evm/56288/etherscan",
79
+ explorerUrl: "https://bobascan.com",
80
+ apiKey: "MY_API_KEY",
81
+ },
82
+ },
83
+ "boba:eth:mainnet": {
84
+ mainnet: true,
85
+ network_id: 288,
86
+ port: 9539,
87
+ symbol: "BOBA",
88
+ verify: {
89
+ apiUrl: "https://api.routescan.io/v2/network/mainnet/evm/288/etherscan",
90
+ explorerUrl: "https://bobascan.com",
91
+ apiKey: "MY_API_KEY",
92
+ },
93
+ },
94
+ "boba:eth:goerli": {
95
+ network_id: 2888,
96
+ port: 8515,
97
+ symbol: "BOBA",
98
+ verify: {
99
+ apiUrl: "https://api.routescan.io/v2/network/testnet/evm/2888/etherscan",
100
+ explorerUrl: "https://boba.testnet.routescan.io",
101
+ },
102
+ },
103
+ "celo:sepolia": {
104
+ confirmations: 5,
105
+ network_id: 11142220,
106
+ port: 8538,
107
+ symbol: "CELO",
108
+ verify: {
109
+ apiUrl: "https://api.etherscan.io/v2/api?chainId=11142220",
110
+ explorerUrl: "https://sepolia.celoscan.io/",
111
+ },
112
+ },
113
+ "celo:mainnet": {
114
+ mainnet: true,
115
+ network_id: 42220,
116
+ port: 9538,
117
+ symbol: "CELO",
118
+ verify: {
119
+ apiUrl: "https://api.etherscan.io/v2/api?chainId=42220",
120
+ explorerUrl: "https://celoscan.io",
121
+ },
122
+ },
123
+ "conflux:core:testnet": {
124
+ port: 8540,
125
+ network_id: 70,
126
+ symbol: "CFX",
127
+ verify: {
128
+ apiUrl: "https://api-testnet.confluxscan.io",
129
+ explorerUrl: "https://testnet.confluxscan.io",
130
+ },
131
+ },
132
+ "conflux:core:mainnet": {
133
+ mainnet: true,
134
+ port: 9540,
135
+ network_id: 1029,
136
+ symbol: "CFX",
137
+ verify: {
138
+ apiKey: "MY_API_KEY",
139
+ apiUrl: "https://api.confluxscan.net",
140
+ explorerUrl: "https://confluxscan.net",
141
+ },
142
+ },
143
+ "conflux:espace:testnet": {
144
+ port: 8529,
145
+ network_id: 71,
146
+ // networkCheckTimeout: 999999,
147
+ // gas: 15000000,
148
+ symbol: "CFX",
149
+ verify: {
150
+ apiKey: "espace",
151
+ apiUrl: "https://evmapi-testnet.confluxscan.net/api",
152
+ explorerUrl: "https://evmtestnet.confluxscan.org",
153
+ },
154
+ },
155
+ "conflux:espace:mainnet": {
156
+ mainnet: true,
157
+ port: 9529,
158
+ network_id: 1030,
159
+ networkCheckTimeout: 999999,
160
+ // gas: 15000000,
161
+ symbol: "CFX",
162
+ verify: {
163
+ apiKey: "espace",
164
+ apiUrl: "https://evmapi.confluxscan.org/api",
165
+ explorerUrl: "https://evm.confluxscan.org",
166
+ },
167
+ },
168
+ "cronos:testnet": {
169
+ port: 8530,
170
+ network_id: 338,
171
+ symbol: "CRO",
172
+ verify: {
173
+ apiKey: process.env.ETHERSCAN_CRONOS_API_KEY,
174
+ apiUrl: "https://explorer-api.cronos.org/testnet/api/v2",
175
+ explorerUrl: "https://explorer.cronos.org/testnet",
176
+ },
177
+ },
178
+ "cronos:mainnet": {
179
+ mainnet: true,
180
+ port: 9530,
181
+ network_id: 25,
182
+ confirmations: 4,
183
+ // gas: 2500000,
184
+ symbol: "CRO",
185
+ verify: {
186
+ apiKey: process.env.ETHERSCAN_CRONOS_API_KEY,
187
+ apiUrl: "https://api-explorer.cronos.org/mainnet/api/v2",
188
+ explorerUrl: "https://explorer.cronos.org",
189
+ },
190
+ },
191
+ "cube:testnet": {
192
+ port: 8522,
193
+ network_id: 1819,
194
+ },
195
+ "dogechain:testnet": {
196
+ port: 8519,
197
+ network_id: 568,
198
+ gas: 6000000,
199
+ symbol: "wDOGE",
200
+ verify: {
201
+ apiKey: "MY_API_KEY",
202
+ apiUrl: "http://explorer-testnet.dogechain.dog/api",
203
+ explorerUrl: "https://explorer-testnet.dogechain.dog",
204
+ },
205
+ },
206
+ "dogechain:mainnet": {
207
+ mainnet: true,
208
+ port: 9519,
209
+ network_id: 2000,
210
+ symbol: "wDOGE",
211
+ verify: {
212
+ apiKey: "MY_API_KEY",
213
+ apiUrl: "http://explorer.dogechain.dog/api",
214
+ explorerUrl: "https://explorer.dogechain.dog",
215
+ },
216
+ },
217
+ "elastos:testnet": {
218
+ port: 8513,
219
+ network_id: 21,
220
+ symbol: "ELA",
221
+ verify: {
222
+ apiUrl: "https://esc-testnet.elastos.io/api",
223
+ explorerUrl: "https://esc-testnet.elastos.io",
224
+ },
225
+ },
226
+ "elastos:mainnet": {
227
+ mainnet: true,
228
+ port: 9513,
229
+ network_id: 20,
230
+ symbol: "ELA",
231
+ verify: {
232
+ apiUrl: "https://esc.elastos.io/api",
233
+ explorerUrl: "https://esc.elastos.io",
234
+ },
235
+ },
236
+ "ethereum:mainnet": {
237
+ mainnet: true,
238
+ network_id: 1,
239
+ port: 9545,
240
+ verify: {
241
+ apiUrl: "https://api.etherscan.io/v2/api?chainId=1",
242
+ explorerUrl: "https://etherscan.io",
243
+ },
244
+ },
245
+ "ethereum:sepolia": {
246
+ confirmations: 2,
247
+ network_id: 11155111,
248
+ port: 8506,
249
+ verify: {
250
+ apiUrl: "https://api.etherscan.io/v2/api?chainId=11155111",
251
+ explorerUrl: "https://sepolia.etherscan.io",
252
+ },
253
+ },
254
+ "fuse:testnet": {
255
+ port: 8511,
256
+ network_id: 123,
257
+ verify: {
258
+ apiKey: "MY_API_KEY",
259
+ apiUrl: "https://explorer.fusespark.io/api",
260
+ explorerUrl: "https://explorer.fusespark.io",
261
+ },
262
+ },
263
+ "gnosis:mainnet": {
264
+ mainnet: true,
265
+ port: 9509,
266
+ network_id: 100,
267
+ symbol: "DAI",
268
+ verify: {
269
+ apiUrl: "https://api.etherscan.io/v2/api?chainId=100",
270
+ explorerUrl: "https://gnosis-chiado.blockscout.com",
271
+ },
272
+ },
273
+ "gnosis:testnet": {
274
+ port: 8509,
275
+ network_id: 10200,
276
+ symbol: "xDAI",
277
+ verify: {
278
+ apiKey: "MY_API_KEY",
279
+ apiUrl: "https://api.etherscan.io/v2/api?chainId=10200",
280
+ explorerUrl: "https://gnosis-chiado.blockscout.com",
281
+ },
282
+ },
283
+ "kaia:testnet": {
284
+ port: 8527,
285
+ network_id: 1001,
286
+ symbol: "KAIA",
287
+ verify: {
288
+ apiKey: "MY_API_KEY",
289
+ apiUrl: "https://kairos.kaiascan.io/api",
290
+ explorerUrl: "https://kairos.kaiascan.io/",
291
+ },
292
+ },
293
+ "kaia:mainnet": {
294
+ mainnet: true,
295
+ port: 9527,
296
+ network_id: 8217,
297
+ symbol: "KAIA",
298
+ verify: {
299
+ apiKey: "MY_API_KEY",
300
+ apiUrl: "https://mainnet-api.kaiascan.io/hardhat-verify",
301
+ explorerUrl: "https://kaiascan.io",
302
+ },
303
+ },
304
+ "kava:testnet": {
305
+ port: 8526,
306
+ network_id: 2221,
307
+ symbol: "KAVA",
308
+ verify: {
309
+ apiKey: "MY_API_KEY",
310
+ apiUrl: "https://testnet.explorer.kavalabs.io/api",
311
+ explorerUrl: "https://testnet.explorer.kavalabs.io",
312
+ },
313
+ },
314
+ "kava:mainnet": {
315
+ mainnet: true,
316
+ port: 9526,
317
+ network_id: 2222,
318
+ symbol: "KAVA",
319
+ // gas: 10000000,
320
+ verify: {
321
+ apiKey: "MY_API_KEY",
322
+ apiUrl: "https://explorer.kavalabs.io/api",
323
+ explorerUrl: "https://explorer.kavalabs.io",
324
+ },
325
+ },
326
+ "kcc:testnet": {
327
+ port: 8537,
328
+ network_id: 322,
329
+ symbol: "KCS",
330
+ verify: {
331
+ apiUrl: "https://api.etherscan.io/v2/api?chainid=322",
332
+ explorerUrl: "https://scan-testnet.kcc.network",
333
+ },
334
+ },
335
+ "kcc:mainnet": {
336
+ mainnet: true,
337
+ port: 9537,
338
+ network_id: 321,
339
+ symbol: "KCS",
340
+ verify: {
341
+ apiUrl: "https://scan.kcc.io/api",
342
+ explorerUrl: "https://scan.kcc.io",
343
+ },
344
+ },
345
+ "mantle:sepolia": {
346
+ port: 8508,
347
+ network_id: 5003,
348
+ symbol: "MNT",
349
+ verify: {
350
+ apiUrl: "https://api.etherscan.io/v2/api?chainid=5003",
351
+ explorerUrl: "https://sepolia.mantlescan.xyz/",
352
+ },
353
+ },
354
+ "mantle:mainnet": {
355
+ mainnet: true,
356
+ port: 9508,
357
+ network_id: 5000,
358
+ symbol: "MNT",
359
+ verify: {
360
+ apiUrl: "https://api.etherscan.io/v2/api?chainid=5000",
361
+ explorerUrl: "https://explorer.mantle.xyz",
362
+ },
363
+ },
364
+ "metis:mainnet": {
365
+ mainnet: true,
366
+ port: 7536,
367
+ network_id: 1088,
368
+ symbol: "METIS",
369
+ },
370
+ "metis:sepolia": {
371
+ port: 8536,
372
+ network_id: 59902,
373
+ symbol: "METIS",
374
+ verify: {
375
+ apiKey: "MY_API_KEY",
376
+ apiUrl: "https://sepolia-explorer.metisdevops.link/api",
377
+ explorerUrl: "https://sepolia-explorer.metisdevops.link",
378
+ },
379
+ },
380
+ "meter:testnet": {
381
+ port: 8523,
382
+ network_id: 83,
383
+ symbol: "MTR",
384
+ },
385
+ "meter:mainnet": {
386
+ mainnet: true,
387
+ port: 9523,
388
+ network_id: 82,
389
+ symbol: "MTR",
390
+ },
391
+ "moonbeam:mainnet": {
392
+ mainnet: true,
393
+ port: 9531,
394
+ network_id: 1284,
395
+ symbol: "GLMR",
396
+ verify: {
397
+ apiUrl: "https://api.etherscan.io/v2/api?chainid=1284",
398
+ explorerUrl: "https://moonriver.moonscan.io",
399
+ },
400
+ },
401
+ "moonbeam:moonriver": {
402
+ mainnet: true,
403
+ port: 7531,
404
+ network_id: 1285,
405
+ symbol: "MOVR",
406
+ verify: {
407
+ apiUrl: "https://api.etherscan.io/v2/api?chainid=1285",
408
+ explorerUrl: "https://moonriver.moonscan.io",
409
+ },
410
+ },
411
+ "moonbeam:moonbase": {
412
+ port: 8531,
413
+ network_id: 1287,
414
+ gas: 15000000,
415
+ symbol: "DEV",
416
+ verify: {
417
+ apiUrl: "https://api.etherscan.io/v2/api?chainid=1287",
418
+ explorerUrl: "https://moonbase.moonscan.io",
419
+ },
420
+ },
421
+ "okx:oktchain:testnet": {
422
+ port: 8528,
423
+ network_id: 65,
424
+ symbol: "OKT",
425
+ verify: {
426
+ apiUrl: "https://www.oklink.com/api/explorer/v1/contract/verify/async/api",
427
+ explorerUrl: "https://www.okx.com/explorer/oktc",
428
+ },
429
+ },
430
+ "okx:oktchain:mainnet": {
431
+ mainnet: true,
432
+ port: 9528,
433
+ network_id: 66,
434
+ symbol: "OKT",
435
+ verify: {
436
+ apiUrl: "https://www.oklink.com/api/explorer/v1/contract/verify/async/api/okctest",
437
+ explorerUrl: "https://www.okx.com/explorer/oktc-test",
438
+ },
439
+ },
440
+ "okx:x1:sepolia": {
441
+ port: 8505,
442
+ network_id: 195,
443
+ symbol: "OKB",
444
+ verify: {
445
+ apiUrl: "https://www.okx.com/explorer/xlayer-test/api",
446
+ explorerUrl: "https://www.okx.com/explorer/xlayer-test",
447
+ },
448
+ },
449
+ "optimism:sepolia": {
450
+ chain_type: "op",
451
+ port: 8503,
452
+ network_id: 11155420,
453
+ confirmations: 3,
454
+ verify: {
455
+ apiUrl: "https://api.etherscan.io/v2/api?chainid=11155420",
456
+ explorerUrl: "https://sepolia-optimism.etherscan.io/address",
457
+ },
458
+ },
459
+ "optimism:mainnet": {
460
+ mainnet: true,
461
+ port: 9520,
462
+ network_id: 10,
463
+ confirmations: 3,
464
+ verify: {
465
+ apiKey: process.env.ETHERSCAN_OPTIMISM_API_KEY,
466
+ apiUrl: "https://api.etherscan.io/v2/api?chainid=10",
467
+ explorerUrl: "https://optimistic.etherscan.io",
468
+ },
469
+ },
470
+ "polygon:amoy": {
471
+ port: 8535,
472
+ network_id: 80002,
473
+ confirmations: 2,
474
+ symbol: "POL",
475
+ verify: {
476
+ apiKey: process.env.ETHERSCAN_POLYGON_API_KEY,
477
+ apiUrl: "https://api.etherscan.io/v2/api?chainid=80002",
478
+ explorerUrl: "https://amoy.polygonscan.com",
479
+ },
480
+ },
481
+ "polygon:mainnet": {
482
+ mainnet: true,
483
+ port: 9535,
484
+ network_id: 137,
485
+ symbol: "POL",
486
+ verify: {
487
+ apiKey: process.env.ETHERSCAN_POLYGON_API_KEY,
488
+ apiUrl: "https://api.etherscan.io/v2/api?chainid=137",
489
+ explorerUrl: "https://polygonscan.com",
490
+ },
491
+ },
492
+ "polygon:zkevm:testnet": {
493
+ port: 8512,
494
+ network_id: 1442,
495
+ verify: {
496
+ apiUrl: "https://api-testnet-zkevm.polygonscan.com/api",
497
+ explorerUrl: "https://testnet-zkevm.polygonscan.com",
498
+ },
499
+ },
500
+ "polygon:zkevm:mainnet": {
501
+ mainnet: true,
502
+ port: 9512,
503
+ network_id: 1101,
504
+ verify: {
505
+ apiUrl: "https://api-zkevm.polygonscan.com/api",
506
+ explorerUrl: "https://zkevm.polygonscan.com",
507
+ },
508
+ },
509
+ "reef:testnet": {
510
+ port: 8532,
511
+ network_id: 13939,
512
+ symbol: "REEF",
513
+ },
514
+ "reef:mainnet": {
515
+ mainnet: true,
516
+ port: 9532,
517
+ network_id: 13939,
518
+ symbol: "REEF",
519
+ },
520
+ "scroll:sepolia": {
521
+ port: 8514,
522
+ network_id: 534351,
523
+ verify: {
524
+ apiUrl: "https://api.etherscan.io/v2/api?chainId=534351",
525
+ explorerUrl: "https://sepolia.scrollscan.com",
526
+ },
527
+ },
528
+ "scroll:mainnet": {
529
+ mainnet: true,
530
+ port: 9514,
531
+ network_id: 534352,
532
+ verify: {
533
+ apiUrl: "https://api.etherscan.io/v2/api?chainId=534352",
534
+ explorerUrl: "https://sepolia.scrollscan.com",
535
+ },
536
+ },
537
+ "syscoin:testnet": {
538
+ port: 8521,
539
+ network_id: 5700,
540
+ symbol: "SYS",
541
+ },
542
+ "syscoin:mainnet": {
543
+ mainnet: true,
544
+ port: 9521,
545
+ network_id: 57,
546
+ symbol: "SYS",
547
+ },
548
+ "syscoin:rollux:testnet": {
549
+ port: 8507,
550
+ network_id: 57000,
551
+ symbol: "SYS",
552
+ verify: {
553
+ apiKey: "abc",
554
+ apiUrl: "https://rollux.tanenbaum.io/api",
555
+ explorerUrl: "https://rollux.tanenbaum.io",
556
+ },
557
+ },
558
+ "ten:testnet": {
559
+ port: 8504,
560
+ network_id: 8443,
561
+ gas: 15000000,
562
+ symbol: "ETH",
563
+ },
564
+ "unichain:sepolia": {
565
+ port: 8500,
566
+ network_id: 1301,
567
+ confirmations: 8,
568
+ verify: {
569
+ apiUrl: "https://api.etherscan.io/v2/api?chainid=1301",
570
+ explorerUrl: "https://sepolia.uniscan.xyz",
571
+ },
572
+ },
573
+ "ultron:testnet": {
574
+ port: 8516,
575
+ network_id: 1230,
576
+ symbol: "ULX",
577
+ },
578
+ "ultron:mainnet": {
579
+ mainnet: true,
580
+ port: 9516,
581
+ network_id: 1231,
582
+ symbol: "ULX",
583
+ },
584
+ "worldchain:mainnet": {
585
+ mainnet: true,
586
+ port: 9501,
587
+ network_id: 480,
588
+ verify: {
589
+ apiUrl: "https://api.etherscan.io/v2/api?chainid=480",
590
+ explorerUrl: "https://worldchain-mainnet.explorer.alchemy.com",
591
+ },
592
+ },
593
+ "worldchain:sepolia": {
594
+ port: 8501,
595
+ network_id: 4801,
596
+ verify: {
597
+ apiUrl: "https://api.etherscan.io/v2/api?chainid=4801",
598
+ explorerUrl: "https://sepolia.worldscan.org/",
599
+ },
600
+ },
601
+ "zksync:sepolia": {
602
+ port: 8499,
603
+ network_id: 300,
604
+ verify: {
605
+ apiUrl: "https://sepolia-era.zksync.network/api",
606
+ explorerUrl: "https://sepolia-era.zksync.network",
607
+ },
608
+ },
609
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@witnet/solidity",
3
- "version": "3.1.4",
3
+ "version": "3.1.5",
4
4
  "description": "Wit/Oracle Solidity Framework for EVM-compatible chains",
5
5
  "author": "Witnet Foundation <info@witnet.foundation>",
6
6
  "license": "MIT",
@@ -62,6 +62,7 @@
62
62
  "contracts",
63
63
  "migrations/*.json",
64
64
  "migrations/settings/artifacts.js",
65
+ "migrations/settings/networks.js",
65
66
  "scripts",
66
67
  "src/bin",
67
68
  ".env_witnet"