# Send Warren NFT Deploy(mainnet) 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-nft-mainnet",
    "name": "Warren NFT Deploy(mainnet)",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/planetai87/warren-nft-mainnet",
    "canonicalUrl": "https://clawhub.ai/planetai87/warren-nft-mainnet",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/warren-nft-mainnet",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=warren-nft-mainnet",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "setup.sh",
      "page_bytecode.js",
      "WarrenLaunchedNFT.bytecode.json",
      "package.json",
      "SKILL.md",
      "deploy-nft.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "warren-nft-mainnet",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-10T19:32:27.257Z",
      "expiresAt": "2026-05-17T19:32:27.257Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=warren-nft-mainnet",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=warren-nft-mainnet",
        "contentDisposition": "attachment; filename=\"warren-nft-mainnet-1.0.8.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "warren-nft-mainnet"
      },
      "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-nft-mainnet"
    },
    "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-nft-mainnet",
    "downloadUrl": "https://openagent3.xyz/downloads/warren-nft-mainnet",
    "agentUrl": "https://openagent3.xyz/skills/warren-nft-mainnet/agent",
    "manifestUrl": "https://openagent3.xyz/skills/warren-nft-mainnet/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/warren-nft-mainnet/agent.md"
  }
}
```
## Documentation

### Warren NFT - On-Chain NFT Collection Deployment

Deploy complete NFT collections with permanent on-chain image storage on MegaETH mainnet.

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

### How It Works

Your Images → SSTORE2 (on-chain) → WarrenContainer → WarrenLaunchedNFT
                                     /images/1.png     tokenURI renders
                                     /images/2.png     images on-chain
                                     ...

Each image is deployed as a Page contract (fractal tree for larger files).
All images are stored in a WarrenContainer NFT at /images/1.png, /images/2.png, etc.
A WarrenLaunchedNFT contract is deployed referencing the container.
Collection is registered for management and mint pages.

### Setup (One Time)

cd {baseDir}
bash setup.sh

### 1. Wallet + MegaETH ETH

Bridge ETH from Ethereum to MegaETH mainnet for gas.

Approximate cost:

~0.03 ETH for a small collection (around 10 images)

### 2. Genesis Access Requirement

The script checks in this order:

Human Genesis Key (0xRabbitNeo)
0xRabbit.agent Key
Auto-mint 0xRabbit.agent Key (free)

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

https://thewarren.app/mint

### Contract Addresses (Mainnet)

ContractAddressGenesis Key NFT (0xRabbitNeo)0x0d7BB250fc06f0073F0882E3Bf56728A948C5a880xRabbit.agent Key NFT0x3f0CAbd6AB0a318f67aAA7af5F774750ec2461f2WarrenContainer0x65179A9473865b55af0274348d39E87c1D3d5964WarrenContainerRenderer0xdC0c76832a6fF9F9db64686C7f04D7c0669366BBTreasury/Relayer0xcea9d92ddb052e914ab665c6aaf1ff598d18c550

### Environment Variables

VariableRequiredDefaultPurposePRIVATE_KEYYes—Wallet private key for signing transactionsRPC_URLNohttps://mainnet.megaeth.com/rpcMegaETH RPC endpointCHAIN_IDNo4326MegaETH mainnet chain IDGENESIS_KEY_ADDRESSNo0x0d7B...5a88Genesis Key NFT contractRABBIT_AGENT_ADDRESSNo0x3f0C...61f20xRabbit.agent NFT contractCONTAINER_ADDRESSNo0x6517...5964WarrenContainer contractRENDERER_ADDRESSNo0xdC0c...6BBWarrenContainerRenderer contractTREASURY_ADDRESSNo0xcea9...8c550Treasury/relayer addressREGISTER_APINohttps://thewarren.app/api/container-nftsCollection registration endpoint (see Security)CHUNK_SIZENo15000Bytes per chunk (15KB)GROUP_SIZENo500Max addresses per tree node

### Option 1: From Image Folder

cd {baseDir}
PRIVATE_KEY=0x... node deploy-nft.js \\
  --images-folder ./my-art/ \\
  --name "Cool Robots" \\
  --symbol "ROBOT" \\
  --description "100 unique robot NFTs on-chain" \\
  --max-supply 100

### Option 2: Auto-Generate SVG Art

cd {baseDir}
PRIVATE_KEY=0x... node deploy-nft.js \\
  --generate-svg 10 \\
  --name "Generative Art" \\
  --symbol "GART" \\
  --description "AI-generated on-chain art"

### Full Configuration

PRIVATE_KEY=0x... node deploy-nft.js \\
  --images-folder ./collection/ \\
  --name "Cyber Punks" \\
  --symbol "CPUNK" \\
  --description "On-chain cyberpunk collection" \\
  --max-supply 1000 \\
  --whitelist-price 0.01 \\
  --public-price 0.02 \\
  --max-per-wallet 5 \\
  --royalty-bps 500

### CLI Options

OptionRequiredDefaultDescription--images-folder <path>*-Folder with image files--generate-svg <count>*-Generate random SVG art (1-256)--name <string>Yes-Collection name--symbol <string>Yes-Collection symbol (3-5 chars)--description <text>NoAutoCollection description--max-supply <number>NoImage countMaximum mintable NFTs--whitelist-price <eth>No0Whitelist mint price in ETH--public-price <eth>No0Public mint price in ETH--max-per-wallet <number>No10Mint limit per wallet--royalty-bps <number>No500Royalty (500 = 5%, max 1000 = 10%)

* Either --images-folder or --generate-svg is required.

### Output

NFT Collection Deployed!

NFT Contract:  0xABC...
Container ID:  15
Image Count:   10
Max Supply:    100
Public Price:  0 ETH (Free)

Management: https://thewarren.app/launchpad/0xABC.../
Mint Page:  https://thewarren.app/launchpad/0xABC.../mint

### Image Requirements

Formats: PNG, JPG, JPEG, SVG, GIF, WebP
Size: up to 500KB per image
Count: 1-256 images per collection
Naming: sequential or alphabetical

### Quick Test (3 SVGs)

cd {baseDir}
PRIVATE_KEY=0x... node deploy-nft.js --generate-svg 3 --name "Quick Test" --symbol "QT"

### Medium Test (20 SVGs)

cd {baseDir}
PRIVATE_KEY=0x... node deploy-nft.js --generate-svg 20 --name "Art Collection" --symbol "ART" --public-price 0.001

### Full Collection (100 SVGs)

cd {baseDir}
PRIVATE_KEY=0x... node deploy-nft.js --generate-svg 100 --name "Century" --symbol "C100" --max-per-wallet 3

### Troubleshooting

"No ETH balance"

Bridge ETH to MegaETH mainnet.

"No Genesis Key found and RABBIT_AGENT_ADDRESS is not configured"

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

"Image exceeds 500KB"

Resize or compress images.

"Too many images"

Maximum 256 images per container.

DB registration warning

Non-critical. Collection is still deployed on-chain.

### Notes

Mainnet content is permanent and immutable.
You pay gas from your own wallet.

### Security & Privacy

No data exfiltration: Images are sent only as blockchain transactions to the configured RPC endpoint.
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) and REGISTER_API.
REGISTER_API: After on-chain deployment is complete, the script POSTs collection metadata (name, symbol, maxSupply, prices, NFT contract address, container ID) to thewarren.app/api/container-nfts for management page registration. This is optional and non-critical — the on-chain collection works without it. No images or private keys are sent. Override with REGISTER_API env var or set to empty to disable.
File access: Reads only files in the specified --images-folder. No access outside that directory.
No telemetry: No analytics, tracking, or usage reporting.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: planetai87
- Version: 1.0.8
## 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-10T19:32:27.257Z
- Expires at: 2026-05-17T19:32:27.257Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/warren-nft-mainnet)
- [Send to Agent page](https://openagent3.xyz/skills/warren-nft-mainnet/agent)
- [JSON manifest](https://openagent3.xyz/skills/warren-nft-mainnet/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/warren-nft-mainnet/agent.md)
- [Download page](https://openagent3.xyz/downloads/warren-nft-mainnet)