You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
StatCard duplicates formatCurrency's exact locale-formatting logic instead of calling the shared utils.ts helper #261
Stellar WaveIssues in the Stellar wave programarchitectureArchitecture/design issuedocumentationImprovements or additions to documentationhelp wantedExtra attention is neededvery hardVery difficult task, expert-level effort required
src/lib/utils.ts#formatCurrency and src/components/ui/StatCard.tsx#formatValue's "currency" case independently implement the same locale-formatted currency string:
formatCurrency's own doc comment even acknowledges this duplication is expected to be
kept manually in sync: "This behavior matches StatCard's internal currency formatter,
ensuring consistency across the app." That's two independent implementations of the same
formatting rule, correct only as long as every future change (locale, precision,
NaN/Infinity handling) is applied identically in both places by hand — exactly the kind
of drift-prone pattern that produced the precision inconsistency already tracked
elsewhere in this app's issue history for XLM's 7-decimal precision.
Suggested fix: have StatCard#formatValue's "currency" case call formatCurrency(value, asset) directly for its display string (and a precision-widened
variant for exact), rather than reimplementing the same toLocaleString call
independently.
@Horlarolowo123 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
Hi, I'd like to work on this issue. I've reviewed the requirements and understand what needs to be done. I'm confident I can complete it within the Wave timeframe and would appreciate the opportunity to work on it.
Congratulations, @Levi-Ojukwu! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.
🧑💻 @Levi-Ojukwu: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
😎 @Levi-Ojukwu: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.
Stellar WaveIssues in the Stellar wave programarchitectureArchitecture/design issuedocumentationImprovements or additions to documentationhelp wantedExtra attention is neededvery hardVery difficult task, expert-level effort required
Activity
NEA-DEV-coder commentedon Aug 25, 2026
@NEA-DEV-coder has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @NEA-DEV-coder to this issue.
Oluwanifemi18-ux commentedon Aug 25, 2026
@Oluwanifemi18-ux has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Oluwanifemi18-ux to this issue.
Horlarolowo123 commentedon Aug 25, 2026
@Horlarolowo123 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Horlarolowo123 to this issue.
Levi-Ojukwu commentedon Aug 25, 2026
@Levi-Ojukwu has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Levi-Ojukwu to this issue.
drips-wave commentedon Aug 25, 2026
Congratulations, @Levi-Ojukwu! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.
🧑💻 @Levi-Ojukwu: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
yaegerbomb42 commentedon Aug 28, 2026
/attempt
refactor: use shared formatCurrency utility in StatCard instead of du…
drips-wave commentedon Aug 30, 2026
This issue has been completed by @Levi-Ojukwu as part of the Stellar Wave Program's 8th Wave 🥳
😎 @Levi-Ojukwu: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.