{
 "meta": {
  "name": "BRAINROT Lab — mechanics ruleset",
  "version": "3.2",
  "generatedAt": "2026-11-18T15:26:30.285Z",
  "canonical": "https://lab-api.brainrot.works/rules.json",
  "humanDocs": "https://lab.brainrot.works/how-it-works",
  "note": "Generated from the Lab worker’s own code constants at request time — always current."
 },
 "currencies": {
  "brainpoints": {
   "symbol": "BP",
   "soulbound": true,
   "earnedBy": "burning tokens",
   "spentOn": "lab actions"
  },
  "stamps": {
   "soulbound": true,
   "types": [
    "weapon",
    "companion",
    "costume",
    "material",
    "variant",
    "rare",
    "epic"
   ],
   "earnedBy": "burning a token whose HISTORY carries the matching trait (see burn.stamps)",
   "spentOn": "stamp-gated actions and above-tier nuke/body rolls"
  }
 },
 "burn": {
  "bpFormula": "base(standing) + evolutions*evolutionBp - min(bankGrafts, evolutions)*(evolutionBp - bankGraftBp)",
  "standingBaseBp": {
   "DEATH SENTENCE": 200,
   "SLOP": 125,
   "COOKED": 115,
   "NOTED": 100,
   "MEMORABLE": 110,
   "EXEMPLARY": 120,
   "IMMORTAL": 150
  },
  "noStandingBaseBp": 100,
  "evolutionBp": 50,
  "bankGraftBp": 25,
  "zeitgeist": {
   "tokenIdRange": [
    9901,
    10000
   ],
   "flatBp": 4000,
   "note": "ignores standing and evolutions"
  },
  "attributesUsed": [
   "Standing (or trials_index)",
   "Evolutions",
   "Bank Grafts",
   "Rarity Tier"
  ],
  "stamps": {
   "rule": "one stamp per DISTINCT stamp-yielding trait the token has EVER carried, across all versions (divergent time-travel branches included)",
   "dedupe": "category + lowercased value — the same trait worn in many versions counts once",
   "tierStamps": "rare/epic derive from the CURRENT Rarity Tier only (high-water, max one per burn); zeitgeists also yield epic",
   "traitToStamp": {
    "held_item (weapon-classified)": "weapon",
    "held_companion / held_lead / shoulder_companion": "companion",
    "costume": "costume",
    "material": "material",
    "variant": "variant"
   },
   "endpoint": "GET https://lab-api.brainrot.works/burn/stamps/{tokenId} -> { stamps: string[] }"
  },
  "jackpot": {
   "poolStartBp": 100,
   "growPerBurnBp": 25,
   "growPerDayBp": 100,
   "winProbFormula": "min(0.05, 0.00667 + 0.0000045 * max(pool - 100, 0))"
  }
 },
 "traitBank": {
  "reserveAtBurn": {
   "feePerTraitBp": 15,
   "limit": "unlimited",
   "payment": "paid ONLY out of the burn’s own BP yield, capped at the full yield — the burn can go to 0 BP, never below, and every trait past that point is free; the wallet is never charged",
   "scope": "any bankable trait from the token’s ENTIRE version history; a trait the token APPLIED more than once (removed and re-added, or stacked) is claimable that many times — one copy per genuine application, time-travel re-wears excluded; extra copies of a CAPPED trait need live supply headroom",
   "stampForfeiture": "every banked stamp-yielding trait cancels the stamp it would have paid — trait or stamp, never both"
  },
  "apply": {
   "costPerTraitBp": 25,
   "feeUsd": 0.5,
   "maxTraitsPerApply": 5,
   "evolution": "each grafted trait adds one Evolution redeeming 25 BP at burn (not 50) — bank-cycling is BP-neutral"
  },
  "exclusions": "Legendary and Zeitgeist tokens cannot be banked from or applied onto",
  "capSemantics": "a vaulted capped trait keeps its edition slot; it moves to the target token on apply"
 },
 "actions": [
  {
   "id": "expression",
   "bp": 50,
   "stamp": null,
   "feeUsd": 1,
   "imagesPerRoll": 6
  },
  {
   "id": "remove",
   "bp": 0,
   "stamp": null,
   "feeUsd": 0.5,
   "imagesPerRoll": 3
  },
  {
   "id": "rebuild",
   "bp": 0,
   "stamp": null,
   "feeUsd": 0.5,
   "imagesPerRoll": 3
  },
  {
   "id": "rebuildtrait",
   "bp": 0,
   "stamp": null,
   "feeUsd": 0.5,
   "imagesPerRoll": 3
  },
  {
   "id": "remaster",
   "bp": 0,
   "stamp": null,
   "feeUsd": 1,
   "imagesPerRoll": 3
  },
  {
   "id": "cute",
   "bp": 0,
   "stamp": null,
   "feeUsd": 0.5,
   "imagesPerRoll": 3
  },
  {
   "id": "rotten",
   "bp": 0,
   "stamp": null,
   "feeUsd": 0.5,
   "imagesPerRoll": 3
  },
  {
   "id": "advremaster",
   "bp": 0,
   "stamp": null,
   "feeUsd": 2,
   "imagesPerRoll": 2
  },
  {
   "id": "collab",
   "bp": 50,
   "stamp": null,
   "feeUsd": 0.5,
   "imagesPerRoll": 3
  },
  {
   "id": "hair",
   "bp": 50,
   "stamp": null,
   "feeUsd": 1,
   "imagesPerRoll": 6
  },
  {
   "id": "facialhair",
   "bp": 50,
   "stamp": null,
   "feeUsd": 1,
   "imagesPerRoll": 6
  },
  {
   "id": "fashion",
   "bp": 50,
   "stamp": null,
   "feeUsd": 1,
   "imagesPerRoll": 6
  },
  {
   "id": "accessory",
   "bp": 50,
   "stamp": null,
   "feeUsd": 1,
   "imagesPerRoll": 6
  },
  {
   "id": "weapon",
   "bp": 50,
   "stamp": "weapon",
   "feeUsd": 1,
   "imagesPerRoll": 6
  },
  {
   "id": "companion",
   "bp": 50,
   "stamp": "companion",
   "feeUsd": 1,
   "imagesPerRoll": 6
  },
  {
   "id": "costume",
   "bp": 50,
   "stamp": "costume",
   "feeUsd": 1,
   "imagesPerRoll": 6
  },
  {
   "id": "material",
   "bp": 100,
   "stamp": "material",
   "feeUsd": 1,
   "imagesPerRoll": 6
  },
  {
   "id": "variant",
   "bp": 100,
   "stamp": "variant",
   "feeUsd": 1,
   "imagesPerRoll": 5
  },
  {
   "id": "nuke",
   "bp": "tiered (see nukeTiers)",
   "stamp": null,
   "feeUsd": 1,
   "imagesPerRoll": 6
  },
  {
   "id": "traitroll",
   "bp": "tiered (see nukeTiers)",
   "stamp": null,
   "feeUsd": 1,
   "imagesPerRoll": 6
  },
  {
   "id": "bodyroll",
   "bp": "tiered (see nukeTiers)",
   "stamp": null,
   "feeUsd": 1,
   "imagesPerRoll": 6
  },
  {
   "id": "custom",
   "bp": 1000,
   "stamp": null,
   "feeUsd": 1.5,
   "imagesPerRoll": 10
  },
  {
   "id": "zeitgeist",
   "bp": 100,
   "stamp": null,
   "feeUsd": 0,
   "imagesPerRoll": 0
  },
  {
   "id": "legendary",
   "bp": 5000,
   "stamp": null,
   "feeUsd": 0,
   "imagesPerRoll": 0
  },
  {
   "id": "combo",
   "bp": 0,
   "stamp": null,
   "feeUsd": 1,
   "imagesPerRoll": 6
  }
 ],
 "feeNote": "fees are USD, paid in ETH or prepaid credit; the standard roll fee is $1. BP and stamps charge only on COMMIT — walking away costs the fee alone.",
 "nukeTiers": {
  "appliesTo": [
   "nuke",
   "bodyroll",
   "traitroll"
  ],
  "order": [
   "common",
   "uncommon",
   "rare",
   "epic"
  ],
  "bpByTier": {
   "common": 50,
   "uncommon": 100,
   "rare": 150,
   "epic": 200
  },
  "odds": "92% in the chosen tier, 8% exactly one tier higher (epic tops out)",
  "stampGate": "the token’s own tier and below are stamp-free; choosing rare/epic ABOVE the token’s tier spends the matching stamp ON TOP of the BP (never instead of it)",
  "tierRule": "a committed body can only RAISE Rarity Tier (high-water; never downgrades)",
  "mythicDropOdds": {
   "common": "1/500",
   "uncommon": "1/500",
   "rare": "1/250",
   "epic": "1/100"
  },
  "rebodyWarning": "a rebody wipes material/variant layers from the CURRENT look; they remain in history (stamps at burn / bankable / time-travel-wearable)"
 },
 "editionCaps": {
  "model": "supply = DISTINCT tokens that have EVER carried the trait; permanent — burning does not free a slot; a token may always re-wear its own history",
  "scheduleByCategoryGroup": {
   "body": {
    "Common": 50,
    "Uncommon": 30,
    "Rare": 20,
    "Epic": 15,
    "Mythic": 5
   },
   "anatomy": {
    "Common": 20,
    "Uncommon": 15,
    "Rare": 11,
    "Epic": 9,
    "Mythic": 7
   },
   "expression": {
    "Common": 90,
    "Uncommon": 60,
    "Rare": 40,
    "Epic": 40,
    "Mythic": 40
   },
   "fashion": {
    "Common": 60,
    "Uncommon": 38,
    "Rare": 22,
    "Epic": 14,
    "Mythic": 8
   },
   "companion": {
    "Common": 55,
    "Uncommon": 40,
    "Rare": 28,
    "Epic": 14,
    "Mythic": 12
   },
   "material": {
    "Common": 55,
    "Uncommon": 55,
    "Rare": 40,
    "Epic": 28,
    "Mythic": 28
   },
   "variant": {
    "Common": 20,
    "Uncommon": 20,
    "Rare": 20,
    "Epic": 20,
    "Mythic": 20
   }
  },
  "namedOverrides": 68,
  "liveSupply": "GET https://lab-api.brainrot.works/catalog/library"
 },
 "timeTravel": {
  "cost": 0,
  "note": "every version stored forever; wearing an old look commits a NEW version; Evolutions restore to the worn version’s count"
 },
 "legendary": {
  "maxSupply": 25,
  "reserved": 3,
  "commissionBp": 5000,
  "burnBp": 0,
  "transferBackBp": 5000,
  "rules": [
   "once all 25 are claimed, owning a Legendary is the only way a new one is minted",
   "art is permanent — commissions join the lineage, never overwrite",
   "no BP from burning; 5000 BP only via transfer back to Nuclear Samurai",
   "cannot be modified by normal lab actions, banked from, or applied onto"
  ]
 },
 "marketplaceCard": {
  "animationUrl": "https://lab-api.brainrot.works/embed/{tokenId}",
  "note": "interactive card (front: art; back: live burn value, stamps, time travel, trait bag) — server-rendered per view, always current"
 },
 "valuationGuide": {
  "purpose": "compute any token’s store-of-value (e.g. to rank a marketplace by burn value)",
  "steps": [
   "1. GET https://api.brnrt.dev/metadata/{id} — read attributes: Standing, Evolutions, Bank Grafts, Rarity Tier, Archetype",
   "2. if Archetype == Legendary: burn value = 0 (transfer-back 5000); if id in 9901..10000 (Zeitgeist): 4000",
   "3. else BP = standingBase (table above; missing/NOTED = 100) + Evolutions*50 - min(BankGrafts, Evolutions)*25",
   "4. stamps: GET https://lab-api.brainrot.works/burn/stamps/{id}",
   "5. claimable traits (the trait bag) mirror the stamps’ history rule — shown on the token’s card"
  ]
 },
 "publicEndpoints": {
  "metadata": "https://api.brnrt.dev/metadata/{id} (versioned: /metadata/{id}/{v})",
  "burnStamps": "https://lab-api.brainrot.works/burn/stamps/{id}",
  "catalog": "https://lab-api.brainrot.works/catalog/library",
  "embedCard": "https://lab-api.brainrot.works/embed/{id}",
  "rules": "https://lab-api.brainrot.works/rules (markdown) | /rules.json",
  "cpi": "https://cpi.brainrot.works (keyed; docs at https://developers.brainrot.works)"
 }
}