# Send Warren - On-Chain NFT 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-nft",
    "name": "Warren - On-Chain NFT Deploy",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/planetai87/warren-nft",
    "canonicalUrl": "https://clawhub.ai/planetai87/warren-nft",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/warren-nft",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=warren-nft",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "setup.sh",
      "SKILL.md",
      "deploy-nft.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "warren-nft",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T11:52:48.689Z",
      "expiresAt": "2026-05-11T11:52:48.689Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=warren-nft",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=warren-nft",
        "contentDisposition": "attachment; filename=\"warren-nft-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "warren-nft"
      },
      "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"
    },
    "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",
    "downloadUrl": "https://openagent3.xyz/downloads/warren-nft",
    "agentUrl": "https://openagent3.xyz/skills/warren-nft/agent",
    "manifestUrl": "https://openagent3.xyz/skills/warren-nft/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/warren-nft/agent.md"
  }
}
```
## Documentation

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

Deploy complete NFT collections with permanent on-chain image storage on MegaETH testnet.
All images are stored using SSTORE2 bytecode storage in a WarrenContainer, and each collection gets its own NFT contract with minting support.

Network: MegaETH Testnet (Chain ID: 6343)
RPC: https://carrot.megaeth.com/rpc
Explorer: https://megaeth-testnet-v2.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 >15KB images)
All images are stored in a WarrenContainer NFT at /images/1.png, /images/2.png, etc.
A WarrenLaunchedNFT contract is deployed referencing the container
Minting is enabled and the collection is registered on megawarren.xyz

### Setup (One Time)

cd {baseDir}
bash setup.sh

Get testnet ETH: https://docs.megaeth.com/faucet
Genesis Key NFT auto-mints during first deployment (free on testnet).

### Option 1: From Image Folder

Prepare a folder with numbered images:

my-art/
├── 1.png
├── 2.png
├── 3.png
└── ...

Deploy:

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

Generate unique SVG art programmatically:

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

After deployment, you'll receive:

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

📋 Management: https://megawarren.xyz/launchpad/0xABC.../
🎨 Mint Page:  https://megawarren.xyz/launchpad/0xABC.../mint
============================================================

Management Page: Change mint state, prices, airdrop, withdraw funds
Mint Page: Public-facing page for minting your NFTs

### Image Requirements

Formats: PNG, JPG, JPEG, SVG, GIF, WebP
Size: Up to 500KB per image
Count: 1-256 images per collection
Naming: Sequential (1.png, 2.png) or alphabetical (auto-numbered)
Images >15KB are automatically split using fractal tree architecture

### Gas Costs (Testnet)

ComponentEstimated CostPer image chunk (15KB)~0.002 ETHContainer minting~0.001 ETHNFT contract deployment~0.003 ETH10 images (small)~0.03 ETH50 images (medium)~0.12 ETH100 images~0.25 ETH

### 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 Test (100 SVGs)

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

### Contract Addresses (Testnet)

ContractAddressGenesis Key NFT0x954a7cd0e2f03041A6Abb203f4Cfd8E62D2aa692WarrenContainer0xabba293F4eC5811ed15549D11020Df79c7f1Fa0BContainerRenderer0x99D70834fdEB882297C97aD67b31B071f9c10E6D

### Troubleshooting

"No ETH" → Get testnet ETH from https://docs.megaeth.com/faucet

"GenesisKeyRequired" → Genesis Key auto-mints. If failing, check balance > 0.001 ETH

"Image exceeds 500KB" → Resize or compress images before deployment

"Too many images" → Maximum 256 images per container (TypeRegistry limit)

"TooManyFiles" → Same as above, reduce image count

DB registration warning → Non-critical. Collection still works on-chain. Management/mint pages will load from on-chain data.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: planetai87
- Version: 1.0.0
## 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:52:48.689Z
- Expires at: 2026-05-11T11:52:48.689Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/warren-nft)
- [Send to Agent page](https://openagent3.xyz/skills/warren-nft/agent)
- [JSON manifest](https://openagent3.xyz/skills/warren-nft/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/warren-nft/agent.md)
- [Download page](https://openagent3.xyz/downloads/warren-nft)