TapeOut 官网TapeOut ↗ #… 打开主站Main site

21 NAND:写在链上的门电路21 NAND: gate circuits on chain

我们把神经网络压成最简单的 NAND 门,写在 BNB Chain 和 X Layer 上。下面的演示都在你的浏览器里逐门运行,其中一部分还能让链上重算一遍核对。We compress neural networks into the simplest NAND gates and store them on BNB Chain and X Layer. Every demo below runs gate by gate in your browser, and some can be recomputed on chain to check.

21 门小车21-gate car →小车在赛道上自己开,它的“大脑”只有 21 个 NAND 门,写在 BNB Chain 上;你还可以让链上把它的每一步重新算一遍。A little car drives itself around a track. Its whole “brain” is 21 NAND gates stored on BNB Chain, and you can have the chain recompute every step.门电路大脑Gate brain →一个 10 亿参数的 AI 聊天模型被拆成几千亿个最简单的开关,你电脑的显卡一个开关一个开关地算出每个字,回答和原版模型一字不差。准备好一次之后,断网也能用。A 1-billion-parameter chat AI split into hundreds of billions of the simplest switches. Your graphics card computes every word switch by switch, and the answers match the original model exactly. Once set up, it works offline.web2tapeweb2tape →把一个网站存到区块链上,生成一个永久的新网址。原网站以后改版或关掉,链上这份也还在。配套 Chrome 插件已上架。Save a website on chain and get a permanent new address. If the original site changes or goes away, the on-chain copy stays. A companion Chrome extension is in the Web Store.TapeID 发币TapeID launch →如果你在 TapeOut 上做过电路,这里能一步在 Base 链上为它发一个代币;交易产生的手续费 80% 归你。If you’ve made a circuit on TapeOut, launch a token for it on Base in one step; 80% of the trading fees go to you.
小车的大脑Car brain21个 NAND 门NAND gates
电路 283Circuit 283152门 + 10 个存储位gates + 10 memory bits
Pi 默认大脑Pi default brain485 万4.85M个门gates
impossible LLMimpossible LLM514 万5.14M个门gates
门电路大脑Gate brain10 亿1B参数,逐门算parameters, gate by gate
BNB Chain 区块BNB Chain block…实时live

设计Design

把神经网络和逻辑压成 NAND 门,在你的浏览器里逐门运行、核对。Compress neural networks and logic into NAND gates, then run and check them gate by gate in your browser.

GA门电路大脑:和一个由开关组成的 AI 聊天Gate brain: chat with an AI made of switches一个 10 亿参数的 AI 聊天模型被拆成几千亿个最简单的开关,你电脑的显卡一个开关一个开关地算出每个字,回答和原版模型一字不差。准备好一次之后,断网也能用。A 1-billion-parameter chat AI split into hundreds of billions of the simplest switches. Your graphics card computes every word switch by switch, and the answers match the original model exactly. Once set up, it works offline.用电脑:新版 Chrome 或 EdgeDesktop: recent Chrome or Edge首次下载约 580 MB,准备 2–8 分钟First visit: ~580 MB download, 2–8 min setup21一辆只靠 21 个门开的车A car driven by 21 gates小车在赛道上自己开,它的“大脑”只有 21 个 NAND 门,写在 BNB Chain 上;你还可以让链上把它的每一步重新算一遍。A little car drives itself around a track. Its whole “brain” is 21 NAND gates stored on BNB Chain, and you can have the chain recompute every step.打开就能看Opens right away不用钱包No walletAR竞技场规则Arena rules小车比赛怎么报名、怎么评分,含 v2b 赛道和尚未部署的 v3.1 草案。How to enter the car races and how they are scored, including the v2b track and the not-yet-deployed v3.1 draft.阅读ReadingPIPi 工作台:浏览器里的 AI 助手Pi Workbench: an AI assistant in your browser一个能在浏览器里读写文件、跑命令的 AI 助手,“大脑”可以换:默认是 485 万个门组成的小语言模型,也能换成门电路大脑。An AI assistant that reads and writes files and runs commands inside your browser. Its “brain” is swappable: by default a small language model made of 4.85 million gates, or the gate brain.首次下载约 21 MBFirst visit downloads ~21 MBIMimpossible LLM:514 万个门写出来的字impossible LLM: text written by 5.14 million gates一个完全由门组成的小语言模型:看前面 6 个词,写出下一个词,一个接一个往下写。它还写不通顺,但每一步都在你的浏览器里逐门算出。A small language model made entirely of gates: it reads the last six words and writes the next one, word after word. It can’t write fluent sentences yet, but every step is computed gate by gate in your browser.首次下载约 10 MBFirst visit downloads ~10 MBMIMicroduck:两个链上电路给鸭子指路Microduck: two on-chain circuits guide a duck一只模拟的鸭子要走到目标点:一个电路管转向,另一个电路记路,两个电路都写在 BNB Chain 上。A simulated duck has to reach its goals: one circuit steers, another remembers the way, and both are stored on BNB Chain.首次下载约 7 MBFirst visit downloads ~7 MBNCncd2net:把神经网络变成门电路ncd2net: turning neural networks into gate circuits给它一张神经网络的结构图,它自动编译成门电路;页面里能直接运行这些电路,并和原模型逐一比对。偏技术。Give it a neural network’s structure diagram and it compiles a gate circuit automatically; the page runs those circuits and checks them against the original model. Technical.打开就能看Opens right awayEAPi · impossible LLM(旧版工作台)Pi · impossible LLM (earlier workbench)Pi 工作台的上一版,大脑固定是 impossible LLM,留作对照。The previous Pi Workbench, with impossible LLM as its fixed brain, kept for comparison.首次下载约 38 MBFirst visit downloads ~38 MB

