feat: add Stellar asset directory search and trustline creator - #117
Conversation
Add a searchable asset directory component to the wallet dashboard that allows users to browse verified Stellar assets, see issuer details with copy-to-clipboard, and create trustlines via Freighter wallet integration. Implements ASTROIDX556#27: - Searchable asset table with code, truncated issuer (copy button), and verification/trustline status badges - "Add Custom Asset" modal with react-hook-form + zod validation for asset code (1-12 alphanumeric) and Stellar issuer public key (G+55) - "Create Trustline" action with Freighter wallet connection check and visual signing feedback (loading spinner, success/error toasts) - Preset list of popular Stellar assets (USDC, EURC, yXLM, ARST, etc.) - All styling uses design tokens from tokens.css (no hardcoded colors) - Integrated into wallet detail page below existing balances table Files created: - src/features/wallet/types.ts — StellarAsset type definitions - src/features/wallet/mock-data.ts — preset asset list - src/features/wallet/utils/assetUtils.ts — validation + clipboard helpers - src/features/wallet/schema.ts — zod schema for add-asset form - src/features/wallet/components/AssetDirectory.tsx — main component - src/features/wallet/components/AddAssetDialog.tsx — modal form 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
|
@dahmeezy Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
@dahmeezy is attempting to deploy a commit to the Cjay's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
MergeKeeper review Scope: in scope for linked issue The pull request correctly implements the Stellar asset directory search and trustline creator component meeting all requirements and acceptance criteria. Reviewed commit: |
|
MergeKeeper merge status Status: blocked Reason: Next steps:
|
|
Merged Merged with |
Add a searchable asset directory component to the wallet dashboard that allows users to browse verified Stellar assets, see issuer details with copy-to-clipboard, and create trustlines via Freighter wallet integration.
Implements #27:
Files created:
Summary
Type of change
Checklist
npm run buildpassesnpm run typecheckpassesnpm run lintpassesCloses #27