feat:git push -u origin feat/303Develop-Interactive-Yield-Projection-…#482
Merged
gabito1451 merged 3 commits intoApr 25, 2026
Conversation
|
@SheyeJDev 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! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What each file does
icons/index.ts — A single barrel file that re-exports every icon the project needs from lucide-react by name. All new code imports from @/icons instead of importing directly from lucide-react, which lets the bundler tree-shake the entire icon set in one pass. No other icon library is referenced.
useHardwareWallet.ts — A React hook that lazy-loads the two Ledger packages (@ledgerhq/hw-transport-webusb + @ledgerhq/hw-app-str — you'll need to add these to package.json) and exposes connect(), signTransaction(xdr), and disconnect(). It emits a typed status (connecting | connected | signing | disconnected | error) and handles the device-unplug event with a user-readable fallback message.
Registration.tsx — A self-contained passkey onboarding component. It calls navigator.credentials.create() to register a platform biometric, derives a Stellar keypair from the authenticator's public key via HKDF-SHA-256 (SEP-43 aligned), and returns { credentialId, stellarPublicKey, rawPublicKey } via an onSuccess callback for the deposit flow to use on wallet deployment.
YieldCalculator.tsx — Drop into app/project/[id]/page.tsx as . Three range sliders (amount, duration, APY) drive a custom SVG polyline chart showing Conservative / Base / Optimistic compound-interest scenarios, plus four summary cards. No extra chart library — keeps the bundle lean.
Closes #331
Closes #303
Closes #304
Closes #333