制造Make

把电路流片上链、发成代币、把网站存进电路,以及在链上运行要花多少钱。Tape circuits out on chain, launch them as tokens, store websites in circuits, and what running on chain costs.

CI电路 283:AI 助手的“下一步”写在链上Circuit 283: an AI assistant’s “next step”, on chainOpenAI 的 AI 助手框架里决定“下一步做什么”的那段逻辑,被做成 152 个门加 10 个存储位写在链上;页面里可以拨动输入,看它怎么决定。偏技术。The part of OpenAI’s agent framework that decides “what to do next”, built as 152 gates plus 10 memory bits on chain. Flip its inputs in the page and watch it decide. Technical.打开就能看Opens right awayTATapeID:把你的电路发成代币(Base)TapeID: turn your circuit into a token (Base)如果你在 TapeOut 上做过电路,这里能一步在 Base 链上为它发一个代币;交易产生的手续费 80% 归你。If you’ve made a circuit on TapeOut, launch a token for it on Base in one step; 80% of the trading fees go to you.需要钱包Needs a wallet需要你自己的电路Needs your own circuitTATapeID:X Layer 版TapeID: X Layer edition在 X Layer 链上发币:交易税 80% 归你的电路(存进它自己的账户),20% 用于回购。Launch on X Layer: 80% of the trading tax goes to your circuit (into its own account), 20% to buybacks.需要钱包Needs a wallet需要你自己的电路Needs your own circuitTATapeID:领取收益TapeID: claim your earnings发过币之后,在这里把分给你电路的交易税领到钱包。After launching, claim the trading tax owed to your circuit into your wallet.需要钱包Needs a walletWEweb2tape:把网站存上链web2tape: save a website on chain把一个网站存到区块链上,生成一个永久的新网址。原网站以后改版或关掉,链上这份也还在。配套 Chrome 插件已上架。Save a website on chain and get a permanent new address. If the original site changes or goes away, the on-chain copy stays. A companion Chrome extension is in the Web Store.需要钱包Needs a walletAU身份验证器:两步验证码,备份在你自己的电路里Authenticator: two-step codes, backed up in your own circuit ↗照 Google Authenticator 做的验证码应用,二维码和转移格式互通。连上钱包后,帐号加密存进你自己的电路容器,换设备签一次名就能恢复;应用本身也放在链上(288.732.tape)。A two-step code app modeled on Google Authenticator, compatible with its QR and transfer codes. Connect a wallet and your accounts are encrypted into your own circuit container; on a new device one signature restores them. The app itself lives on chain (288.732.tape).看验证码不用钱包Codes need no wallet链上备份要连钱包,并有开通了容器的电路Chain backup needs a wallet and a circuit with an opened containerSH短链接:给你的链上网站起个短名字Short links: a short name for your on-chain site ↗把链上名字(例如 282.732.tape)变成 s.aihashrate.stream/你起的名字,普通浏览器一点就开;生成前会在链上核对名字已开通。Turn an on-chain name such as 282.732.tape into s.aihashrate.stream/your-name that any browser opens; the name is checked on chain first.不用钱包No wallet需要已开通的链上名字Needs an activated on-chain nameGAGas 账本:在链上算一步要花多少钱Gas ledger: what a step costs on chain在 BNB Chain 上跑一个门、一条 RISC-V 指令、写一页内存的实测费用,给开发者参考。Measured BNB Chain costs for one gate, one RISC-V instruction and one memory page, for developers.阅读ReadingMC给 AI 助手用:MCP 接口For AI assistants: an MCP server ↗把 mcp.aihashrate.stream/mcp 加进 Claude、Cursor 等 AI 助手,它就能直接查链上名字、读链上网站、在链上运行电路、估算发布一枚电路要花多少钱。Add mcp.aihashrate.stream/mcp to Claude, Cursor or another AI assistant and it can look up on-chain names, read on-chain sites, run circuits on chain and price publishing a circuit.不用钱包No wallet需要支持 MCP 的 AI 助手Needs an AI assistant that supports MCP

