Skip to content

feat: add Stellar asset directory search and trustline creator - #117

Merged
mergekeeper[bot] merged 3 commits into
ASTROIDX556:mainfrom
dahmeezy:feat/issue-27-stellar-asset-directory
Aug 31, 2026
Merged

feat: add Stellar asset directory search and trustline creator#117
mergekeeper[bot] merged 3 commits into
ASTROIDX556:mainfrom
dahmeezy:feat/issue-27-stellar-asset-directory

Conversation

@dahmeezy

Copy link
Copy Markdown
Contributor

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:

  • 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

Summary

Type of change

  • Bug fix
  • New feature
  • Refactor
  • Docs

Checklist

  • npm run build passes
  • npm run typecheck passes
  • npm run lint passes
  • No secrets in tracked files

Closes #27

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>
@drips-wave

drips-wave Bot commented Aug 31, 2026

Copy link
Copy Markdown

@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! 🚀

Learn more about application limits

@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

@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

mergekeeper Bot commented Aug 31, 2026

Copy link
Copy Markdown

MergeKeeper review

Scope: in scope for linked issue #27.
Verdict: clean

The pull request correctly implements the Stellar asset directory search and trustline creator component meeting all requirements and acceptance criteria.

Reviewed commit: 85b44f8bb434063c8aff4817438197eb3c9bcfe3.
CI and merge eligibility are checked separately.

@mergekeeper

mergekeeper Bot commented Aug 31, 2026

Copy link
Copy Markdown

MergeKeeper merge status

Status: blocked
PR state: open
Mergeability: mergeable
Checked commit: a22502e2ad69759a88e194afc0761a4c4be554e7.

Reason:
GitHub pull request merge request failed with 405: 3 of 3 required status checks have not succeeded: 2 expected.

Next steps:
This required status check is enforced directly by the repository's branch rules, independent of MergeKeeper's own CI evaluation — a maintainer merge override cannot bypass it unless MergeKeeper is authorized to.

  1. Wait for the check to pass, or fix the underlying failure.
  2. To let an explicit override bypass this check going forward, add the MergeKeeper GitHub App as a Bypass actor on the ruleset (Settings → Rules → Rulesets → the ruleset → Bypass list).

@mergekeeper mergekeeper Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

Pull request implements the Stellar asset directory, modal validation, trustline creator, and utility helpers according to requirements.

@mergekeeper mergekeeper Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

The pull request correctly implements the Stellar asset directory search and trustline creator component meeting all requirements and acceptance criteria.

@mergekeeper
mergekeeper Bot merged commit 3120fc3 into ASTROIDX556:main Aug 31, 2026
3 of 4 checks passed
@mergekeeper

mergekeeper Bot commented Aug 31, 2026

Copy link
Copy Markdown

Merged

Merged with squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add Stellar asset directory search and trustline creator component

1 participant