[{"data":1,"prerenderedAt":575},["ShallowReactive",2],{"navigation_docs":3,"-guide-cli":96,"-guide-cli-surround":570},[4,48],{"title":5,"path":6,"stem":7,"children":8,"icon":47},"Guide","\u002Fguide","1.guide\u002F01.index",[9,11,15,19,23,27,31,35,39,43],{"title":10,"path":6,"stem":7},"Getting Started",{"title":12,"path":13,"stem":14},"Puzzle records","\u002Fguide\u002Frecords","1.guide\u002F02.records",{"title":16,"path":17,"stem":18},"Registry","\u002Fguide\u002Fregistry","1.guide\u002F03.registry",{"title":20,"path":21,"stem":22},"Lookups and views","\u002Fguide\u002Flookups","1.guide\u002F04.lookups",{"title":24,"path":25,"stem":26},"Verification","\u002Fguide\u002Fverification","1.guide\u002F05.verification",{"title":28,"path":29,"stem":30},"Balances","\u002Fguide\u002Fbalances","1.guide\u002F06.balances",{"title":32,"path":33,"stem":34},"CLI","\u002Fguide\u002Fcli","1.guide\u002F07.cli",{"title":36,"path":37,"stem":38},"Agents","\u002Fguide\u002Fagents","1.guide\u002F08.agents",{"title":40,"path":41,"stem":42},"Custom collections","\u002Fguide\u002Fcustom","1.guide\u002F09.custom",{"title":44,"path":45,"stem":46},"Playground","\u002Fguide\u002Fplayground","1.guide\u002F10.playground","i-lucide-book-open",{"title":49,"path":50,"stem":51,"children":52,"icon":95},"Collections","\u002Fcollections","2.collections\u002F00.index",[53,55,59,63,67,71,75,79,83,87,91],{"title":54,"path":50,"stem":51},"Overview",{"title":56,"path":57,"stem":58},"Bitcoin puzzle transaction","\u002Fcollections\u002Fb1000","2.collections\u002F01.b1000",{"title":60,"path":61,"stem":62},"RushWallet contest","\u002Fcollections\u002Frushwallet","2.collections\u002F02.rushwallet",{"title":64,"path":65,"stem":66},"Zden's puzzles","\u002Fcollections\u002Fzden","2.collections\u002F03.zden",{"title":68,"path":69,"stem":70},"Arweave bounties","\u002Fcollections\u002Farweave","2.collections\u002F04.arweave",{"title":72,"path":73,"stem":74},"WarpWallet challenges","\u002Fcollections\u002Fwarp","2.collections\u002F05.warp",{"title":76,"path":77,"stem":78},"Hash collision bounties","\u002Fcollections\u002Fhash_collision","2.collections\u002F06.hash_collision",{"title":80,"path":81,"stem":82},"Ballet wallets","\u002Fcollections\u002Fballet","2.collections\u002F07.ballet",{"title":84,"path":85,"stem":86},"Bitimage","\u002Fcollections\u002Fbitimage","2.collections\u002F08.bitimage",{"title":88,"path":89,"stem":90},"Bitaps mnemonic challenge","\u002Fcollections\u002Fbitaps","2.collections\u002F09.bitaps",{"title":92,"path":93,"stem":94},"GSMG.io puzzle","\u002Fcollections\u002Fgsmg","2.collections\u002F10.gsmg","i-lucide-layers",{"id":97,"title":32,"body":98,"description":562,"extension":563,"links":564,"meta":565,"navigation":567,"path":33,"seo":568,"stem":34,"__hash__":569},"docs\u002F1.guide\u002F07.cli.md",{"type":99,"value":100,"toc":556},"minimark",[101,106,145,153,287,291,421,461,465,486,520,535,539,552],[102,103,105],"h2",{"id":104},"run-it","Run it",[107,108,113],"pre",{"className":109,"code":110,"language":111,"meta":112,"style":112},"language-bash shiki shiki-themes github-light github-light vitesse-dark","pnpm add -g @agntn\u002Fpuzzles\npuzzles stats\n","bash","",[114,115,116,136],"code",{"__ignoreMap":112},[117,118,121,125,129,133],"span",{"class":119,"line":120},"line",1,[117,122,124],{"class":123},"sTnI0","pnpm",[117,126,128],{"class":127},"skmWX"," add",[117,130,132],{"class":131},"sAsIS"," -g",[117,134,135],{"class":127}," @agntn\u002Fpuzzles\n",[117,137,139,142],{"class":119,"line":138},2,[117,140,141],{"class":123},"puzzles",[117,143,144],{"class":127}," stats\n",[107,146,151],{"className":147,"code":149,"language":150,"meta":112},[148],"language-text","Total: 332\nSolved: 130\nUnsolved: 93\nClaimed: 11\nSwept: 96\nExpired: 2\nWith pubkey: 236\n","text",[114,152,149],{"__ignoreMap":112},[154,155,156,169],"table",{},[157,158,159],"thead",{},[160,161,162,166],"tr",{},[163,164,165],"th",{},"Command",[163,167,168],{},"Description",[170,171,172,187,197,210,231,249,263,277],"tbody",{},[160,173,174,180],{},[175,176,177],"td",{},[114,178,179],{},"puzzles stats",[175,181,182,183,186],{},"Totals and status counts across every collection. ",[114,184,185],{},"--json"," adds the prize sums",[160,188,189,194],{},[175,190,191],{},[114,192,193],{},"puzzles collections",[175,195,196],{},"One line per collection: key, count, solved, unsolved, author",[160,198,199,204],{},[175,200,201],{},[114,202,203],{},"puzzles show \u003Cid>",[175,205,206,207,209],{},"One puzzle: id, status, prize, address. ",[114,208,185],{}," for the whole record",[160,211,212,217],{},[175,213,214],{},[114,215,216],{},"puzzles list [collection]",[175,218,219,220,223,224,227,228,230],{},"Puzzles, one per line, ",[114,221,222],{},"--status \u003Cstatus>"," and ",[114,225,226],{},"--with-pubkey"," to narrow, ",[114,229,185],{}," for the records",[160,232,233,238],{},[175,234,235],{},[114,236,237],{},"puzzles verify [id]",[175,239,240,241,244,245,248],{},"A published key against its address, or ",[114,242,243],{},"--all"," for every puzzle, ",[114,246,247],{},"--quiet"," for the exit code alone",[160,250,251,256],{},[175,252,253],{},[114,254,255],{},"puzzles balance \u003Cid>",[175,257,258,259,262],{},"The live balance through the chain's explorer, ",[114,260,261],{},"--api-key"," for Ethereum",[160,264,265,270],{},[175,266,267],{},[114,268,269],{},"puzzles export",[175,271,272,273,276],{},"The complete dataset envelope, ",[114,274,275],{},"--compact"," without indentation",[160,278,279,284],{},[175,280,281],{},[114,282,283],{},"puzzles mcp",[175,285,286],{},"Run the MCP server over stdio",[102,288,290],{"id":289},"examples","Examples",[107,292,294],{"className":109,"code":293,"language":111,"meta":112,"style":112},"puzzles list b1000 --status unsolved              # 77 lines, id, status, prize, address\npuzzles list --with-pubkey --json | jq -r '.[].id' # every puzzle with a known public key\npuzzles show hash_collision\u002Fsha256 --json          # the record, redeem script included\npuzzles verify b1000\u002F135                           # OK b1000\u002F135\npuzzles export --compact > puzzles.json            # a snapshot with its data_version\npuzzles stats --json | jq .unsolved_prize          # { \"BTC\": 907.88…, \"ETH\": 1, \"AR\": 1900 }\n",[114,295,296,316,351,367,381,401],{"__ignoreMap":112},[117,297,298,300,303,306,309,312],{"class":119,"line":120},[117,299,141],{"class":123},[117,301,302],{"class":127}," list",[117,304,305],{"class":127}," b1000",[117,307,308],{"class":131}," --status",[117,310,311],{"class":127}," unsolved",[117,313,315],{"class":314},"sjj-T","              # 77 lines, id, status, prize, address\n",[117,317,318,320,322,325,328,332,335,338,342,345,348],{"class":119,"line":138},[117,319,141],{"class":123},[117,321,302],{"class":127},[117,323,324],{"class":131}," --with-pubkey",[117,326,327],{"class":131}," --json",[117,329,331],{"class":330},"sO_1p"," |",[117,333,334],{"class":123}," jq",[117,336,337],{"class":131}," -r",[117,339,341],{"class":340},"s2tGe"," '",[117,343,344],{"class":127},".[].id",[117,346,347],{"class":340},"'",[117,349,350],{"class":314}," # every puzzle with a known public key\n",[117,352,354,356,359,362,364],{"class":119,"line":353},3,[117,355,141],{"class":123},[117,357,358],{"class":127}," show",[117,360,361],{"class":127}," hash_collision\u002Fsha256",[117,363,327],{"class":131},[117,365,366],{"class":314},"          # the record, redeem script included\n",[117,368,370,372,375,378],{"class":119,"line":369},4,[117,371,141],{"class":123},[117,373,374],{"class":127}," verify",[117,376,377],{"class":127}," b1000\u002F135",[117,379,380],{"class":314},"                           # OK b1000\u002F135\n",[117,382,384,386,389,392,395,398],{"class":119,"line":383},5,[117,385,141],{"class":123},[117,387,388],{"class":127}," export",[117,390,391],{"class":131}," --compact",[117,393,394],{"class":330}," >",[117,396,397],{"class":127}," puzzles.json",[117,399,400],{"class":314},"            # a snapshot with its data_version\n",[117,402,404,406,409,411,413,415,418],{"class":119,"line":403},6,[117,405,141],{"class":123},[117,407,408],{"class":127}," stats",[117,410,327],{"class":131},[117,412,331],{"class":330},[117,414,334],{"class":123},[117,416,417],{"class":127}," .unsolved_prize",[117,419,420],{"class":314},"          # { \"BTC\": 907.88…, \"ETH\": 1, \"AR\": 1900 }\n",[422,423,424,425,223,428,431,432,435,436,439,440,443,444,447,448,447,451,447,454,223,457,460],"p",{},"The line format of ",[114,426,427],{},"show",[114,429,430],{},"list"," is tab separated: ",[114,433,434],{},"b1000\u002F71\tunsolved\t7.100226 BTC\t1PWo3JeB9jrGwfHDNpdGK54CRas7fsVzXU",". A puzzle without a recorded prize prints ",[114,437,438],{},"-"," in the third column. Statuses for ",[114,441,442],{},"--status"," are ",[114,445,446],{},"unsolved",", ",[114,449,450],{},"solved",[114,452,453],{},"claimed",[114,455,456],{},"swept",[114,458,459],{},"expired",". Anything else is an error, not an empty list.",[102,462,464],{"id":463},"exit-codes","Exit codes",[422,466,467,447,469,447,472,475,476,478,479,482,483,485],{},[114,468,427],{},[114,470,471],{},"verify",[114,473,474],{},"balance"," and a ",[114,477,430],{}," with an unknown collection print a message and exit 1. ",[114,480,481],{},"verify --all"," exits 1 when any puzzle with a key derives the wrong address. Puzzles without a key don't count, which is what a CI gate wants. ",[114,484,430],{}," with a status that matches nothing prints nothing and exits 0. Don't use an empty list as a check.",[107,487,489],{"className":109,"code":488,"language":111,"meta":112,"style":112},"puzzles verify --all --quiet && echo \"every published key derives its address\"\n",[114,490,491],{"__ignoreMap":112},[117,492,493,495,497,500,503,507,511,514,517],{"class":119,"line":120},[117,494,141],{"class":123},[117,496,374],{"class":127},[117,498,499],{"class":131}," --all",[117,501,502],{"class":131}," --quiet",[117,504,506],{"class":505},"s14qF"," &&",[117,508,510],{"class":509},"sXmn8"," echo",[117,512,513],{"class":340}," \"",[117,515,516],{"class":127},"every published key derives its address",[117,518,519],{"class":340},"\"\n",[422,521,522,523,526,527,530,531,534],{},"A closed pipe ends the process quietly: ",[114,524,525],{},"puzzles export | head"," doesn't crash with an EPIPE trace. And ",[114,528,529],{},"--help"," doesn't load the MCP SDK. The ",[114,532,533],{},"mcp"," command imports it when it runs, so listing the commands costs a few milliseconds.",[102,536,538],{"id":537},"machine-output","Machine output",[422,540,541,543,544,547,548,551],{},[114,542,185],{}," goes through one serializer. It prints ",[114,545,546],{},"bigint"," as a string and leaves absent fields out. Nothing on the CLI prints data through a logger. consola silences its output under ",[114,549,550],{},"NODE_ENV=test",", and a script that parses an empty string fails far from the cause.",[553,554,555],"style",{},"html pre.shiki code .sTnI0, html code.shiki .sTnI0{--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#80A665}html pre.shiki code .skmWX, html code.shiki .skmWX{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#C98A7D}html pre.shiki code .sAsIS, html code.shiki .sAsIS{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#C99076}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sjj-T, html code.shiki .sjj-T{--shiki-light:#6A737D;--shiki-default:#6A737D;--shiki-dark:#758575DD}html pre.shiki code .sO_1p, html code.shiki .sO_1p{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#CB7676}html pre.shiki code .s2tGe, html code.shiki .s2tGe{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#C98A7D77}html pre.shiki code .s14qF, html code.shiki .s14qF{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#666666}html pre.shiki code .sXmn8, html code.shiki .sXmn8{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#B8A965}",{"title":112,"searchDepth":138,"depth":138,"links":557},[558,559,560,561],{"id":104,"depth":138,"text":105},{"id":289,"depth":138,"text":290},{"id":463,"depth":138,"text":464},{"id":537,"depth":138,"text":538},"The puzzles command. Eight subcommands and what each prints. Which ones exit 1 and what --json gives a script.","md",null,{"icon":566},"i-lucide-terminal",true,{"title":32,"description":562},"FKxP73yEec7A5kYpuXHr8NgfGuGjReJEsTvC1PkhUVY",[571,573],{"title":28,"path":29,"stem":30,"description":572,"children":-1},"puzzle.balance() through the explorers provider for its chain. The one call that leaves the process. Base units as bigint. API keys never reach an error.",{"title":36,"path":37,"stem":38,"description":574,"children":-1},"The same six tools over MCP and the Pi and OMP extensions. What the text carries and where the limits live. The one tool that leaves the process.",1789737889015]