链上站On-chain sites

这几个网站的文件本身存在链上,网关直接从合约里读出来。These sites’ files live on chain; the gateway reads them straight from the contracts.

说明Notes

本页在主站「全部页面」和 282.732.tape/sites/ 上是同一个文件。This page is the same file as “All pages” on the main site and 282.732.tape/sites/.

看不懂的词Words explained
NAND 门NAND gate
最简单的逻辑开关:两个输入都是 1 时输出 0,否则输出 1。任何计算都能只用它拼出来。The simplest logic switch: it outputs 0 only when both inputs are 1, and 1 otherwise. Any computation can be built from it alone.
电路、网表Circuit, netlist
很多个门按顺序连起来的清单,它本身就是一个程序。A list of gates wired together in order; it is itself a program.
区块链、链上Blockchain, on chain
一本由很多人共同保存、写进去就改不了的公共账本。“链上”就是写在里面的东西。A public ledger kept by many parties that cannot be changed once written. “On chain” means stored in it.
BNB Chain、X Layer、BaseBNB Chain, X Layer, Base
几条不同的区块链的名字。这里的电路主要写在 BNB Chain 上;X Layer 和 Base 上有 TapeID 的发币功能。Names of different blockchains. The circuits here live mostly on BNB Chain; TapeID can launch tokens on X Layer and Base.
TapeOutTapeOut
把电路“流片”写进区块链的平台,就像芯片出厂一样定型。写上去以后,任何人都能免费运行它、核对它。A platform that “tapes out” circuits onto a blockchain, fixed like a chip leaving the factory. After that, anyone can run and check them for free.
钱包Wallet
管理你区块链账户的浏览器插件,比如 MetaMask、OKX Wallet。只有发币、领取这类操作才用得到,看演示不需要。A browser extension that manages your blockchain account, such as MetaMask or OKX Wallet. Only launching or claiming needs one; the demos do not.
GasGas
往区块链上写东西要付的手续费。只读地运行链上电路不收费。The fee for writing to a blockchain. Running an on-chain circuit read-only costs nothing.
核对链上文件(给想自己验证的人)Verify the on-chain files (for the curious)

链上站的每个文件都记在 TapeOut 站点合约里(路径、字节数、sha256 指纹),可以自己调用合约的 fileInfo(容器, 路径) 核对。aihashrate 的网址直接给链上文件的副本(发布时逐个核对过),官方网关每次打开都从链上读、逐字节核对:Every file of an on-chain site is recorded in the TapeOut site registry (path, bytes, sha256 fingerprint); call the registry’s fileInfo(container, path) to check. The aihashrate addresses serve a copy of the on-chain files (checked file by file when published); the official gateways read from the chain and check every byte on each visit: 282-732.tapekit.org · 1-2-245.tapekit.org

BNB Chain · 282.732.tape

