Skip to content

feat: Implement issues #803, #804, #805, #806 - #824

Merged
Jaydbrown merged 4 commits into
conduit-protocol:mainfrom
jd-here-007:feat/issues-803-804-805-806
Oct 19, 2026
Merged

Jaydbrown merged 4 commits into
conduit-protocol:mainfrom
jd-here-007:feat/issues-803-804-805-806

Conversation

@jd-here-007

Copy link
Copy Markdown
Contributor

Summary

Implements four critical enhancements for streamFi dashboard and token management:

Changes

lib/format.ts (#806)

  • Added formatCompactCurrency(amount, options) function
  • Uses Intl.NumberFormat with notation: 'compact'
  • Displays numbers as 1.2K, 3.4M, 5.6B for concise KPI card display
  • Includes fallback for browsers without compact notation support

lib/tokens.ts (#805)

  • Added TESTNET_FAUCET_TOKENS array with 5 popular testnet tokens (XLM, USDC, EURC, gm, test)
  • Added claimTestnetFaucetTokens(address, tokenAddress) function
  • Integrates with Stellar's Friendbot faucet API for one-click test token funding
  • Full error handling and validation for addresses

lib/stellar-address.ts (#804)

  • Added isValidStellarMuxedAddress(address) to validate M... addresses
  • Added parseMuxedAddress(muxAddress) to extract underlying public key and sub-account ID
  • Added ParsedMuxedAddress interface for type safety
  • Added isValidStellarAddressAny(address) to support G/C/M address types
  • Leverages @stellar/stellar-sdk's StrKey.decodeMuxedAccount() for reliable parsing

components/dashboard/EndingSoonWidget.tsx (#803)

  • Added .sort((a, b) => a.endTime - b.endTime) to allEndingSoon array
  • Streams now display in ascending order by end time (closest deadline first)
  • Helps senders prioritize urgent top-ups

Testing

All functions include:

  • Input validation with descriptive error messages
  • Type safety with interfaces
  • Fallback/error handling
  • Browser compatibility considerations

Closes #806 Closes #805 Closes #804 Closes #803

@drips-wave

drips-wave Bot commented Oct 19, 2026

Copy link
Copy Markdown

@jd-here-007 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

@Jaydbrown
Jaydbrown merged commit 7b76307 into conduit-protocol:main Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment