FNDRY Token Price Widget with DexScreener Integration#1271
Open
sepulchralvoid666 wants to merge 1 commit into
Open
FNDRY Token Price Widget with DexScreener Integration#1271sepulchralvoid666 wants to merge 1 commit into
sepulchralvoid666 wants to merge 1 commit into
Conversation
…Foundry#846) Three widget variants (compact, default, full) with: - Real-time price from DexScreener free API (30s refresh) - 24h price change percentage with color-coded trend - SVG sparkline chart (no charting library needed) - Volume, liquidity, FDV stats (full variant) - Responsive design, manual refresh, error/loading states Widget rendered on HomePage below hero section.
|
This does not currently fetch the real FNDRY price on the default path.
const FNDRY_TOKEN_ADDRESS = "FNDRY_TOKEN_ADDRESS_PLACEHOLDER";
Since #846 is specifically for an FNDRY token price widget with real DexScreener updates, the default address needs to be the actual FNDRY token address or the component should require a real configured value before it is rendered on the homepage. |
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.
Bounty #846 — FNDRY Token Price Widget Component
What
Embeddable React component displaying real-time FNDRY token price using DexScreener free API (no auth required).
Features
compact(inline pill),default(card with sparkline),full(stats dashboard)/dex/tokens/{address}endpoint, 30s auto-refreshFiles
types/dexscreener.ts— DexScreener API response typeshooks/useFNDRYPrice.ts— Data fetching hook with auto-refresh and sparkline accumulatorcomponents/ui/SparklineChart.tsx— Reusable SVG sparkline componentcomponents/fndry/FNDRYPriceWidget.tsx— Main widget with 3 variantspages/HomePage.tsx— Widget placed below hero sectionAcceptance Criteria
Closes #846
Solana wallet for payout:
9PmjWFwM2mdnjBNjJyfNMTWGCnGAKFpywsLF9xcRF8PK