Skip to content

Commit 7c4228c

Browse files
committed
improve ux
1 parent 03699bd commit 7c4228c

File tree

8 files changed

+1598
-1215
lines changed

8 files changed

+1598
-1215
lines changed

script/README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
# script
22

3-
To install dependencies:
3+
Install dependencies:
44

55
```bash
66
bun install
77
```
88

9-
To run:
9+
Fetch all data for a single chain:
1010

1111
```bash
12-
bun run index.ts
12+
bun main [chainId]
1313
```
1414

15-
This project was created using `bun init` in bun v1.1.0. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
15+
Fetch all data for all chains:
16+
17+
```bash
18+
bun main
19+
```

script/data/chain/1.json

Lines changed: 195 additions & 151 deletions
Large diffs are not rendered by default.

script/data/chain/10.json

Lines changed: 195 additions & 151 deletions
Large diffs are not rendered by default.

script/data/chain/137.json

Lines changed: 195 additions & 151 deletions
Large diffs are not rendered by default.

script/data/chain/42161.json

Lines changed: 195 additions & 151 deletions
Large diffs are not rendered by default.
Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
{
2+
"1": [
3+
{
4+
"name": "CreateX",
5+
"address": "0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed",
6+
"codeHash": "0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f",
7+
"hasCode": true
8+
},
9+
{
10+
"name": "Arachnid's Deterministic Deployment Proxy",
11+
"address": "0x4e59b44847b379578588920cA78FbF26c0B4956C",
12+
"codeHash": "0x2fa86add0aed31f33a762c9d88e807c475bd51d0f52bd0955754b2608f7e4989",
13+
"hasCode": true
14+
},
15+
{
16+
"name": "Create2Deployer",
17+
"address": "0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2",
18+
"codeHash": "0x2a300e3fee0eee59e0a1b184d1531c4bea54b843b28426f227d12145e8918663",
19+
"hasCode": true
20+
},
21+
{
22+
"name": "ERC-4337 EntryPoint v0.6",
23+
"address": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",
24+
"codeHash": "0xc93c806e738300b5357ecdc2e971d6438d34d8e4e17b99b758b1f9cac91c8e70",
25+
"hasCode": true
26+
},
27+
{
28+
"name": "ERC-4337 SimpleAccountFactory v0.6",
29+
"address": "0x9406Cc6185a346906296840746125a0E44976454",
30+
"codeHash": "0xe7ca0f7aa741031b27df24056c8000e7df56cf8a4ff434e28b1bbe1aa6eaa515",
31+
"hasCode": true
32+
},
33+
{
34+
"name": "Multicall3",
35+
"address": "0xcA11bde05977b3631167028862bE2a173976CA11",
36+
"codeHash": "0xd5c15df687b16f2ff992fc8d767b4216323184a2bbc6ee2f9c398c318e770891",
37+
"hasCode": true
38+
},
39+
{
40+
"name": "Permit2",
41+
"address": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
42+
"codeHash": "0xc67d1657868aa5146eaf24fb879fb1fdec3d2d493b3683a61c9c2f4fb2851131",
43+
"hasCode": true
44+
}
45+
],
46+
"10": [
47+
{
48+
"name": "CreateX",
49+
"address": "0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed",
50+
"codeHash": "0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f",
51+
"hasCode": true
52+
},
53+
{
54+
"name": "Arachnid's Deterministic Deployment Proxy",
55+
"address": "0x4e59b44847b379578588920cA78FbF26c0B4956C",
56+
"codeHash": "0x2fa86add0aed31f33a762c9d88e807c475bd51d0f52bd0955754b2608f7e4989",
57+
"hasCode": true
58+
},
59+
{
60+
"name": "Create2Deployer",
61+
"address": "0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2",
62+
"codeHash": "0xb0550b5b431e30d38000efb7107aaa0ade03d48a7198a140edda9d27134468b2",
63+
"hasCode": true
64+
},
65+
{
66+
"name": "ERC-4337 EntryPoint v0.6",
67+
"address": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",
68+
"codeHash": "0xc93c806e738300b5357ecdc2e971d6438d34d8e4e17b99b758b1f9cac91c8e70",
69+
"hasCode": true
70+
},
71+
{
72+
"name": "ERC-4337 SimpleAccountFactory v0.6",
73+
"address": "0x9406Cc6185a346906296840746125a0E44976454",
74+
"codeHash": "0xe7ca0f7aa741031b27df24056c8000e7df56cf8a4ff434e28b1bbe1aa6eaa515",
75+
"hasCode": true
76+
},
77+
{
78+
"name": "Multicall3",
79+
"address": "0xcA11bde05977b3631167028862bE2a173976CA11",
80+
"codeHash": "0xd5c15df687b16f2ff992fc8d767b4216323184a2bbc6ee2f9c398c318e770891",
81+
"hasCode": true
82+
},
83+
{
84+
"name": "Permit2",
85+
"address": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
86+
"codeHash": "0x375714c2c948abd47bf468552c0a842d0e8002ca721efd85061a1297d6824617",
87+
"hasCode": true
88+
}
89+
],
90+
"137": [
91+
{
92+
"name": "CreateX",
93+
"address": "0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed",
94+
"codeHash": "0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f",
95+
"hasCode": true
96+
},
97+
{
98+
"name": "Arachnid's Deterministic Deployment Proxy",
99+
"address": "0x4e59b44847b379578588920cA78FbF26c0B4956C",
100+
"codeHash": "0x2fa86add0aed31f33a762c9d88e807c475bd51d0f52bd0955754b2608f7e4989",
101+
"hasCode": true
102+
},
103+
{
104+
"name": "Create2Deployer",
105+
"address": "0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2",
106+
"codeHash": "0x99620e2b8c35367629c21fa0691e69597c468ca24dc83a024fdb46ad6cba533d",
107+
"hasCode": true
108+
},
109+
{
110+
"name": "ERC-4337 EntryPoint v0.6",
111+
"address": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",
112+
"codeHash": "0xc93c806e738300b5357ecdc2e971d6438d34d8e4e17b99b758b1f9cac91c8e70",
113+
"hasCode": true
114+
},
115+
{
116+
"name": "ERC-4337 SimpleAccountFactory v0.6",
117+
"address": "0x9406Cc6185a346906296840746125a0E44976454",
118+
"codeHash": "0xe7ca0f7aa741031b27df24056c8000e7df56cf8a4ff434e28b1bbe1aa6eaa515",
119+
"hasCode": true
120+
},
121+
{
122+
"name": "Multicall3",
123+
"address": "0xcA11bde05977b3631167028862bE2a173976CA11",
124+
"codeHash": "0xd5c15df687b16f2ff992fc8d767b4216323184a2bbc6ee2f9c398c318e770891",
125+
"hasCode": true
126+
},
127+
{
128+
"name": "Permit2",
129+
"address": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
130+
"codeHash": "0xdb0dd198c1767513d04589d8b3da05423ddc97e543440f84afe0e216693af9bb",
131+
"hasCode": true
132+
}
133+
],
134+
"42161": [
135+
{
136+
"name": "CreateX",
137+
"address": "0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed",
138+
"codeHash": "0xbd8a7ea8cfca7b4e5f5041d7d4b17bc317c5ce42cfbc42066a00cf26b43eb53f",
139+
"hasCode": true
140+
},
141+
{
142+
"name": "Arachnid's Deterministic Deployment Proxy",
143+
"address": "0x4e59b44847b379578588920cA78FbF26c0B4956C",
144+
"codeHash": "0x2fa86add0aed31f33a762c9d88e807c475bd51d0f52bd0955754b2608f7e4989",
145+
"hasCode": true
146+
},
147+
{
148+
"name": "Create2Deployer",
149+
"address": "0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2",
150+
"codeHash": "0x99620e2b8c35367629c21fa0691e69597c468ca24dc83a024fdb46ad6cba533d",
151+
"hasCode": true
152+
},
153+
{
154+
"name": "ERC-4337 EntryPoint v0.6",
155+
"address": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",
156+
"codeHash": "0xc93c806e738300b5357ecdc2e971d6438d34d8e4e17b99b758b1f9cac91c8e70",
157+
"hasCode": true
158+
},
159+
{
160+
"name": "ERC-4337 SimpleAccountFactory v0.6",
161+
"address": "0x9406Cc6185a346906296840746125a0E44976454",
162+
"codeHash": "0xe7ca0f7aa741031b27df24056c8000e7df56cf8a4ff434e28b1bbe1aa6eaa515",
163+
"hasCode": true
164+
},
165+
{
166+
"name": "Multicall3",
167+
"address": "0xcA11bde05977b3631167028862bE2a173976CA11",
168+
"codeHash": "0xd5c15df687b16f2ff992fc8d767b4216323184a2bbc6ee2f9c398c318e770891",
169+
"hasCode": true
170+
},
171+
{
172+
"name": "Permit2",
173+
"address": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
174+
"codeHash": "0x9e51dcb64cf56fc09a82cb41edbc17c6a2250f18dbd1b91e884c0aca02acd57c",
175+
"hasCode": true
176+
}
177+
]
178+
}

0 commit comments

Comments
 (0)