-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathregistry.json
More file actions
601 lines (601 loc) · 20.2 KB
/
registry.json
File metadata and controls
601 lines (601 loc) · 20.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
{
"$schema": "https://ui.shadcn.com/schema/registry.json",
"name": "abstract",
"homepage": "https://build.abs.xyz",
"items": [
{
"name": "connect-wallet-button",
"type": "registry:component",
"title": "Connect Wallet Button",
"description": "A connect wallet button using Abstract Global Wallet with dropdown menu when connected",
"dependencies": [
"@abstract-foundation/agw-react",
"@abstract-foundation/agw-client",
"wagmi",
"viem",
"@tanstack/react-query"
],
"registryDependencies": ["button", "dropdown-menu"],
"files": [
{
"path": "registry/new-york/blocks/connect-wallet-button/connect-wallet-button.tsx",
"type": "registry:component"
}
],
"author": "Abstract Foundation (https://build.abs.xyz)"
},
{
"name": "abstract-profile",
"type": "registry:component",
"title": "Abstract Profile",
"description": "A profile component that displays user profile pictures from Abstract Portal with tier-based styling and loading states",
"dependencies": ["@tanstack/react-query", "wagmi", "viem"],
"registryDependencies": ["avatar", "tooltip", "skeleton"],
"files": [
{
"path": "registry/new-york/blocks/abstract-profile/abstract-profile.tsx",
"type": "registry:component"
},
{
"path": "registry/new-york/blocks/abstract-profile/hooks/use-abstract-profile.ts",
"type": "registry:hook"
},
{
"path": "registry/new-york/blocks/abstract-profile/lib/tier-colors.ts",
"type": "registry:lib"
},
{
"path": "registry/new-york/blocks/abstract-profile/lib/address-utils.ts",
"type": "registry:lib"
},
{
"path": "registry/new-york/blocks/abstract-profile/lib/get-user-profile.ts",
"type": "registry:lib"
},
{
"path": "app/api/user-profile/[address]/route.ts",
"type": "registry:page",
"target": "app/api/user-profile/[address]/route.ts"
}
],
"author": "Abstract Foundation (https://build.abs.xyz)"
},
{
"name": "agw-provider",
"type": "registry:component",
"title": "AGW Provider",
"description": "Provider component that wraps your application with Abstract Global Wallet and React Query",
"dependencies": [
"@abstract-foundation/agw-react",
"@abstract-foundation/agw-client",
"wagmi",
"viem",
"@tanstack/react-query"
],
"registryDependencies": ["sonner"],
"files": [
{
"path": "registry/new-york/blocks/agw-provider/agw-provider.tsx",
"type": "registry:component"
},
{
"path": "config/chain.ts",
"type": "registry:lib",
"target": "config/chain.ts"
},
{
"path": "config/viem-clients.ts",
"type": "registry:lib",
"target": "config/viem-clients.ts"
}
],
"author": "Abstract Foundation (https://build.abs.xyz)"
},
{
"name": "siwe-button",
"type": "registry:component",
"title": "SIWE Button",
"description": "A streamlined SIWE authentication button that handles wallet connection, message signing, and authentication state",
"dependencies": [
"iron-session",
"viem",
"wagmi",
"@tanstack/react-query",
"sonner"
],
"registryDependencies": ["button", "card", "sonner", "dropdown-menu"],
"envVars": {
"IRON_SESSION_PASSWORD": ""
},
"files": [
{
"path": "registry/new-york/blocks/connect-wallet-button/connect-wallet-button.tsx",
"type": "registry:component"
},
{
"path": "registry/new-york/blocks/siwe-button/siwe-button.tsx",
"type": "registry:component"
},
{
"path": "registry/new-york/blocks/siwe-button/hooks/use-siwe-auth-query.ts",
"type": "registry:hook"
},
{
"path": "registry/new-york/blocks/siwe-button/hooks/use-siwe-sign-in-mutation.ts",
"type": "registry:hook"
},
{
"path": "registry/new-york/blocks/siwe-button/hooks/use-siwe-logout-mutation.ts",
"type": "registry:hook"
},
{
"path": "types/siwe-auth.ts",
"type": "registry:lib",
"target": "types/siwe-auth.ts"
},
{
"path": "config/auth.ts",
"type": "registry:lib",
"target": "config/auth.ts"
},
{
"path": "config/chain.ts",
"type": "registry:lib",
"target": "config/chain.ts"
},
{
"path": "registry/new-york/blocks/siwe-button/lib/auth-server.ts",
"type": "registry:lib"
},
{
"path": "app/api/auth/nonce/route.ts",
"type": "registry:page",
"target": "app/api/auth/nonce/route.ts"
},
{
"path": "app/api/auth/verify/route.ts",
"type": "registry:page",
"target": "app/api/auth/verify/route.ts"
},
{
"path": "app/api/auth/user/route.ts",
"type": "registry:page",
"target": "app/api/auth/user/route.ts"
},
{
"path": "app/api/auth/logout/route.ts",
"type": "registry:page",
"target": "app/api/auth/logout/route.ts"
}
],
"author": "Abstract Foundation (https://build.abs.xyz)"
},
{
"name": "session-keys",
"type": "registry:component",
"title": "Session Key Button",
"description": "A comprehensive session key management button that handles creation, validation, and revocation of Abstract Global Wallet session keys",
"dependencies": [
"@abstract-foundation/agw-react",
"@abstract-foundation/agw-client",
"wagmi",
"viem",
"@tanstack/react-query",
"sonner"
],
"registryDependencies": ["button", "dropdown-menu"],
"files": [
{
"path": "registry/new-york/blocks/session-keys/session-key-button.tsx",
"type": "registry:component"
},
{
"path": "registry/new-york/blocks/session-keys/hooks/use-session-key.ts",
"type": "registry:hook"
},
{
"path": "registry/new-york/blocks/session-keys/hooks/use-create-session-key.ts",
"type": "registry:hook"
},
{
"path": "registry/new-york/blocks/session-keys/hooks/use-revoke-session-key.ts",
"type": "registry:hook"
},
{
"path": "registry/new-york/blocks/session-keys/hooks/use-session-key-transaction.ts",
"type": "registry:hook"
},
{
"path": "registry/new-york/blocks/session-keys/lib/get-stored-session-key.ts",
"type": "registry:lib"
},
{
"path": "registry/new-york/blocks/session-keys/lib/create-and-store-session-key.ts",
"type": "registry:lib"
},
{
"path": "registry/new-york/blocks/session-keys/lib/clear-stored-session-key.ts",
"type": "registry:lib"
},
{
"path": "registry/new-york/blocks/session-keys/lib/session-encryption-utils.ts",
"type": "registry:lib"
},
{
"path": "registry/new-york/blocks/session-keys/lib/validate-session-key.ts",
"type": "registry:lib"
},
{
"path": "config/session-key-policies.ts",
"type": "registry:lib",
"target": "config/session-key-policies.ts"
},
{
"path": "config/viem-clients.ts",
"type": "registry:lib",
"target": "config/viem-clients.ts"
},
{
"path": "registry/new-york/blocks/connect-wallet-button/connect-wallet-button.tsx",
"type": "registry:component"
}
],
"author": "Abstract Foundation (https://build.abs.xyz)"
},
{
"name": "onboarding-dialog",
"type": "registry:component",
"title": "Onboarding Dialog",
"description": "A configurable multi-step onboarding dialog that guides users through AGW authentication (wallet connection, SIWE, session keys) with progress indication",
"dependencies": [
"iron-session",
"@abstract-foundation/agw-react",
"@abstract-foundation/agw-client",
"wagmi",
"viem",
"@tanstack/react-query"
],
"registryDependencies": ["dropdown-menu", "dialog", "button", "sonner"],
"files": [
{
"path": "registry/new-york/blocks/onboarding-dialog/onboarding-dialog.tsx",
"type": "registry:component"
},
{
"path": "registry/new-york/blocks/onboarding-dialog/hooks/use-onboarding.ts",
"type": "registry:hook"
},
{
"path": "registry/new-york/blocks/onboarding-dialog/lib/require-onboarding.ts",
"type": "registry:lib"
},
{
"path": "registry/new-york/blocks/onboarding-dialog/lib/onboarding-context.tsx",
"type": "registry:lib"
},
{
"path": "registry/new-york/blocks/onboarding-dialog/onboarder.tsx",
"type": "registry:component"
},
{
"path": "registry/new-york/blocks/connect-wallet-button/connect-wallet-button.tsx",
"type": "registry:component"
},
{
"path": "registry/new-york/blocks/siwe-button/siwe-button.tsx",
"type": "registry:component"
},
{
"path": "registry/new-york/blocks/siwe-button/hooks/use-siwe-auth-query.ts",
"type": "registry:hook"
},
{
"path": "registry/new-york/blocks/siwe-button/hooks/use-siwe-sign-in-mutation.ts",
"type": "registry:hook"
},
{
"path": "registry/new-york/blocks/siwe-button/hooks/use-siwe-logout-mutation.ts",
"type": "registry:hook"
},
{
"path": "types/siwe-auth.ts",
"type": "registry:lib",
"target": "types/siwe-auth.ts"
},
{
"path": "config/auth.ts",
"type": "registry:lib",
"target": "config/auth.ts"
},
{
"path": "config/chain.ts",
"type": "registry:lib",
"target": "config/chain.ts"
},
{
"path": "registry/new-york/blocks/siwe-button/lib/auth-server.ts",
"type": "registry:lib"
},
{
"path": "app/api/auth/nonce/route.ts",
"type": "registry:page",
"target": "app/api/auth/nonce/route.ts"
},
{
"path": "app/api/auth/verify/route.ts",
"type": "registry:page",
"target": "app/api/auth/verify/route.ts"
},
{
"path": "app/api/auth/user/route.ts",
"type": "registry:page",
"target": "app/api/auth/user/route.ts"
},
{
"path": "app/api/auth/logout/route.ts",
"type": "registry:page",
"target": "app/api/auth/logout/route.ts"
},
{
"path": "registry/new-york/blocks/onboarding-dialog/onboarding-dialog.tsx",
"type": "registry:component"
},
{
"path": "registry/new-york/blocks/session-keys/session-key-button.tsx",
"type": "registry:component"
},
{
"path": "registry/new-york/blocks/session-keys/hooks/use-session-key.ts",
"type": "registry:hook"
},
{
"path": "registry/new-york/blocks/session-keys/hooks/use-create-session-key.ts",
"type": "registry:hook"
},
{
"path": "registry/new-york/blocks/session-keys/hooks/use-revoke-session-key.ts",
"type": "registry:hook"
},
{
"path": "registry/new-york/blocks/session-keys/hooks/use-session-key-transaction.ts",
"type": "registry:hook"
},
{
"path": "registry/new-york/blocks/session-keys/lib/get-stored-session-key.ts",
"type": "registry:lib"
},
{
"path": "registry/new-york/blocks/session-keys/lib/create-and-store-session-key.ts",
"type": "registry:lib"
},
{
"path": "registry/new-york/blocks/session-keys/lib/clear-stored-session-key.ts",
"type": "registry:lib"
},
{
"path": "registry/new-york/blocks/session-keys/lib/session-encryption-utils.ts",
"type": "registry:lib"
},
{
"path": "registry/new-york/blocks/session-keys/lib/validate-session-key.ts",
"type": "registry:lib"
},
{
"path": "config/session-key-policies.ts",
"type": "registry:lib",
"target": "config/session-key-policies.ts"
},
{
"path": "config/viem-clients.ts",
"type": "registry:lib",
"target": "config/viem-clients.ts"
},
{
"path": "registry/new-york/blocks/connect-wallet-button/connect-wallet-button.tsx",
"type": "registry:component"
}
],
"author": "Abstract Foundation (https://build.abs.xyz)"
},
{
"name": "portfolio-chart",
"type": "registry:component",
"title": "Portfolio Chart",
"description": "An interactive area chart that displays Abstract Global Wallet portfolio value over time with multiple time period selections",
"dependencies": ["@tanstack/react-query", "recharts", "date-fns"],
"registryDependencies": ["chart", "button", "skeleton"],
"files": [
{
"path": "registry/new-york/blocks/portfolio-chart/portfolio-chart.tsx",
"type": "registry:component"
},
{
"path": "registry/new-york/blocks/portfolio-chart/hooks/use-portfolio-data.ts",
"type": "registry:hook"
},
{
"path": "registry/new-york/blocks/portfolio-chart/lib/portfolio-utils.ts",
"type": "registry:lib"
},
{
"path": "app/api/user-portfolio/[address]/route.ts",
"type": "registry:lib",
"target": "app/api/user-portfolio/[address]/route.ts"
}
],
"author": "Abstract Foundation (https://build.abs.xyz)"
},
{
"name": "use-optimistic-write-contract",
"type": "registry:hook",
"title": "Optimistic Transactions",
"description": "An experimental hook for optimistic transaction execution using Abstract's unstable_sendRawTransactionWithDetailedOutput endpoint to get instant transaction feedback",
"dependencies": ["wagmi", "viem", "@tanstack/react-query"],
"registryDependencies": [],
"files": [
{
"path": "registry/new-york/blocks/use-optimistic-write-contract/hooks/use-optimistic-write-contract.ts",
"type": "registry:hook"
},
{
"path": "types/optimistic-transactions.ts",
"type": "registry:lib",
"target": "types/optimistic-transactions.ts"
},
{
"path": "registry/new-york/blocks/use-optimistic-write-contract/lib/abstract-api.ts",
"type": "registry:lib"
}
],
"author": "Abstract Foundation (https://build.abs.xyz)"
},
{
"name": "abstract-contracts",
"type": "registry:lib",
"title": "Abstract Contracts",
"description": "Configuration for common Abstract network contract addresses and ABIs for tokens and DEX infrastructure",
"dependencies": [],
"registryDependencies": [],
"files": [
{
"path": "types/contracts.ts",
"type": "registry:lib",
"target": "types/contracts.ts"
},
{
"path": "registry/new-york/blocks/abstract-contracts/lib/abstract-contracts.ts",
"type": "registry:lib",
"target": "config/abstract-contracts.ts"
},
{
"path": "registry/new-york/blocks/abstract-contracts/lib/chain-utils.ts",
"type": "registry:lib"
}
],
"author": "Abstract Foundation (https://build.abs.xyz)"
},
{
"name": "abstract-app-voting",
"type": "registry:component",
"title": "Abstract App Voting",
"description": "A voting button for Abstract apps that checks vote status and submits votes via Abstract Global Wallet",
"dependencies": [
"@abstract-foundation/agw-react",
"@abstract-foundation/agw-client",
"wagmi",
"viem",
"@tanstack/react-query"
],
"registryDependencies": ["button"],
"files": [
{
"path": "registry/new-york/blocks/abstract-voting-button/abstract-voting-button.tsx",
"type": "registry:component"
},
{
"path": "registry/new-york/blocks/abstract-voting-button/hooks/use-user-vote-status.ts",
"type": "registry:hook"
},
{
"path": "registry/new-york/blocks/abstract-voting-button/hooks/use-vote-for-app.ts",
"type": "registry:hook"
},
{
"path": "registry/new-york/blocks/abstract-voting-button/lib/voting-contract.ts",
"type": "registry:lib"
},
{
"path": "registry/new-york/blocks/abstract-voting-button/lib/voting-utils.ts",
"type": "registry:lib"
}
],
"author": "Abstract Foundation (https://build.abs.xyz)"
},
{
"name": "nft-card",
"type": "registry:component",
"title": "NFT Card",
"description": "A single NFT card component that displays an NFT with image, name, collection, and balance",
"dependencies": [],
"registryDependencies": ["card", "badge", "aspect-ratio"],
"files": [
{
"path": "registry/new-york/blocks/nft-card/nft-card.tsx",
"type": "registry:component"
},
{
"path": "registry/new-york/blocks/nft-card/hooks/use-nfts.ts",
"type": "registry:hook"
},
{
"path": "app/api/user-nfts/[address]/route.ts",
"type": "registry:lib",
"target": "app/api/user-nfts/[address]/route.ts"
},
{
"path": "types/nfts.ts",
"type": "registry:lib",
"target": "types/nfts.ts"
}
],
"author": "Abstract Foundation (https://build.abs.xyz)"
},
{
"name": "cursor-ai-config",
"type": "registry:lib",
"title": "Cursor AI Configuration",
"description": "Cursor project rules and MCP configuration optimized for Abstract ecosystem development with AGW, wagmi, and Next.js",
"dependencies": [],
"registryDependencies": [],
"files": [
{
"path": "registry/new-york/lib/.cursor/rules/abstract.mdc",
"type": "registry:lib",
"target": ".cursor/rules/abstract.mdc"
},
{
"path": "registry/new-york/lib/.cursor/rules/agw-reusables.mdc",
"type": "registry:lib",
"target": ".cursor/rules/agw-reusables.mdc"
},
{
"path": "registry/new-york/lib/.cursor/rules/session-keys.mdc",
"type": "registry:lib",
"target": ".cursor/rules/session-keys.mdc"
},
{
"path": "registry/new-york/lib/.cursor/rules/shadcn.mdc",
"type": "registry:lib",
"target": ".cursor/rules/shadcn.mdc"
},
{
"path": "registry/new-york/lib/.cursor/mcp.json",
"type": "registry:lib",
"target": ".cursor/mcp.json"
}
],
"author": "Abstract Foundation (https://build.abs.xyz)"
},
{
"name": "claude-config",
"type": "registry:lib",
"title": "Claude Code Configuration",
"description": "Claude Code project instructions and MCP server configuration optimized for Abstract ecosystem development with AGW, wagmi, and Next.js",
"dependencies": [],
"registryDependencies": [],
"files": [
{
"path": "registry/new-york/lib/.claude/CLAUDE.md",
"type": "registry:lib",
"target": "CLAUDE.md"
},
{
"path": "registry/new-york/lib/.claude/settings.json",
"type": "registry:lib",
"target": ".claude/settings.json"
}
],
"author": "Abstract Foundation (https://build.abs.xyz)"
}
]
}