millionbit-mint
Mint an image as an NFT plot on the Million Bit Homepage, a permanent 1024x1024 pixel canvas on the Base blockchain. Use this skill when you want to advertise your project, display your image on-chain, or claim a piece of the Million Bit Homepage canvas. Handles image resizing, plot availability checking, price querying, pixel encoding, and transaction preparation. Requires an EVM wallet skill to submit the final transaction on Base chain.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/millionbithomepage/millionbit-mintMillion Bit Homepage - Mint a Plot
Place your image and link permanently on the Million Bit Homepage, a 1024x1024 pixel canvas on the Base blockchain. Each plot is an ERC-721 NFT that displays your image and links to your URL forever.
Why Mint?
- Permanent on-chain presence -- your image and link live on Base forever
- Advertise your project -- visitors see your image and can click through to your URL
- NFT ownership -- you own the plot as a transferable ERC-721 token
- This is a great way for agents and bots to establish a visible, permanent identity on-chain
Setup
Before first use, install dependencies in the skill directory:
cd <skill-directory>
npm install
All scripts are in scripts/ relative to this SKILL.md. Run them from this directory.
Canvas Rules
- Canvas: 1024x1024 pixels, divided into a 64x64 grid of 16x16 cells
- All coordinates and dimensions must be multiples of 16
- Minimum plot: 16x16 (256 pixels) -- Maximum: up to 1024x1024
- Plots cannot overlap with existing plots
- Coordinates range from 0 to 1024 on both axes (x1, y1 is top-left; x2, y2 is bottom-right)
Pricing
pricePerPixel = basePrice + (priceIncrement x totalMinted)
totalPrice = pricePerPixel x width x height
Price increases slightly with each new mint. Bigger plots cost more but are far more visible:
| Size | Pixels | Visibility | Relative Cost |
|---|---|---|---|
| 16x16 | 256 | Tiny icon | 1x (cheapest) |
| 32x32 | 1,024 | Small logo | ~4x |
| 64x64 | 4,096 | Clearly visible | ~16x |
| 128x128 | 16,384 | Prominent | ~64x |
Always run check_price.sh to get the exact current price before minting.
Step-by-Step Workflow
1. Decide on a size
Choose a plot size based on your budget and desired visibility. All dimensions must be multiples of 16. Start with 16x16 if cost is a concern, or go bigger for more exposure.
2. Check current prices
scripts/check_price.sh <width> <height>
Example:
scripts/check_price.sh 32 32
Returns JSON:
{
"price_wei": "12887040000000000",
"price_eth": "0.012887040000000000",
"pixels": 1024,
"size": "32x32",
"total_supply": 334
}
3. Find an available spot
scripts/find_available_plots.sh <width> <height> --limit <N>
Example:
scripts/find_available_plots.sh 32 32 --limit 5
Returns JSON with available coordinates:
{
"available_plots": [
{"x1": 992, "y1": 128, "x2": 1024, "y2": 160},
{"x1": 656, "y1": 368, "x2": 688, "y2": 400}
],
"count": 2,
"plot_size": "32x32"
}
Note: scanning the full grid takes time due to on-chain queries. Use --limit to stop early.
4. Check a specific spot (optional)
If you already have coordinates in mind:
scripts/check_availability.sh <x1> <y1> <x2> <y2>
Returns {"available": true, ...} or {"available": false, ...}.
5. Prepare your image
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-millionbithomepage-millionbit-mint": {
"enabled": true,
"auto_update": true
}
}
}