@snapshot-labs/snapshot.js 0.11.29 → 0.11.30
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/dist/index.d.ts +18 -0
- package/dist/schemas/index.d.ts +18 -0
- package/dist/snapshot.cjs.js +63 -54
- package/dist/snapshot.esm.js +63 -54
- package/dist/snapshot.min.js +3 -3
- package/package.json +1 -1
- package/src/networks.json +46 -58
- package/src/schemas/profile.json +18 -0
package/package.json
CHANGED
package/src/networks.json
CHANGED
|
@@ -36,30 +36,6 @@
|
|
|
36
36
|
"start": 7929876,
|
|
37
37
|
"logo": "ipfs://bafkreid7ndxh6y2ljw2jhbisodiyrhcy2udvnwqgon5wgells3kh4si5z4"
|
|
38
38
|
},
|
|
39
|
-
"5": {
|
|
40
|
-
"key": "5",
|
|
41
|
-
"name": "Goerli testnet",
|
|
42
|
-
"shortName": "Goerli",
|
|
43
|
-
"chainId": 5,
|
|
44
|
-
"network": "goerli",
|
|
45
|
-
"testnet": true,
|
|
46
|
-
"multicall": "0x77dca2c955b15e9de4dbbcf1246b4b85b651e50e",
|
|
47
|
-
"ensResolvers": [
|
|
48
|
-
"0xd7a4F6473f32aC2Af804B3686AE8F1932bC35750",
|
|
49
|
-
"0x4B1488B7a6B320d2D721406204aBc3eeAa9AD329"
|
|
50
|
-
],
|
|
51
|
-
"ensNameWrapper": "0x114D4603199df73e7D157787f8778E21fCd13066",
|
|
52
|
-
"ensSubgraph": "https://api.thegraph.com/subgraphs/name/ensdomains/ensgoerli",
|
|
53
|
-
"rpc": [
|
|
54
|
-
"https://eth-goerli.alchemyapi.io/v2/v4nqH_J-J3STit45Mm07TxuYexMHQsYZ"
|
|
55
|
-
],
|
|
56
|
-
"explorer": {
|
|
57
|
-
"url": "https://goerli.etherscan.io",
|
|
58
|
-
"apiUrl": "https://api-goerli.etherscan.io"
|
|
59
|
-
},
|
|
60
|
-
"start": 743550,
|
|
61
|
-
"logo": "ipfs://bafkreid7ndxh6y2ljw2jhbisodiyrhcy2udvnwqgon5wgells3kh4si5z4"
|
|
62
|
-
},
|
|
63
39
|
"8": {
|
|
64
40
|
"key": "8",
|
|
65
41
|
"name": "Ubiq",
|
|
@@ -485,22 +461,20 @@
|
|
|
485
461
|
"start": 13960096,
|
|
486
462
|
"logo": "ipfs://QmU7f1MyRz8rLELFfypnWZQjGbDGYgZtC9rjw47jYMYrnu"
|
|
487
463
|
},
|
|
488
|
-
"
|
|
489
|
-
"key": "
|
|
490
|
-
"name": "zkSync
|
|
491
|
-
"shortName": "
|
|
492
|
-
"chainId":
|
|
493
|
-
"network": "
|
|
494
|
-
"
|
|
495
|
-
"
|
|
496
|
-
"rpc": [
|
|
497
|
-
"https://testnet.era.zksync.dev"
|
|
498
|
-
],
|
|
464
|
+
"300": {
|
|
465
|
+
"key": "300",
|
|
466
|
+
"name": "zkSync Sepolia Testnet",
|
|
467
|
+
"shortName": "testnet",
|
|
468
|
+
"chainId": 300,
|
|
469
|
+
"network": "testnet",
|
|
470
|
+
"multicall": "0xF9cda624FBC7e059355ce98a31693d299FACd963",
|
|
471
|
+
"rpc": [],
|
|
499
472
|
"explorer": {
|
|
500
|
-
"url": "https://
|
|
473
|
+
"url": "https://sepolia.explorer.zksync.dev/"
|
|
501
474
|
},
|
|
502
|
-
"start":
|
|
503
|
-
"logo": "ipfs://bafkreih6y7ri7h667cwxe5miisxghfheiidtbw2747y75stoxt3gp3a2yy"
|
|
475
|
+
"start": 2292,
|
|
476
|
+
"logo": "ipfs://bafkreih6y7ri7h667cwxe5miisxghfheiidtbw2747y75stoxt3gp3a2yy",
|
|
477
|
+
"testnet": true
|
|
504
478
|
},
|
|
505
479
|
"314": {
|
|
506
480
|
"key": "314",
|
|
@@ -1328,18 +1302,18 @@
|
|
|
1328
1302
|
"start": 62,
|
|
1329
1303
|
"logo": "ipfs://QmZNkpVgPbuVbDcsi6arwH1om3456FGnwfDqYQJWUfHDEx"
|
|
1330
1304
|
},
|
|
1331
|
-
"
|
|
1332
|
-
"key": "
|
|
1333
|
-
"name": "Linea
|
|
1334
|
-
"shortName": "
|
|
1335
|
-
"chainId":
|
|
1305
|
+
"59141": {
|
|
1306
|
+
"key": "59141",
|
|
1307
|
+
"name": "Linea Sepolia",
|
|
1308
|
+
"shortName": "testnet",
|
|
1309
|
+
"chainId": 59141,
|
|
1336
1310
|
"network": "testnet",
|
|
1337
1311
|
"multicall": "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
1338
1312
|
"rpc": [],
|
|
1339
1313
|
"explorer": {
|
|
1340
|
-
"url": "https://
|
|
1314
|
+
"url": "https://sepolia.lineascan.build/"
|
|
1341
1315
|
},
|
|
1342
|
-
"start":
|
|
1316
|
+
"start": 227427,
|
|
1343
1317
|
"logo": "ipfs://bafkreihtyzolub3sejuwc32hpdpjnt7ksowaguni2yuho3kyihhcqrtqce",
|
|
1344
1318
|
"testnet": true
|
|
1345
1319
|
},
|
|
@@ -1392,21 +1366,20 @@
|
|
|
1392
1366
|
"start": 88189,
|
|
1393
1367
|
"logo": "ipfs://bafkreibfmkjg22cozxppzcoxswj45clvh2rqhxzax57cmmgudbtkf4dkce"
|
|
1394
1368
|
},
|
|
1395
|
-
"
|
|
1396
|
-
"key": "
|
|
1397
|
-
"name": "Base
|
|
1398
|
-
"
|
|
1399
|
-
"
|
|
1400
|
-
"
|
|
1401
|
-
"multicall": "
|
|
1402
|
-
"rpc": [
|
|
1403
|
-
"https://goerli.base.org"
|
|
1404
|
-
],
|
|
1369
|
+
"84532": {
|
|
1370
|
+
"key": "84532",
|
|
1371
|
+
"name": "Base Sepolia",
|
|
1372
|
+
"shortName": "testnet",
|
|
1373
|
+
"chainId": 84532,
|
|
1374
|
+
"network": "testnet",
|
|
1375
|
+
"multicall": "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
1376
|
+
"rpc": [],
|
|
1405
1377
|
"explorer": {
|
|
1406
|
-
"url": "https://
|
|
1378
|
+
"url": "https://base-sepolia.blockscout.com/"
|
|
1407
1379
|
},
|
|
1408
|
-
"start":
|
|
1409
|
-
"logo": "ipfs://QmaxRoHpxZd8PqccAynherrMznMufG6sdmHZLihkECXmZv"
|
|
1380
|
+
"start": 1059647,
|
|
1381
|
+
"logo": "ipfs://QmaxRoHpxZd8PqccAynherrMznMufG6sdmHZLihkECXmZv",
|
|
1382
|
+
"testnet": true
|
|
1410
1383
|
},
|
|
1411
1384
|
"686868": {
|
|
1412
1385
|
"key": "686868",
|
|
@@ -1461,6 +1434,21 @@
|
|
|
1461
1434
|
"start": 751532,
|
|
1462
1435
|
"logo": "ipfs://bafkreid7ndxh6y2ljw2jhbisodiyrhcy2udvnwqgon5wgells3kh4si5z4"
|
|
1463
1436
|
},
|
|
1437
|
+
"11155420": {
|
|
1438
|
+
"key": "11155420",
|
|
1439
|
+
"name": "OP Sepolia",
|
|
1440
|
+
"shortName": "testnet",
|
|
1441
|
+
"chainId": 11155420,
|
|
1442
|
+
"network": "testnet",
|
|
1443
|
+
"multicall": "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
1444
|
+
"rpc": [],
|
|
1445
|
+
"explorer": {
|
|
1446
|
+
"url": "https://sepolia-optimism.etherscan.io"
|
|
1447
|
+
},
|
|
1448
|
+
"start": 1620204,
|
|
1449
|
+
"logo": "ipfs://QmfF4kwhGL8QosUXvgq2KWCmavhKBvwD6kbhs7L4p5ZAWb",
|
|
1450
|
+
"testnet": true
|
|
1451
|
+
},
|
|
1464
1452
|
"111557560": {
|
|
1465
1453
|
"key": "111557560",
|
|
1466
1454
|
"name": "Cyber Testnet",
|
package/src/schemas/profile.json
CHANGED
|
@@ -21,6 +21,24 @@
|
|
|
21
21
|
"title": "avatar",
|
|
22
22
|
"format": "customUrl",
|
|
23
23
|
"maxLength": 256
|
|
24
|
+
},
|
|
25
|
+
"cover": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"title": "avatar",
|
|
28
|
+
"format": "customUrl",
|
|
29
|
+
"maxLength": 256
|
|
30
|
+
},
|
|
31
|
+
"twitter": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"title": "twitter",
|
|
34
|
+
"pattern": "^[A-Za-z0-9_]*$",
|
|
35
|
+
"maxLength": 15
|
|
36
|
+
},
|
|
37
|
+
"github": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"title": "github",
|
|
40
|
+
"pattern": "^[A-Za-z0-9_-]*$",
|
|
41
|
+
"maxLength": 39
|
|
24
42
|
}
|
|
25
43
|
},
|
|
26
44
|
"required": [],
|