Score an accountOpen the app
Product +
TrialsTrial scorerFunded desksThe fundPayoutsRules
Resources +
DocumentationContractsSDK and scorerAPI and MCPDev logskill.mdFees

SDK and scorer

Two files, served by this site:

  • /sdk/athlos.mjs: chains, token addresses, contract addresses, sizes, markets and the ABIs of the five contracts, as human-readable ABI strings any library accepts.
  • /sdk/athlos-score.mjs: the trial scorer, with no dependency.
import { createPublicClient, http, parseAbi } from "viem";
import { ADDRESSES, CHAINS, fundAbi } from "./athlos.mjs";

const client = createPublicClient({ transport: http(CHAINS.elysium.rpc) });
const value = await client.readContract({ address: ADDRESSES.fund, abi: parseAbi(fundAbi), functionName: "totalAssets" });
import { scoreTrial } from "./athlos-score.mjs";
const report = await scoreTrial({ address: "0x...", size: 1, startTime: Date.parse("2026-12-01T00:00:00Z") });
console.log(report.verdict, report.checks);