HashPort:上传与托管HashPort: upload and hosting
把网站文件写进链上的商业托管服务:确认两次签名即可上传,成本只有 gas,管理权归电路容器。a commercial hosting service that writes site files on-chain: two wallet signatures, gas-only cost, and control belongs to the circuit container.
HashPort(hashport.ai)是第一个基于 TapeOut 的商业化项目,做的是一件事:帮你把网站文件写进链上仓库。它是 TapeKit README 里列明的商业服务,与开源工具链分工明确——TapeKit 负责读,HashPort 负责写。
上传流程
- 1选择电路用一枚已开通容器的电路作为网站的身份与所有者。
- 2拖入网站文件夹提前把网站处理为纯静态文件,相对路径,文件名只用英文。
- 3确认第 1 次签名建立上传会话。
- 4等待上传其余几十笔写入交易由服务方使用临时钱包代签,不需要你逐笔确认。
- 5确认第 2 次签名完成收尾并绑定到你的容器。
成本
| 项目 | 金额 |
|---|---|
| 上传成本 | 只有链上 gas,约每 MB 0.01–0.03 BNB |
| 服务费 | 页面标注 0 BNB |
| 绑定自有域名 | 可选,页面标注免费 |
| 名字开通费 | 规范文档写 0.08 BNB / 30 天,链上 monthlyFee() 实测为 0 |
管理权
网站的归属不取决于托管方:管理权是那枚电路及其容器。容器控制权等于电路 NFT 的持有人,所以只要电路在你手上,网站就不属于任何第三方平台;转让电路,网站也随之转让。
边界
| 能做 | 不能做 |
|---|---|
| 上传纯静态网站到链上仓库 | 运行服务端代码、数据库或动态接口 |
| 代签批量写入交易 | 修改已写入的链上历史 |
| 绑定自有域名 | 保证站点在任何客户端都显示(规范客户端只显示已开通的名字) |
相关的社区工具
| 工具 | 用途 |
|---|---|
| 社区容器工厂 | 一键「选号 → 铸造 → 流片 → 开通容器」,用 1 个 NAND 流片,成本最低 |
| tapeout.space | 社区网关 + 一键上链工具,把所有链上网站画成一张图 |
| 容器上传器 | 社区做的轻量上传工具 |
第三方工具不代表官方背书,使用前请自行核对合约地址与授权范围。
Frontends get swapped out
In February 2025 Bybit lost about USD 1.5 billion. The contracts were fine; the signing page's JavaScript was injected — the signer saw one transaction and signed another.
Other entrances to the same class of attack: DNS, CDN and npm hijacks (right domain, right contract, wrong page) and approval-phishing pages (look-alike domains that trick you into approving). What they share: contract code can be audited, but the page in front of the user cannot be verified.
How it verifies once on chain
HashPort puts the frontend on chain too, turning "the page" into on-chain state you can check:
- Frontend goes on chain: drag the build output into the console; every file is written to BNB Chain with its SHA-256 registered on chain.
- The contract declares its frontend: the owner records in an ownerless public registry that "my official frontend is this container".
- Self-service audit by security firms: a firm can review an on-chain frontend version and register a signed hash of what it audited.
- Wallet checks byte by byte: the wallet hashes every file the page loaded, checks the chain and the declaration, and only then shows "On-chain frontend · verified".
One wrong byte turns it red. The standard itself has no token, no fee, no vendor lock-in: one file-store interface, one DNS record, one ownerless declaration registry, a few hundred lines to integrate.
Who runs the site
The site admin is not an account and a password but the HashPort circuit-container NFT built on TapeOut (ERC-6551). Whoever holds the NFT can change the site; hand over the NFT and the site and its domain payments go with it.
That makes one thing simple: a whole dApp (frontend plus domain payments) can be listed, sold and settled as a single NFT on the circuit market, entirely on chain. While listed, the site is frozen, so the buyer gets exactly the version they saw.
How to use it, and what it costs
- Connect a wallet: pick a circuit whose container is already opened; if you have none, open one on TapeOut first.
- Drag the folder: drop your build folder; the wallet confirms twice and dozens of upload transactions are signed by a temporary wallet.
- Open it on DeWEB: the site is live at its DeWEB address right away; binding your own domain is optional and free.
Service fee: 0 BNB. Uploads cost only chain gas, about 0.01–0.03 BNB per MB, one-off, and never pass through the platform. Max file size 8.4MB. Two on-chain contracts: SiteRegistry and DomainBinding.
The limits
It suits dApp / DeFi frontends, static sites, config and contract docs; it is not for images, video or other large files.
On positioning: the TapeKit README calls it a commercial service; founder @Blonskr calls it the first commercial project built on TapeOut and gave it technical guidance.