Prediction Stack docs Open the Stack
Reference

Credits and licences

The public pages and the data jobs use no npm packages at all: they are plain HTML, CSS and JavaScript on Node's standard library. Third-party code is confined to the operator admin. No GPL or AGPL code is included. Licences were read from each package's own LICENSE file on 2026-09-25.

Admin: runtime packages#

PackageVersion installedLicenceCopyright
hono4.13.9MITYusuke Wada and Hono contributors
@hono/node-server1.19.17MITYusuke Wada and Hono contributors
better-sqlite312.11.1MIT (bundles SQLite, public domain)Joshua Wise
tsx4.23.15MITHiroki Osame
esbuild (used by tsx)0.28.2MITEvan Wallace

Admin: development packages#

PackageLicence
typescript 5.9.3Apache-2.0
@types/node, @types/better-sqlite3MIT

Admin: every installed package by licence#

From admin/node_modules after npm install on macOS (the esbuild platform package differs by operating system; all are MIT).

LicencePackagesPackages
MIT35includes hono, @hono/node-server, better-sqlite3, tsx, esbuild, prebuild-install, tar-fs, node-abi, bindings, buffer, readable-stream, minimist and others
ISC6chownr, inherits, ini, once, semver, wrappy
Apache-2.03detect-libc, tunnel-agent, typescript
BSD-3-Clause1ieee754
MIT OR WTFPL1expand-template
BSD-2-Clause OR MIT OR Apache-2.01rc

MIKODES components#

  • MIKODES Admin Kit 0.4.0 in admin/packages/admin-kit/: the author's own code and part of this item, covered by the same Envato licence (see admin/packages/admin-kit/LICENSE.md). The console's source is in ui-src/; ui/ is its unminified build.
  • keccak-256 in terminal/src/keccak.js: written for this product, checked against three published test vectors.
  • Design system in design-system/: written for this product.

Fonts#

  • Inter and JetBrains Mono, SIL Open Font License 1.1, loaded from Google Fonts by the stylesheets. Not bundled.
  • Geist and Geist Mono (Vercel), SIL Open Font License 1.1, bundled as .woff2 files in admin/packages/admin-kit/ui/assets/ (licence texts Geist-OFL.txt and GeistMono-OFL.txt next to them) for the admin console.

Polymarket and Kalshi material#

  • API shapes, the Polymarket fee formula and the builder-code field were read from Polymarket's MIT-licensed SDKs (Polymarket/ts-sdk, py-sdk, rs-clob-client-v2, clob-client-v2). File and line references are in the source comments. No SDK code is bundled.
  • terminal/src/exchangeV2.abi.ts holds the ABI of Polymarket's CTF Exchange V2. It matches the ABI shipped in the MIT-licensed Polymarket/clob-client-v2 (src/order-utils/abi/ExchangeV2.ts) by name and purpose; the file carries no attribution header and is not imported by any shipped code. The event decoders in onchain.js use the event signatures directly.
  • Not used, on purpose: @polymarket/builder-relayer-client (no licence) and the Polymarket/ctf-exchange-v2 contract repository (BUSL-1.1).
  • Market data from Kalshi, Polymarket and the Polygon blockchain is fetched at run time and is subject to each provider's terms. None of it is bundled other than the data files the refresh job commits to your repository.
  • Kalshi's fee constants cite Kalshi's public documentation (fee rounding page and the 2026-08-22 changelog).

Trademarks#

Kalshi, Polymarket, Polygon, GitHub and Vercel are trademarks of their owners. The Stack is not affiliated with or endorsed by any of them, and its pages use none of their logos.

MIKODES Prediction Stack documentation. Written from the code in this repository; where the code and older notes disagree, the code wins. Nothing here is financial, legal or tax advice.