Final Report
Due to personal reasons it took longer than expected, but the new SiaGraph website is finally ready*.
The work is finished and has gone through a closed beta for feedback, but I don’t have enough time to resolve issues that could arise when updating the website. So merging all changes and updating the website will happen next Monday.
What progress was made on your grant this month?
The entire website was given a new look, and a whole lot of new pages were added. I might’ve forgotten a few things, but these would probably be the major ones.
API Efficiency
- Added Redis-backed caching with day/hour TTLs, normalized dates, and consistent JSON.
- Improved validation and prepared queries across daily/monthly endpoints.
New Endpoints
- Host prices and exchange rates: /daily/host_prices, /daily/exchange_rate.
- Aggregates and growth: /daily/aggregates, /monthly/aggregates, /monthly/growth.
New Pages
- Historical growth (including a forecast)
- Financial stats such as
- Transaction volumes
- Active contracts and their locked funds over time
- Siafunds revenue
- Sia Foundation subsidy tracker
- Initial Mining stats, and other daily/monthly aggregated stats
UI/UX & Components
- New shared layout with header/footer, stat cards, range controls, and host pricing trends.
- Unified chart configs and renderer; refreshed styles and asset pipeline.
Infrastructure
- Central bootstrap with Composer autoload, MySQL wrapper, Redis cache config, locale helpers, and BCMath polyfill.
Docs
- Expanded Swagger specification and updated README.
Cleanup
- Removed legacy files, added redirects, and consolidated includes.