# Send Warren - On-Chain Website Deploy to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "warren-deploy",
    "name": "Warren - On-Chain Website Deploy",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/planetai87/warren-deploy",
    "canonicalUrl": "https://clawhub.ai/planetai87/warren-deploy",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/warren-deploy",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=warren-deploy",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "setup.sh",
      "deploy.js",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "warren-deploy",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T11:40:28.657Z",
      "expiresAt": "2026-05-11T11:40:28.657Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=warren-deploy",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=warren-deploy",
        "contentDisposition": "attachment; filename=\"warren-deploy-1.0.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "warren-deploy"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/warren-deploy"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/warren-deploy",
    "downloadUrl": "https://openagent3.xyz/downloads/warren-deploy",
    "agentUrl": "https://openagent3.xyz/skills/warren-deploy/agent",
    "manifestUrl": "https://openagent3.xyz/skills/warren-deploy/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/warren-deploy/agent.md"
  }
}
```
## Documentation

### Warren - On-Chain Website Deployment

Deploy websites permanently on MegaETH blockchain. Content is stored on-chain using SSTORE2 and cannot be deleted.

Network: MegaETH Testnet (Chain ID: 6343)
RPC: https://carrot.megaeth.com/rpc
Explorer: https://megaeth-testnet-v2.blockscout.com

### Setup (One Time)

cd {baseDir}
bash setup.sh

This installs ethers.js, the only dependency.

### 1. Create a Wallet

node -e "const w = require('ethers').Wallet.createRandom(); console.log('Address:', w.address); console.log('Private Key:', w.privateKey)"

Set the private key:

export PRIVATE_KEY=0xYourPrivateKey

### 2. Get Testnet ETH

Visit https://docs.megaeth.com/faucet and enter your wallet address. This requires a captcha. You need ~0.1 ETH for multiple deployments.

Check balance:

node -e "const{ethers}=require('ethers');new ethers.JsonRpcProvider('https://carrot.megaeth.com/rpc',6343).getBalance('$YOUR_ADDRESS').then(b=>console.log(ethers.formatEther(b),'ETH'))"

### 3. Genesis Key NFT

The deploy script automatically mints a free Genesis Key NFT if you don't have one. No manual action needed.

### Deploy HTML string

cd {baseDir}
PRIVATE_KEY=0x... node deploy.js \\
  --html "<html><body><h1>Hello Warren!</h1></body></html>" \\
  --name "My First Site"

### Deploy HTML file

PRIVATE_KEY=0x... node deploy.js \\
  --file ./my-site.html \\
  --name "My Website"

### Deploy via stdin

echo "<h1>Hello</h1>" | PRIVATE_KEY=0x... node deploy.js --name "Piped"

### CLI Options

--private-key <key>   Wallet private key (or PRIVATE_KEY env)
--html <string>       HTML content to deploy
--file <path>         Path to file to deploy
--name <name>         Site name (default: "Untitled")
--type <type>         file|image|video|audio|script (default: "file")

### Output

{
  "tokenId": 102,
  "rootChunk": "0x019E5E...",
  "depth": 0,
  "url": "https://megawarren.xyz/loader.html?registry=0x7bb4233017CFd4f938C61d1dCeEF4eBE837b05F9&id=102"
}

### Deploy multiple random sites

cd {baseDir}
for i in $(seq 1 10); do
  HTML="<html><body><h1>Stress Test #$i</h1><p>$(date)</p></body></html>"
  PRIVATE_KEY=0x... node deploy.js --html "$HTML" --name "Stress Test $i"
  sleep 2
done

### Deploy a larger site (~50KB)

python3 -c "
html = '<html><body>'
for i in range(1000):
    html += f'<p>Paragraph {i}: Lorem ipsum dolor sit amet</p>'
html += '</body></html>'
print(html)
" > large-site.html

PRIVATE_KEY=0x... node deploy.js --file large-site.html --name "Large Test"

### Check leaderboard

curl -s https://megawarren.xyz/api/stress-test/leaderboard | node -e "process.stdin.on('data',d=>console.log(JSON.parse(d)))"

### Gas Costs

SizeChunksCost< 10KB1~0.0005 ETH50KB1~0.002 ETH100KB1~0.004 ETH200KB2~0.008 ETH500KB5~0.02 ETH

Plus ~0.0001 ETH for MasterNFT minting per site.

### Contract Addresses

ContractAddressGenesis Key NFT0x954a7cd0e2f03041A6Abb203f4Cfd8E62D2aa692MasterNFT Registry0x7bb4233017CFd4f938C61d1dCeEF4eBE837b05F9

### View Sites

https://megawarren.xyz/loader.html?registry=0x7bb4233017CFd4f938C61d1dCeEF4eBE837b05F9&id={TOKEN_ID}

### Troubleshooting

"No ETH" → Get from https://docs.megaeth.com/faucet (captcha required)

"RPC rate limit" → Built-in retry. Add sleep 5 between batch deploys.

"Insufficient funds" → ~0.001-0.02 ETH per deploy. Get more from faucet.

Site doesn't load → Wait 10-30s. Check URL has correct registry and token ID.

### Notes

Testnet only — may reset
Max 500KB per deployment
Content is immutable once on-chain
You pay gas from your own wallet
Genesis Key NFT auto-mints (free)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: planetai87
- Version: 1.0.2
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-04T11:40:28.657Z
- Expires at: 2026-05-11T11:40:28.657Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/warren-deploy)
- [Send to Agent page](https://openagent3.xyz/skills/warren-deploy/agent)
- [JSON manifest](https://openagent3.xyz/skills/warren-deploy/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/warren-deploy/agent.md)
- [Download page](https://openagent3.xyz/downloads/warren-deploy)