
Open Model Interface · v0.1
This is a standalone module reserved for future models. It currently ships with interactive deflation-supply and member-demand models; to connect a quantitative, forecasting or third-party AI model later, you only set the endpoint — no page code changes.
Computed locally in the browser — no dependencies, instant results, ideal for showing the community how supply works.
ConfiguremodelApi and switch to a remote model service; the response shape stays the same.
Register a model and the page generates the selector and parameter panel automatically — no HTML changes.
Drag the parameters for instant simulation. All results are parametric illustrations and do not constitute a commitment on price, returns or actual supply.
Version0.1.0 · Computed locally; no data is uploaded.
One request and response shape — the front end reads a single data format. To connect your own model service, put the endpoint inassets/js/model-config.js and you are done.
POST {modelApi}
Content-Type: application/json
{
"model": "burn-supply",
"version": "0.1.0",
"params": {
"redeem": 800, // monthly redemption burn (M tokens)
"burnRate": 100, // share of redeemed tokens burned (%)
"fee": 30, // monthly fee burn (M tokens)
"reward": 1200, // annual incentive release (M tokens)
"months": 96 // simulation horizon (months)
}
}
200 OK
{
"kpis": [
{ "label": "Circulating supply (end)", "value": "25.48M" },
{ "label": "Reaches 21M", "value": "Month 28" }
],
"series": {
"x": [0, 1, 2, ...],
"y": [21000, 20923, 20846, ...],
"label": "Circulating supply (M)",
"target": 2100,
"targetLabel": "Deflation target: 21M"
},
"notes": ["Methodology notes ..."]
}
assets/js/model-config.jsand fill in the endpoint. The page sendsmodel / version / params and fill in the endpoint. The page sends a POST with
three fields; the response must match the Response example on this page. On timeout, a non-200 status or an unexpected shape, the page falls back to the built-in local model and shows a notice.economy-model.js on any page and register a model — the selector and parameter panel are generated for you:
Next
v0.1 built-in parametric model · v0.5 server-side quantitative model · v1.0 multi-model comparison and scenario simulation.