Account balances
The Horizon server can load account balances. By default, the app points to Stellar testnet; use NEXT_PUBLIC_HORIZON_URL to select another endpoint.
A guide to the Stellar DeFi Analytics prototype: where its figures come from, what the metric modules intend to describe, and what is not ready to support a decision.
Some account reads call Stellar Horizon; other modules currently return example data. The distinction matters more than a polished chart.
The Horizon server can load account balances. By default, the app points to Stellar testnet; use NEXT_PUBLIC_HORIZON_URL to select another endpoint.
getTVL() returns a fixed 1,000,000 and getAssetPrice() returns 1. These values are not calculated from protocol contracts, a DEX, or an oracle.
The current wallet-performance helper uses hard-coded sample trades and prices. Its outputs are illustrative, not derived from the supplied wallet's transaction history.
Inspect portfolio moduleThe price-stream manager does not open a WebSocket yet. Verify export output before use; tax or accounting reports are not verified deliverables.
Inspect analytics modulesA metric is only as useful as its definition, source, and timestamp. Treat those as first-class parts of the display.
Identify the Horizon endpoint, contract, indexer, oracle, or static fixture behind the value. A constant is not an observation.
Read the implementation and inputs. Sample trades and assumed prices cannot establish a wallet's actual return.
Require a clear update timestamp and freshness policy before describing any feed as live or current.
For development, keep the default network on testnet and never put secret keys or signing credentials in public environment variables.
git clone https://github.com/HyperDevTools/stellar-defi-analytics.git
cd stellar-defi-analytics
npm install
npm run devOpen http://localhost:3000. Read the API notes and contribution guide; validate any data pipeline independently before using its output.