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.
设计Design
把神经网络和逻辑压成 NAND 门,在你的浏览器里逐门运行、核对。Compress neural networks and logic into NAND gates, then run and check them gate by gate in your browser.
制造Make
把电路流片上链、发成代币、把网站存进电路,以及在链上运行要花多少钱。Tape circuits out on chain, launch them as tokens, store websites in circuits, and what running on chain costs.
链上站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 | 字节Bytes | sha256 指纹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.md | 19,201 | 57c7aa4f94aaab791ad858b913ee05bb949133f9861981003cded72f085cd1a9 |
| agents-api/index.html | 65,372 | 38ea7dc2602e3d913de38c8d95224256e6dca7ad6c5abf6b8ef0d333ab5324cc |
| bard.webp | 142,952 | f997c98581f1a80ab524faddbf4b3fef4a27b2f774c86152025ef0a01b3cdd2d |
| build/index.html | 5,356 | 38da1f0425878c37e540679c6ce54c1d16feaa97a9e500950be3aec97caef38a |
| data/chain.json | 23,592 | 358b92bea9fc0afdd520127b1c8ccaf7ac6375006184262bc029ce0cf448b9f2 |
| en/build/index.html | 5,429 | e54e031d701ae6f76ccd228c07b40d004f3d298e683af3d0faf2d96d5ef53280 |
| en/faq/index.html | 8,175 | 0edcd236250ad7ccdbdcb0cba02a098c47691989dc864f1faf6c8f57a3895570 |
| en/index.html | 7,294 | 45d7bfd3b1d57c15c546c116ea276bd8cbb375e2bf574cb544e4fff310b28883 |
| en/progress/index.html | 6,472 | 6b0e844551155d1b953c24f169849c1cb71fd1aef5533ab7b6c38dc59fee94a4 |
| en/verify/index.html | 6,221 | 7843ef5f786e15207d9975ac034e5e5ae35a5789ee3cd41348c014e7ce914f40 |
| faq/index.html | 8,128 | 3ba880da94e48f77d09cd16d9767066fced948c2ba3ed08c60b089c9dee5b7f8 |
| gas/gas_model.json | 32,637 | 3752877aeef5656cade3eb18e2f6390c06e63a9e21c1574e392830198893014b |
| gas/index.html | 79,005 | e2c66565df0911ac9be80b02b220c6bcc647471c0d113520cf6b382aab721862 |
| home.css | 10,958 | bd39b1d07903e4b607dd1fae25ab46d22c6038fe10100ce4ff966df694cd9873 |
| index.html | 7,073 | e72f4c1011f70cd30b09c8bdb978d9b4228e672a0e59e5cde98266a8e680ce59 |
| ncd2net/index.html | 209,450 | 527358466aba147f8960a5846d6ddcffa50b9fcf59692f3cca67c665d9972b35 |
| progress/index.html | 6,301 | 9b293c7caccc42d341c9927fc20d53523bd9d8074755b67d79cc666fb083c848 |
| tapeid/app.js.gz | 336,988 | 0cc34be42a922a61b4cabf7b097676f33db43127f45fdbd689198d3514316579 |
| tapeid/index.html | 14,920 | 59eae31f458f5585ba6f952908f583e1d1b0e5a6e3c33b2add8d6e2a6567d963 |
| tapeid/tapeid-default.svg | 10,016 | abac0a29831b136888323df2f2e94f28d776dff7d57b09c02449e33f9d8263ac |
| tapeoutLLM/index.html | 1,452 | 565ffbfabbe942048e8913eb94e865b020da26099a0d06ae2e95294c36b158c6 |
| verify/index.html | 6,193 | 9690381f523a96218595f2150c74d7ddb020061715773a01740f93507a3ffaf5 |
X Layer · 1.2.245.tape
- 电路容器Container
- 0x75c6E2D063963561c08c838476111adda7a1a6CD
- 处理器 / 电路Processor / circuit
- #245 / #1
- 站点合约Site registry
- 0xd6efb7adcc9c83dc4924ad56f6a8e4e969b9adb6
| 文件File | 字节Bytes | sha256 指纹sha256 fingerprint |
|---|---|---|
| 21-nand-driver.png | 50,451 | e9886f65d5486a1b33125bd0539cea81125fba52735d0a2da278c405be6c182b |
| app.js.gz | 231,186 | bae6b357f8b9b83c6998b985c327a2506f3b831bc79942ad1114ea7072b3543d |
| claim.html | 10,677 | 160e27dd821f036d9c46d92b07100b9e846ad031935bc420ab552350fbf77728 |
| claim.js.gz | 118,943 | cb25b709218428ec59b97f2bac637f7d09885933a6c12949382312efbddd75cf |
| index.html | 12,702 | 41c00f6f3477a839d3820b5aefef688afdfe3f3925051cd399b5c53596eca4d6 |
| tapeid-default.png | 49,882 | c878d825ef2896ada9a5860cd9df8b539035234ae51a6a585af40f7ce73b3bac |
| tapeid-default.svg | 10,016 | abac0a29831b136888323df2f2e94f28d776dff7d57b09c02449e33f9d8263ac |