电路容器Container
0x39d97ab281f04a5bc3aCc562f8DeA3f0b4266aA3
处理器 / 电路Processor / circuit
#732 / #282
站点合约Site registry
0xd006ffdd5ae313b17729621a00999cd3c71ce5e6
文件File字节Bytessha256 指纹sha256 fingerprint
sites/index.html—本页;哈希见官方网关状态页 282-732.tapekit.org/.tape/statusthis page; see the official gateway status page 282-732.tapekit.org/.tape/status
RULES.md19,20157c7aa4f94aaab791ad858b913ee05bb949133f9861981003cded72f085cd1a9
agents-api/index.html65,37238ea7dc2602e3d913de38c8d95224256e6dca7ad6c5abf6b8ef0d333ab5324cc
bard.webp142,952f997c98581f1a80ab524faddbf4b3fef4a27b2f774c86152025ef0a01b3cdd2d
build/index.html5,35638da1f0425878c37e540679c6ce54c1d16feaa97a9e500950be3aec97caef38a
data/chain.json23,592358b92bea9fc0afdd520127b1c8ccaf7ac6375006184262bc029ce0cf448b9f2
en/build/index.html5,429e54e031d701ae6f76ccd228c07b40d004f3d298e683af3d0faf2d96d5ef53280
en/faq/index.html8,1750edcd236250ad7ccdbdcb0cba02a098c47691989dc864f1faf6c8f57a3895570
en/index.html7,29445d7bfd3b1d57c15c546c116ea276bd8cbb375e2bf574cb544e4fff310b28883
en/progress/index.html6,4726b0e844551155d1b953c24f169849c1cb71fd1aef5533ab7b6c38dc59fee94a4
en/verify/index.html6,2217843ef5f786e15207d9975ac034e5e5ae35a5789ee3cd41348c014e7ce914f40
faq/index.html8,1283ba880da94e48f77d09cd16d9767066fced948c2ba3ed08c60b089c9dee5b7f8
gas/gas_model.json32,6373752877aeef5656cade3eb18e2f6390c06e63a9e21c1574e392830198893014b
gas/index.html79,005e2c66565df0911ac9be80b02b220c6bcc647471c0d113520cf6b382aab721862
home.css10,958bd39b1d07903e4b607dd1fae25ab46d22c6038fe10100ce4ff966df694cd9873
index.html7,073e72f4c1011f70cd30b09c8bdb978d9b4228e672a0e59e5cde98266a8e680ce59
ncd2net/index.html209,450527358466aba147f8960a5846d6ddcffa50b9fcf59692f3cca67c665d9972b35
progress/index.html6,3019b293c7caccc42d341c9927fc20d53523bd9d8074755b67d79cc666fb083c848
tapeid/app.js.gz336,9880cc34be42a922a61b4cabf7b097676f33db43127f45fdbd689198d3514316579
tapeid/index.html14,92059eae31f458f5585ba6f952908f583e1d1b0e5a6e3c33b2add8d6e2a6567d963
tapeid/tapeid-default.svg10,016abac0a29831b136888323df2f2e94f28d776dff7d57b09c02449e33f9d8263ac
tapeoutLLM/index.html1,452565ffbfabbe942048e8913eb94e865b020da26099a0d06ae2e95294c36b158c6
verify/index.html6,1939690381f523a96218595f2150c74d7ddb020061715773a01740f93507a3ffaf5

X Layer · 1.2.245.tape

电路容器Container
0x75c6E2D063963561c08c838476111adda7a1a6CD
处理器 / 电路Processor / circuit
#245 / #1
站点合约Site registry
0xd6efb7adcc9c83dc4924ad56f6a8e4e969b9adb6
文件File字节Bytessha256 指纹sha256 fingerprint
21-nand-driver.png50,451e9886f65d5486a1b33125bd0539cea81125fba52735d0a2da278c405be6c182b
app.js.gz231,186bae6b357f8b9b83c6998b985c327a2506f3b831bc79942ad1114ea7072b3543d
claim.html10,677160e27dd821f036d9c46d92b07100b9e846ad031935bc420ab552350fbf77728
claim.js.gz118,943cb25b709218428ec59b97f2bac637f7d09885933a6c12949382312efbddd75cf
index.html12,70241c00f6f3477a839d3820b5aefef688afdfe3f3925051cd399b5c53596eca4d6
tapeid-default.png49,882c878d825ef2896ada9a5860cd9df8b539035234ae51a6a585af40f7ce73b3bac
tapeid-default.svg10,016abac0a29831b136888323df2f2e94f28d776dff7d57b09c02449e33f9d8263ac