@rhinestone/shared-configs 1.0.0-alpha.0

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 ADDED
@@ -0,0 +1,19 @@
1
+ # shared-configs
2
+
3
+ > Reusable configuration files for Rhinestone services
4
+
5
+ ## Usage
6
+
7
+ ### Installation
8
+
9
+ ```bash
10
+ bun install viem @rhinestone/shared-configs
11
+ ```
12
+
13
+ ## Making changes
14
+
15
+ Source-of-truth lives in Yeet Jsonnet config:
16
+
17
+ 1. Update Yeet config (for example `yeet/config/chains.jsonnet`, `yeet/config/providers.jsonnet`, or `yeet/config/oft.jsonnet`)
18
+ 2. Regenerate configs with `bun run generate` from this directory (requires Go)
19
+ 3. Merge to `main` to publish `@rhinestone/shared-configs`
@@ -0,0 +1,560 @@
1
+ {
2
+ "1": {
3
+ "name": "Ethereum",
4
+ "settlementLayers": [
5
+ "ACROSS",
6
+ "ECO",
7
+ "RELAY",
8
+ "OFT"
9
+ ],
10
+ "swapQuoters": [
11
+ "1inch"
12
+ ],
13
+ "tokens": [
14
+ {
15
+ "address": "0x0000000000000000000000000000000000000000",
16
+ "approvalSlot": null,
17
+ "balanceSlot": null,
18
+ "decimals": 18,
19
+ "supportsMultichain": true,
20
+ "symbol": "ETH"
21
+ },
22
+ {
23
+ "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
24
+ "approvalSlot": 10,
25
+ "balanceSlot": 9,
26
+ "decimals": 6,
27
+ "supportsMultichain": true,
28
+ "symbol": "USDC"
29
+ },
30
+ {
31
+ "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
32
+ "approvalSlot": 4,
33
+ "balanceSlot": 3,
34
+ "decimals": 18,
35
+ "supportsMultichain": true,
36
+ "symbol": "WETH"
37
+ },
38
+ {
39
+ "address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
40
+ "approvalSlot": 5,
41
+ "balanceSlot": 2,
42
+ "decimals": 6,
43
+ "supportsMultichain": true,
44
+ "symbol": "USDT0"
45
+ }
46
+ ]
47
+ },
48
+ "10": {
49
+ "name": "OP Mainnet",
50
+ "settlementLayers": [
51
+ "ACROSS",
52
+ "ECO",
53
+ "RELAY",
54
+ "OFT"
55
+ ],
56
+ "swapQuoters": [
57
+ "1inch"
58
+ ],
59
+ "tokens": [
60
+ {
61
+ "address": "0x0000000000000000000000000000000000000000",
62
+ "approvalSlot": null,
63
+ "balanceSlot": null,
64
+ "decimals": 18,
65
+ "supportsMultichain": true,
66
+ "symbol": "ETH"
67
+ },
68
+ {
69
+ "address": "0x0b2c639c533813f4aa9d7837caf62653d097ff85",
70
+ "approvalSlot": 10,
71
+ "balanceSlot": 9,
72
+ "decimals": 6,
73
+ "supportsMultichain": true,
74
+ "symbol": "USDC"
75
+ },
76
+ {
77
+ "address": "0x4200000000000000000000000000000000000006",
78
+ "approvalSlot": 4,
79
+ "balanceSlot": 3,
80
+ "decimals": 18,
81
+ "supportsMultichain": true,
82
+ "symbol": "WETH"
83
+ },
84
+ {
85
+ "address": "0x01bFF41798a0BcF287b996046Ca68b395DbC1071",
86
+ "approvalSlot": 52,
87
+ "balanceSlot": 51,
88
+ "decimals": 6,
89
+ "supportsMultichain": true,
90
+ "symbol": "USDT0"
91
+ }
92
+ ]
93
+ },
94
+ "100": {
95
+ "name": "Gnosis",
96
+ "settlementLayers": [
97
+ "ECO",
98
+ "RELAY"
99
+ ],
100
+ "swapQuoters": [
101
+ "1inch"
102
+ ],
103
+ "tokens": [
104
+ {
105
+ "address": "0x0000000000000000000000000000000000000000",
106
+ "approvalSlot": null,
107
+ "balanceSlot": null,
108
+ "decimals": 18,
109
+ "supportsMultichain": false,
110
+ "symbol": "XDAI"
111
+ },
112
+ {
113
+ "address": "0x2a22f9c3b484c3629090feed35f17ff8f88f76f0",
114
+ "approvalSlot": 10,
115
+ "balanceSlot": 9,
116
+ "decimals": 6,
117
+ "supportsMultichain": true,
118
+ "symbol": "USDC"
119
+ },
120
+ {
121
+ "address": "0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1",
122
+ "approvalSlot": 5,
123
+ "balanceSlot": 3,
124
+ "decimals": 18,
125
+ "supportsMultichain": true,
126
+ "symbol": "WETH"
127
+ }
128
+ ]
129
+ },
130
+ "137": {
131
+ "name": "Polygon",
132
+ "settlementLayers": [
133
+ "ACROSS",
134
+ "ECO",
135
+ "RELAY",
136
+ "OFT"
137
+ ],
138
+ "swapQuoters": [
139
+ "1inch"
140
+ ],
141
+ "tokens": [
142
+ {
143
+ "address": "0x0000000000000000000000000000000000000000",
144
+ "approvalSlot": null,
145
+ "balanceSlot": null,
146
+ "decimals": 18,
147
+ "supportsMultichain": false,
148
+ "symbol": "POL"
149
+ },
150
+ {
151
+ "address": "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",
152
+ "approvalSlot": 4,
153
+ "balanceSlot": 3,
154
+ "decimals": 18,
155
+ "supportsMultichain": false,
156
+ "symbol": "WPOL"
157
+ },
158
+ {
159
+ "address": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
160
+ "approvalSlot": 10,
161
+ "balanceSlot": 9,
162
+ "decimals": 6,
163
+ "supportsMultichain": true,
164
+ "symbol": "USDC"
165
+ },
166
+ {
167
+ "address": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
168
+ "approvalSlot": 1,
169
+ "balanceSlot": 0,
170
+ "decimals": 18,
171
+ "supportsMultichain": true,
172
+ "symbol": "WETH"
173
+ },
174
+ {
175
+ "address": "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
176
+ "approvalSlot": 1,
177
+ "balanceSlot": 0,
178
+ "decimals": 6,
179
+ "supportsMultichain": true,
180
+ "symbol": "USDT0"
181
+ }
182
+ ]
183
+ },
184
+ "146": {
185
+ "name": "Sonic",
186
+ "settlementLayers": [
187
+ "ECO",
188
+ "RELAY"
189
+ ],
190
+ "swapQuoters": [
191
+ "1inch"
192
+ ],
193
+ "tokens": [
194
+ {
195
+ "address": "0x0000000000000000000000000000000000000000",
196
+ "approvalSlot": null,
197
+ "balanceSlot": null,
198
+ "decimals": 18,
199
+ "supportsMultichain": false,
200
+ "symbol": "S"
201
+ },
202
+ {
203
+ "address": "0x29219dd400f2Bf60E5a23d13Be72B486D4038894",
204
+ "approvalSlot": 10,
205
+ "balanceSlot": 9,
206
+ "decimals": 6,
207
+ "supportsMultichain": true,
208
+ "symbol": "USDC"
209
+ }
210
+ ]
211
+ },
212
+ "1868": {
213
+ "name": "Soneium Mainnet",
214
+ "settlementLayers": [
215
+ "ACROSS",
216
+ "ECO",
217
+ "RELAY"
218
+ ],
219
+ "swapQuoters": [],
220
+ "tokens": [
221
+ {
222
+ "address": "0x0000000000000000000000000000000000000000",
223
+ "approvalSlot": null,
224
+ "balanceSlot": null,
225
+ "decimals": 18,
226
+ "supportsMultichain": true,
227
+ "symbol": "ETH"
228
+ },
229
+ {
230
+ "address": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369",
231
+ "approvalSlot": 10,
232
+ "balanceSlot": 9,
233
+ "decimals": 6,
234
+ "supportsMultichain": true,
235
+ "symbol": "USDC"
236
+ },
237
+ {
238
+ "address": "0x4200000000000000000000000000000000000006",
239
+ "approvalSlot": 1,
240
+ "balanceSlot": 0,
241
+ "decimals": 18,
242
+ "supportsMultichain": true,
243
+ "symbol": "WETH"
244
+ }
245
+ ]
246
+ },
247
+ "8453": {
248
+ "name": "Base",
249
+ "settlementLayers": [
250
+ "ACROSS",
251
+ "ECO",
252
+ "RELAY",
253
+ "OFT"
254
+ ],
255
+ "swapQuoters": [
256
+ "1inch"
257
+ ],
258
+ "tokens": [
259
+ {
260
+ "address": "0x0000000000000000000000000000000000000000",
261
+ "approvalSlot": null,
262
+ "balanceSlot": null,
263
+ "decimals": 18,
264
+ "supportsMultichain": true,
265
+ "symbol": "ETH"
266
+ },
267
+ {
268
+ "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
269
+ "approvalSlot": 10,
270
+ "balanceSlot": 9,
271
+ "decimals": 6,
272
+ "supportsMultichain": true,
273
+ "symbol": "USDC"
274
+ },
275
+ {
276
+ "address": "0x4200000000000000000000000000000000000006",
277
+ "approvalSlot": 4,
278
+ "balanceSlot": 3,
279
+ "decimals": 18,
280
+ "supportsMultichain": true,
281
+ "symbol": "WETH"
282
+ },
283
+ {
284
+ "address": "0xfde4C96c8593536E31F229EA8f37b2ADa2699bb2",
285
+ "approvalSlot": 3,
286
+ "balanceSlot": 2,
287
+ "decimals": 6,
288
+ "supportsMultichain": false,
289
+ "symbol": "USDT"
290
+ }
291
+ ]
292
+ },
293
+ "9745": {
294
+ "name": "Plasma",
295
+ "settlementLayers": [
296
+ "ACROSS",
297
+ "ECO",
298
+ "RELAY",
299
+ "OFT"
300
+ ],
301
+ "swapQuoters": [],
302
+ "tokens": [
303
+ {
304
+ "address": "0x0000000000000000000000000000000000000000",
305
+ "approvalSlot": null,
306
+ "balanceSlot": null,
307
+ "decimals": 18,
308
+ "supportsMultichain": false,
309
+ "symbol": "XPL"
310
+ },
311
+ {
312
+ "address": "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb",
313
+ "approvalSlot": 52,
314
+ "balanceSlot": 51,
315
+ "decimals": 6,
316
+ "supportsMultichain": true,
317
+ "symbol": "USDT0"
318
+ },
319
+ {
320
+ "address": "0x6100E367285b01F48D07953803A2d8dCA5D19873",
321
+ "approvalSlot": 4,
322
+ "balanceSlot": 3,
323
+ "decimals": 18,
324
+ "supportsMultichain": false,
325
+ "symbol": "WXPL"
326
+ }
327
+ ]
328
+ },
329
+ "9746": {
330
+ "name": "Plasma Testnet",
331
+ "settlementLayers": [
332
+ "ECO"
333
+ ],
334
+ "swapQuoters": [],
335
+ "tokens": [
336
+ {
337
+ "address": "0x0000000000000000000000000000000000000000",
338
+ "approvalSlot": null,
339
+ "balanceSlot": null,
340
+ "decimals": 18,
341
+ "supportsMultichain": false,
342
+ "symbol": "XPL"
343
+ },
344
+ {
345
+ "address": "0x6100E367285b01F48D07953803A2d8dCA5D19873",
346
+ "approvalSlot": 4,
347
+ "balanceSlot": 3,
348
+ "decimals": 18,
349
+ "supportsMultichain": false,
350
+ "symbol": "WXPL"
351
+ },
352
+ {
353
+ "address": "0x502012b361AebCE43b26Ec812B74D9a51dB4D412",
354
+ "approvalSlot": 2,
355
+ "balanceSlot": 1,
356
+ "decimals": 6,
357
+ "supportsMultichain": true,
358
+ "symbol": "USDT0"
359
+ },
360
+ {
361
+ "address": "0x107d0b0428741b37331138040F793aF171682603",
362
+ "approvalSlot": 1,
363
+ "balanceSlot": 0,
364
+ "decimals": 6,
365
+ "supportsMultichain": true,
366
+ "symbol": "USDC"
367
+ }
368
+ ]
369
+ },
370
+ "42161": {
371
+ "name": "Arbitrum One",
372
+ "settlementLayers": [
373
+ "ACROSS",
374
+ "ECO",
375
+ "RELAY",
376
+ "OFT"
377
+ ],
378
+ "swapQuoters": [
379
+ "1inch"
380
+ ],
381
+ "tokens": [
382
+ {
383
+ "address": "0x0000000000000000000000000000000000000000",
384
+ "approvalSlot": null,
385
+ "balanceSlot": null,
386
+ "decimals": 18,
387
+ "supportsMultichain": true,
388
+ "symbol": "ETH"
389
+ },
390
+ {
391
+ "address": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
392
+ "approvalSlot": 10,
393
+ "balanceSlot": 9,
394
+ "decimals": 6,
395
+ "supportsMultichain": true,
396
+ "symbol": "USDC"
397
+ },
398
+ {
399
+ "address": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
400
+ "approvalSlot": 52,
401
+ "balanceSlot": 51,
402
+ "decimals": 18,
403
+ "supportsMultichain": true,
404
+ "symbol": "WETH"
405
+ },
406
+ {
407
+ "address": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
408
+ "approvalSlot": 52,
409
+ "balanceSlot": 51,
410
+ "decimals": 6,
411
+ "supportsMultichain": true,
412
+ "symbol": "USDT0"
413
+ }
414
+ ]
415
+ },
416
+ "84532": {
417
+ "name": "Base Sepolia",
418
+ "settlementLayers": [
419
+ "ACROSS",
420
+ "ECO"
421
+ ],
422
+ "swapQuoters": [],
423
+ "tokens": [
424
+ {
425
+ "address": "0x0000000000000000000000000000000000000000",
426
+ "approvalSlot": null,
427
+ "balanceSlot": null,
428
+ "decimals": 18,
429
+ "supportsMultichain": true,
430
+ "symbol": "ETH"
431
+ },
432
+ {
433
+ "address": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
434
+ "approvalSlot": 10,
435
+ "balanceSlot": 9,
436
+ "decimals": 6,
437
+ "supportsMultichain": true,
438
+ "symbol": "USDC"
439
+ },
440
+ {
441
+ "address": "0x4200000000000000000000000000000000000006",
442
+ "approvalSlot": 4,
443
+ "balanceSlot": 3,
444
+ "decimals": 18,
445
+ "supportsMultichain": true,
446
+ "symbol": "WETH"
447
+ }
448
+ ]
449
+ },
450
+ "421614": {
451
+ "name": "Arbitrum Sepolia",
452
+ "settlementLayers": [
453
+ "ACROSS",
454
+ "ECO"
455
+ ],
456
+ "swapQuoters": [],
457
+ "tokens": [
458
+ {
459
+ "address": "0x0000000000000000000000000000000000000000",
460
+ "approvalSlot": null,
461
+ "balanceSlot": null,
462
+ "decimals": 18,
463
+ "supportsMultichain": true,
464
+ "symbol": "ETH"
465
+ },
466
+ {
467
+ "address": "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d",
468
+ "approvalSlot": 10,
469
+ "balanceSlot": 9,
470
+ "decimals": 6,
471
+ "supportsMultichain": true,
472
+ "symbol": "USDC"
473
+ },
474
+ {
475
+ "address": "0x980B62Da83eFf3D4576C647993b0c1D7faf17c73",
476
+ "approvalSlot": 52,
477
+ "balanceSlot": 51,
478
+ "decimals": 18,
479
+ "supportsMultichain": true,
480
+ "symbol": "WETH"
481
+ }
482
+ ]
483
+ },
484
+ "11155111": {
485
+ "name": "Sepolia",
486
+ "settlementLayers": [
487
+ "ACROSS",
488
+ "ECO"
489
+ ],
490
+ "swapQuoters": [],
491
+ "tokens": [
492
+ {
493
+ "address": "0x0000000000000000000000000000000000000000",
494
+ "approvalSlot": null,
495
+ "balanceSlot": null,
496
+ "decimals": 18,
497
+ "supportsMultichain": true,
498
+ "symbol": "ETH"
499
+ },
500
+ {
501
+ "address": "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
502
+ "approvalSlot": 10,
503
+ "balanceSlot": 9,
504
+ "decimals": 6,
505
+ "supportsMultichain": true,
506
+ "symbol": "USDC"
507
+ },
508
+ {
509
+ "address": "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",
510
+ "approvalSlot": 4,
511
+ "balanceSlot": 3,
512
+ "decimals": 18,
513
+ "supportsMultichain": true,
514
+ "symbol": "WETH"
515
+ },
516
+ {
517
+ "address": "0x7169D38820dfd117C3FA1f22a697dBA58d90BA06",
518
+ "approvalSlot": 7,
519
+ "balanceSlot": 8,
520
+ "decimals": 6,
521
+ "supportsMultichain": false,
522
+ "symbol": "USDT"
523
+ }
524
+ ]
525
+ },
526
+ "11155420": {
527
+ "name": "OP Sepolia",
528
+ "settlementLayers": [
529
+ "ACROSS",
530
+ "ECO"
531
+ ],
532
+ "swapQuoters": [],
533
+ "tokens": [
534
+ {
535
+ "address": "0x0000000000000000000000000000000000000000",
536
+ "approvalSlot": null,
537
+ "balanceSlot": null,
538
+ "decimals": 18,
539
+ "supportsMultichain": true,
540
+ "symbol": "ETH"
541
+ },
542
+ {
543
+ "address": "0x5fd84259d66Cd46123540766Be93DFE6D43130D7",
544
+ "approvalSlot": 10,
545
+ "balanceSlot": 9,
546
+ "decimals": 6,
547
+ "supportsMultichain": true,
548
+ "symbol": "USDC"
549
+ },
550
+ {
551
+ "address": "0x4200000000000000000000000000000000000006",
552
+ "approvalSlot": 4,
553
+ "balanceSlot": 3,
554
+ "decimals": 18,
555
+ "supportsMultichain": true,
556
+ "symbol": "WETH"
557
+ }
558
+ ]
559
+ }
560
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "1": {
3
+ "providers": [
4
+ "DRPC",
5
+ "Alchemy"
6
+ ]
7
+ },
8
+ "10": {
9
+ "providers": [
10
+ "DRPC",
11
+ "Alchemy"
12
+ ]
13
+ },
14
+ "100": {
15
+ "providers": [
16
+ "DRPC",
17
+ "Alchemy"
18
+ ]
19
+ },
20
+ "137": {
21
+ "providers": [
22
+ "DRPC",
23
+ "Alchemy"
24
+ ]
25
+ },
26
+ "146": {
27
+ "providers": [
28
+ "DRPC",
29
+ "Alchemy"
30
+ ]
31
+ },
32
+ "1868": {
33
+ "providers": [
34
+ "DRPC",
35
+ "Alchemy"
36
+ ]
37
+ },
38
+ "8453": {
39
+ "providers": [
40
+ "DRPC",
41
+ "Alchemy"
42
+ ]
43
+ },
44
+ "9745": {
45
+ "providers": [
46
+ "DRPC",
47
+ "Alchemy"
48
+ ]
49
+ },
50
+ "42161": {
51
+ "providers": [
52
+ "DRPC",
53
+ "Alchemy"
54
+ ]
55
+ }
56
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "USDT0": {
3
+ "adapters": {
4
+ "1": "0x33e9E20cE301006940b0AcFB5eB48f4180135F18",
5
+ "10": "0xF03b4d9AC1D5d1E7c4cEf54C2A313b9fe051A0aD",
6
+ "137": "0x1AD415b613406d8386DF3CC23D47447Dbc6c2eA0",
7
+ "8453": "0x86Ed939B500E0E8b8DB4e07798419026C5c0341A",
8
+ "9745": "0x02ca37966753bDdDf11216B73B16C1dE756A7CF9",
9
+ "42161": "0x14E4A1B13bf7F943c8ff7C51fb60FA964A298D92"
10
+ },
11
+ "layerZeroEids": {
12
+ "1": 30101,
13
+ "10": 30111,
14
+ "137": 30109,
15
+ "8453": 30184,
16
+ "9745": 30383,
17
+ "42161": 30110,
18
+ "421614": 40231,
19
+ "11155111": 40161
20
+ },
21
+ "tokenSymbol": "USDT0",
22
+ "tokens": {
23
+ "1": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
24
+ "10": "0x01bFF41798a0BcF287b996046Ca68b395DbC1071",
25
+ "137": "0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
26
+ "8453": "0x8b106206a5B00E8667B56C3F4165e6e6F53e5d04",
27
+ "9745": "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb",
28
+ "42161": "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9"
29
+ }
30
+ }
31
+ }