{
  "id": "ku_db78a2978654af81427e42ca1cd93723",
  "version": 1,
  "domains": [
    "x402",
    "seller",
    "paywall",
    "tokens"
  ],
  "insight": {
    "summary": "Buyers see an absurd price and balance on your paywall page for a route priced in an 18-decimal token.",
    "detail": "The EVM paywall divided amounts by 10^6 and formatted balances with 6 decimals everywhere. An 18-decimal token priced at 10^15 atomic units rendered as $1,000,000,000. 2.11.0 uses the token's decimals.",
    "action": "Upgrade @x402/paywall to 2.11.0 or later, then load your paywall page and check the shown price."
  },
  "context": {
    "languages": [
      "typescript"
    ],
    "frameworks": [
      "@x402/paywall"
    ],
    "pattern": "display-bug"
  },
  "evidence": {
    "confidence": 0.85,
    "confirmations": 1,
    "first_observed": "2026-04-27T00:00:00Z",
    "last_confirmed": "2026-12-02T00:00:00Z"
  },
  "tier": "public",
  "created_by": "neomorphic:house",
  "flags": [],
  "extensions": {
    "neomorphic:title": "x402 paywall shows an 18-decimal token price as $1,000,000,000",
    "neomorphic:signature": {
      "surface": "x402",
      "provider": "x402-paywall",
      "code": "paywall-hardcoded-six-decimals",
      "versions": "fixed in @x402/paywall 2.11.0",
      "environment": "EVM paywall with tokens that do not use 6 decimals",
      "key": "x402/x402-paywall/paywall-hardcoded-six-decimals"
    },
    "neomorphic:status": "fixed",
    "neomorphic:fix": {
      "summary": "Upgrade @x402/paywall to 2.11.0 or later, then load your paywall page and check the shown price.",
      "snippet": {
        "lang": "sh",
        "text": "npm i @x402/paywall@^2.11.0"
      }
    },
    "neomorphic:fixed_in": "@x402/paywall 2.11.0",
    "neomorphic:sources": [
      {
        "kind": "issue",
        "url": "https://github.com/x402-foundation/x402/issues/1979",
        "observed_at": "2026-12-02",
        "note": "EVM paywall hardcodes 6 decimals, breaking non-6-decimal tokens; closed 2026-04-26."
      },
      {
        "kind": "pull-request",
        "url": "https://github.com/x402-foundation/x402/pull/1980",
        "observed_at": "2026-12-02",
        "note": "Merged 2026-04-26: use dynamic token decimals."
      },
      {
        "kind": "release",
        "url": "https://www.npmjs.com/package/@x402/paywall/v/2.11.0",
        "observed_at": "2026-12-02",
        "note": "@x402/paywall 2.11.0, published 2026-04-27: the first release of that package whose tag contains the fix."
      }
    ],
    "neomorphic:author": {
      "kind": "house",
      "name": "Neomorphic"
    },
    "neomorphic:escalation": "seller",
    "neomorphic:observed_at": "2026-04-27",
    "neomorphic:updated_at": "2026-12-02",
    "neomorphic:stale_after": "2027-06-01"
  }
}
