Who this is for
- Lenders + DeFi vaults displaying their own credit-risk activity alongside the platform aggregate. See also DeFi Lender Onboarding.
- Partner portals signaling platform scale to their internal teams without exposing per-row data.
- Treasury teams evaluating droplinked who want a live read on the trust-fabric trinity before signing onboarding paperwork.
Live data sources
The dashboard polls four public endpoints:/v2/trust-fabric/stats has no server-side cache in v1 — every call hits the
live aggregate. The recommended client-side polling cadence is 60 seconds or
greater. The asOf field in the response lets you display data freshness
honestly even with stale-while-revalidate strategies.Dashboard code
- Vanilla HTML + JS
- React
Self-contained — save as
dashboard.html, open in any browser.CORS
All four endpoints above are CORS-permissive — they respond withAccess-Control-Allow-Origin: * to browser fetches from any origin. You can verify
locally:
support@droplinked.com
with the origin + the failing request — it likely indicates a WAF rule, not a CORS
policy.
What to customize
The reference dashboard is intentionally minimal. Common customizations:- Brand chrome — swap the
#2bcfa1/#06c295palette for your own; replace the<h1>with your logo. - Filter to your own lenderId — replace the
/v2/lenders?status=ACTIVEpoll with a single-row/v2/lenders/:lenderIdlookup and show only your own activity. - Per-methodology version history — add a click handler on each lender row
that opens
/v2/methodologies/:lenderId/versionsand renders the timeline. - Jurisdiction routing widget — add an input + button calling
/v2/lender-routing/recommend?jurisdiction=...and render the ranked recommendations. - Aggregate trend — store the
asOf+ counts in a small client-side ring buffer (e.g.localStorage) and render a 24h sparkline of Schema B growth.
Caching
Recommend a client-side cache of 60 seconds or greater. The/v2/trust-fabric/stats endpoint has no server-side cache in v1 — every call hits
the live aggregate. The other endpoints (/v2/lenders, /v2/methodologies/:lenderId/versions,
/v2/lender-routing/recommend) likewise execute live; treat them the same.
If you’re polling at higher cadence than 60s, layer a service-worker cache or
React Query / SWR with staleTime: 60_000 to keep partner dashboards responsive
without unnecessary load on the apiv3 origin.
Related
- Trust-Fabric Stats — endpoint reference
- DeFi Lender Onboarding — full lender onboarding narrative
- Trust Fabric (EAS Schema v2) — 4-axis architecture overview
- Lender Registry Lookup —
/v2/lenders/*reference - Methodology Registry Lookup —
/v2/methodologies/*reference