TapeOut · 21 NAND Driver

只用一种最简单的开关,搭出会开车、会聊天的程序Programs that drive and chat, built from one simple switch

NAND 门是计算机里最基础的开关,任何计算都能只用它拼出来。这里的每个演示都是用它搭成的电路:有一辆只靠 21 个门开的车,也有一个由几千亿个门组成、能和你聊天的 AI。其中一部分电路写进了区块链,任何人都能逐门核对它算得对不对。A NAND gate is the most basic switch in a computer, and any computation can be built from NAND gates alone. Every demo here is a circuit built that way, from a car driven by just 21 gates to a chat AI made of hundreds of billions of them. Some of these circuits are stored on a blockchain, where anyone can check every gate’s work.

看不懂的词?这里有解释New to these words? See the explanations

先看这两个Start with these two

一个打开就能看,一个值得等几分钟。One opens right away; the other is worth a few minutes of setup.

  • 一辆只靠 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 wallet

    打开Open:一辆只靠 21 个门开的车: A car driven by 21 gates

  • 门电路大脑:和一个由开关组成的 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 setup
    • 浏览器要占 6–8 GB 内存Uses 6–8 GB of memory

    打开Open:门电路大脑:和一个由开关组成的 AI 聊天: Gate brain: chat with an AI made of switches

更多演示More demos

都在浏览器里运行,不用钱包。All run in your browser; no wallet needed.

有自己的电路?Have your own circuit?

这几页会连接你的钱包;发币、领取的每一笔都由你自己在钱包里确认。These pages connect to your wallet; you confirm every launch or claim in the wallet yourself.

资料Reference

给想参加比赛或深入了解的人。For people entering the races or digging deeper.

这些网址有什么不同?What are these different addresses?

主站Main sitenand.aihashrate.stream
普通网站,所有页面都在这里,打开最快,平时用它就行。A regular website with every page. It opens fastest; use it by default.
BNB Chain 链上站BNB Chain on-chain site282.732.tape
文件写在 BNB Chain 区块链上,谁也改不了,每次打开时网关都会逐字节核对。放着本页和几页轻量内容:规则、Gas 账本、ncd2net、电路 283、TapeID 发币。Files written on the BNB Chain blockchain: nobody can alter them, and the gateway checks every byte on each load. It holds this page and a few light pages: the rules, the gas ledger, ncd2net, circuit 283 and TapeID.
X Layer 链上站X Layer on-chain site1.2.245.tape
文件写在 X Layer 链上:TapeID 的 X Layer 发币页和领取页。Files written on X Layer: TapeID’s X Layer launch and claim pages.

本页在主站和 282.732.tape 上是同一个文件;卡片上的「链上版」打开的就是写在链上的那一份。浏览器不能直接读区块链,所以链上站要通过“网关”网址打开:282-732.aihashrate.stream、1-2-245.aihashrate.stream;官方网关 282-732.tapekit.org、1-2-245.tapekit.org 也可以。This page is the same file on the main site and on 282.732.tape; a card’s “On-chain copy” link opens the copy stored on chain. Browsers cannot read a blockchain directly, so the on-chain sites open through gateway addresses: 282-732.aihashrate.stream, 1-2-245.aihashrate.stream; the official gateways 282-732.tapekit.org, 1-2-245.tapekit.org work too.

看不懂的词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(容器, 路径) 核对。Every file of an on-chain site is recorded in the TapeOut site registry (path, bytes, sha256 fingerprint) and gateways check each load against it; you can also call the registry’s fileInfo(container, path) yourself.

BNB Chain · 282.732.tape

电路容器Container
0x39d97ab281f04a5bc3aCc562f8DeA3f0b4266aA3
处理器 / 电路Processor / circuit
#732 / #282
站点合约Site registry
0xd006ffdd5ae313b17729621a00999cd3c71ce5e6
文件File字节Bytessha256 指纹sha256 fingerprint
index.html—本页;哈希见网关状态页 /.tape/statusthis page; see the gateway status page /.tape/status
RULES.md19,20157c7aa4f94aaab791ad858b913ee05bb949133f9861981003cded72f085cd1a9
agents-api/index.html64,227b9995f07b2a040773ccfc19c1dc080e81a58e0785405bbeed7929eff4ba2161e
data/chain.json23,592358b92bea9fc0afdd520127b1c8ccaf7ac6375006184262bc029ce0cf448b9f2
gas/gas_model.json32,6373752877aeef5656cade3eb18e2f6390c06e63a9e21c1574e392830198893014b
gas/index.html55,8684c6e120ed098d1b924dcec02ded0d0fb521ff299e54d4684ba20245dee5b5fc6
ncd2net/index.html208,21605372d9c7892bb21ee719d879e9d83ab5d4eabfa427fc6a50b368fcc63f4fdbc
tapeid/app.js.gz336,9880cc34be42a922a61b4cabf7b097676f33db43127f45fdbd689198d3514316579
tapeid/index.html12,82324a99958527c370d2285c8fdf94ffa6727f036c84e10983b7b2700e5a1349bd6
tapeid/tapeid-default.svg10,016abac0a29831b136888323df2f2e94f28d776dff7d57b09c02449e33f9d8263ac
tapeoutLLM/index.html950323b0f5cc752e9522c6688adab2fea41743a07d7c5012b7581c29ac12570c94b

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.html8,564dfac6108799e884d799fdf0da516a8af01f310aff667070532e35044a45c750a
claim.js.gz118,943cb25b709218428ec59b97f2bac637f7d09885933a6c12949382312efbddd75cf
index.html10,605681233d83d1e97b4a2248a9d902287a810fa96b59ebc6dddaa73b10100d1f221
tapeid-default.png49,882c878d825ef2896ada9a5860cd9df8b539035234ae51a6a585af40f7ce73b3bac
tapeid-default.svg10,016abac0a29831b136888323df2f2e94f28d776dff7d57b09c02449e33f9d8263ac