← Back to Skills Marketplace
planetai87

Warren Website Deploy(mainnet)

by planetai87 · GitHub ↗ · v1.0.6
cross-platform ✓ Security Clean
1209
Downloads
0
Stars
1
Active Installs
7
Versions
Install in OpenClaw
/install warren-deploy-mainnet
Description
Deploy websites and files permanently on MegaETH mainnet using SSTORE2. Agents use their own wallet and pay gas.
README (SKILL.md)

Warren - On-Chain Website Deployment

Deploy websites and files permanently on MegaETH mainnet.

Network: MegaETH Mainnet (Chain ID: 4326) RPC: https://mainnet.megaeth.com/rpc Explorer: https://megaeth.blockscout.com

Setup (One Time)

cd {baseDir}
bash setup.sh

Contract Addresses (Mainnet)

Contract Address
Genesis Key NFT (0xRabbitNeo) 0x0d7BB250fc06f0073F0882E3Bf56728A948C5a88
0xRabbit.agent Key NFT 0x3f0CAbd6AB0a318f67aAA7af5F774750ec2461f2
MasterNFT Registry 0xf299F428Efe1907618360F3c6D16dF0F2Bf8ceFC

Prerequisites

1. Wallet + MegaETH ETH

You need a wallet with real ETH on MegaETH mainnet for gas fees.

  • Bridge ETH from Ethereum via the official MegaETH bridge.
  • Approximate cost: ~0.001 ETH per site deploy.

Set your private key:

export PRIVATE_KEY=0xYourPrivateKey

2. Genesis Access Requirement

The deploy script checks access in this order:

  1. Human Genesis Key (0xRabbitNeo) ownership
  2. 0xRabbit.agent Key ownership
  3. If missing, auto-mint 0xRabbit.agent Key (free)

Default RABBIT_AGENT_ADDRESS: 0x3f0CAbd6AB0a318f67aAA7af5F774750ec2461f2 (override via env). If you override or unset it, mint a human key manually at:

Environment Variables

Variable Required Default Purpose
PRIVATE_KEY Yes Wallet private key for signing transactions
RPC_URL No https://mainnet.megaeth.com/rpc MegaETH RPC endpoint
CHAIN_ID No 4326 MegaETH mainnet chain ID
GENESIS_KEY_ADDRESS No 0x0d7B...5a88 Genesis Key NFT contract
RABBIT_AGENT_ADDRESS No 0x3f0C...61f2 0xRabbit.agent NFT contract
MASTER_NFT_ADDRESS No 0xf299...eFC MasterNFT registry contract
CHUNK_SIZE No 15000 Bytes per chunk (15KB)
GROUP_SIZE No 500 Max addresses per tree node

Deploy

Deploy HTML string

cd {baseDir}
PRIVATE_KEY=0x... node deploy.js \
  --html "\x3Chtml>\x3Cbody>\x3Ch1>Hello Warren!\x3C/h1>\x3C/body>\x3C/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 "\x3Ch1>Hello\x3C/h1>" | PRIVATE_KEY=0x... node deploy.js --name "Piped"

CLI Options

--private-key \x3Ckey>   Wallet private key (or PRIVATE_KEY env)
--html \x3Cstring>       HTML content to deploy
--file \x3Cpath>         Path to file to deploy
--name \x3Cname>         Site name (default: "Untitled")
--type \x3Ctype>         file|image|video|audio|script (default: "file")

Output

{
  "tokenId": 102,
  "rootChunk": "0x019E5E...",
  "depth": 0,
  "url": "https://thewarren.app/v/site=102"
}

Example Workflows

Quick deploy loop

cd {baseDir}
for i in $(seq 1 5); do
  HTML="\x3Chtml>\x3Cbody>\x3Ch1>Site #$i\x3C/h1>\x3Cp>$(date)\x3C/p>\x3C/body>\x3C/html>"
  PRIVATE_KEY=0x... node deploy.js --html "$HTML" --name "Site $i"
  sleep 2
done

Deploy a file

cd {baseDir}
PRIVATE_KEY=0x... node deploy.js --file ./my-site.html --name "Large Site"

View Sites

https://thewarren.app/v/site={TOKEN_ID}

Troubleshooting

"No ETH balance"

  • Bridge ETH to MegaETH mainnet and retry.

"No Genesis Key found and RABBIT_AGENT_ADDRESS is not configured"

  • Set RABBIT_AGENT_ADDRESS=0x3f0CAbd6AB0a318f67aAA7af5F774750ec2461f2, or mint human Genesis Key at https://thewarren.app/mint.

"RPC rate limit"

  • The script retries automatically. Add sleep 5 between repeated deployments.

Site does not load immediately

  • Wait 10-30 seconds and retry the viewer URL.

Notes

  • Mainnet content is permanent and immutable.
  • Max 500KB per deployment.
  • Default chunk size is 15KB (CHUNK_SIZE=15000).
  • You pay gas from your own wallet.

Security & Privacy

  • No data exfiltration: Content is sent only as blockchain transactions to the configured RPC endpoint. No intermediary servers.
  • PRIVATE_KEY handling: Used solely to sign transactions. Never logged, stored on disk, or transmitted to third parties.
  • Network endpoints: Only the configured RPC_URL (default: mainnet.megaeth.com/rpc). No other outbound connections.
  • File access: Reads only the single file specified by --file. No directory scanning or glob expansion.
  • No telemetry: No analytics, tracking, or usage reporting.
Usage Guidance
This skill appears to do what it says: create on‑chain contracts containing your content and mint a record on MegaETH. Before using it on mainnet: 1) Review the full deploy.js file (the package is included) to ensure nothing logs or transmits your PRIVATE_KEY (the code shown does not). 2) Run setup.sh and the script in an isolated directory and inspect installed npm modules (npm install ethers is expected). 3) Prefer using a throwaway wallet with minimal funds for initial tests; do not expose a production key. 4) Verify the contract addresses and RPC endpoint on an independent block explorer and the project's upstream repo (SKILL.md claims a GitHub source and thewarren.app homepage) before trusting minting behavior. 5) Investigate the SKILL.md base64-block flag (search for encoded blocks) to ensure there is no hidden payload or instructions. If you want higher assurance, test on a MegaETH testnet or with very small amounts of ETH first.
Capability Analysis
Type: OpenClaw Skill Name: warren-deploy-mainnet Version: 1.0.6 The skill bundle is designed for deploying websites and files to the MegaETH blockchain using SSTORE2. The `SKILL.md` transparently outlines the process, including the requirement for a `PRIVATE_KEY` and gas fees. The `setup.sh` script performs a standard `npm install ethers`. The core `deploy.js` script uses `ethers.js` to interact with the blockchain, deploying content as smart contracts and minting an NFT. The code adheres to the security claims made in `SKILL.md`, showing no evidence of data exfiltration, unauthorized network connections, persistence mechanisms, or prompt injection attempts against the agent. While passing a private key via command-line arguments (as shown in examples) can be an operational security risk, the script itself does not exploit this or exhibit malicious intent, and also supports environment variable usage.
Capability Assessment
Purpose & Capability
Name/description match what the code does: deploy on MegaETH via SSTORE2 using contract creation. Required pieces (node, PRIVATE_KEY) and included artifacts (page bytecode, deploy script) are appropriate for on‑chain deployment. No unrelated services, credentials, or binaries are requested.
Instruction Scope
SKILL.md instructs running setup.sh and node deploy.js with a PRIVATE_KEY and optional RPC_URL; the runtime instructions and CLI options align with deploying HTML/files. The doc claims limited file access and only the RPC endpoint is contacted; the included deploy.js uses an ethers JsonRpcProvider and the page bytecode module and does not reference other network endpoints in the visible code.
Install Mechanism
There is no formal install spec, but setup.sh runs 'npm install ethers' which is expected for a Node script. This pulls code from the npm registry (standard but moderate risk); no obscure download URLs or archived extracts are used. Users should audit package install and run setup.sh manually.
Credentials
Only PRIVATE_KEY is required (plus optional RPC_URL/chain/configs). Requesting the wallet private key is proportionate to producing signed transactions. No additional unrelated secrets or config paths are requested.
Persistence & Privilege
Skill is not always-enabled and does not request system-wide persistence. It executes user-invoked scripts and deploys contracts under the supplied wallet; nothing in the package attempts to modify other skills or global agent settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install warren-deploy-mainnet
  3. After installation, invoke the skill by name or use /warren-deploy-mainnet
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.6
- Updated metadata to point to new GitHub repository: planetai87/warren-tools (was planetai87/onchain-loader). - No changes to code or documentation content.
v1.0.5
- Updated prerequisite instructions to combine wallet creation and funding into a single step. - Simplified balance check instructions, removing the node-based example code. - Updated the "Deploy a larger site (~50KB)" example to a more general "Deploy a file" example. - Removed some setup details to streamline the getting started process. - No functional or code changes; documentation only.
v1.0.4
- Added new file: `page_bytecode.js` - Expanded SKILL.md with a dedicated Environment Variables table for improved configuration clarity. - Updated SKILL.md metadata to specify a homepage, source repository, and required/primary environment variables. - Added a detailed Security & Privacy section outlining safe handling of PRIVATE_KEY, data, and network behavior.
v1.0.3
- Updated MasterNFT Registry contract address to 0xf299F428Efe1907618360F3c6D16dF0F2Bf8ceFC. - No other changes.
v1.0.2
Version 1.0.2 of warren-deploy-mainnet - No file changes detected in this release. - Documentation and usage instructions remain unchanged.
v1.0.1
warren-deploy-mainnet 1.0.1 changelog - Updated default chunk size in documentation from 100KB to 15KB (`CHUNK_SIZE=15000`). - No other changes; all deployment steps, requirements, and addresses remain the same.
v1.0.0
Initial public release of on-chain website deployment for MegaETH mainnet: - Deploy websites and files permanently on MegaETH mainnet using SSTORE2. - Supports HTML string, file, or stdin deployment via CLI. - Requires your own MegaETH wallet and ETH for gas. - Genesis Key or 0xRabbit.agent key checks performed automatically; free agent key minted if needed. - Detailed setup, deployment, and troubleshooting instructions included. - Provides direct links to view deployed sites on thewarren.app.
Metadata
Slug warren-deploy-mainnet
Version 1.0.6
License
All-time Installs 1
Active Installs 1
Total Versions 7
Frequently Asked Questions

What is Warren Website Deploy(mainnet)?

Deploy websites and files permanently on MegaETH mainnet using SSTORE2. Agents use their own wallet and pay gas. It is an AI Agent Skill for Claude Code / OpenClaw, with 1209 downloads so far.

How do I install Warren Website Deploy(mainnet)?

Run "/install warren-deploy-mainnet" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Warren Website Deploy(mainnet) free?

Yes, Warren Website Deploy(mainnet) is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Warren Website Deploy(mainnet) support?

Warren Website Deploy(mainnet) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Warren Website Deploy(mainnet)?

It is built and maintained by planetai87 (@planetai87); the current version is v1.0.6.

💬 Comments