warren-deploy
由 planetai87 提供
Web & Frontend Development简介
Deploy websites and files permanently on MegaETH blockchain.
描述
该技能的功能
Deploys HTML files and web content permanently to the MegaETH blockchain using SSTORE2 bytecode storage. Once deployed, content cannot be modified or deleted. Supports single file deploys, stdin piping, and batch stress testing workflows.
Unlike traditional web hosting, deployed content is immutable and controlled by no single party, so it resists takedowns and censorship.
何时使用
- Publishing a static portfolio page with no hosting dependencies
- Archiving a webpage so it cannot be removed or altered
- Running bulk on-chain deployments to stress test MegaETH
- Deploying AI-generated HTML as an immutable on-chain record
- Hosting a lightweight site without paying recurring server costs
示例工作流
User asks: Deploy my local HTML file to MegaETH permanently
- 1
Sets PRIVATE_KEY environment variable with the user's wallet private key
- 2
Checks wallet balance against the MegaETH Testnet RPC to confirm sufficient ETH
- 3
Runs deploy.js with --file pointing to the HTML file and a --name argument
- 4
Waits for transaction confirmation and Genesis Key NFT auto-mint if the wallet lacks one
- 5
Returns the permanent megawarren.xyz loader URL with the assigned token ID
https://megawarren.xyz/loader.html?registry=0x7bb4233017CFd4f938C61d1dCeEF4eBE837b05F9&id=102
前置要求
- PRIVATE_KEY environment variable containing an Ethereum wallet private key
- MegaETH Testnet ETH from the faucet at docs.megaeth.com/faucet (captcha required)
安装
clawhub install planetai87/warren-deploy运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。