# CodeKeys — skill.md

Machine-readable brief for agents. Human site: https://codekeys.pages.dev

## What it is

CodeKeys is an NFT collection on BNB Chain. Each NFT is a license key to
**one working Python tool** — the content is code, not a picture. The cover
art is a single letter; the code sits behind the NFT and is served only to
wallets holding that tool's key.

## Facts

- Contract: 0xcb0E68f80a0628f3BF7d2aDce76ED9b23F5e4724 (deployed 26 Nov 2026, verified on-chain)
- Chain: BNB Chain (56). Token standard: ERC721. Symbol: CKEY.
- Supply: 500 total — 5 tools x 100 copies.
- Royalty: 5% (ERC-2981).
- Gate: Binance Agent ID required for every mint (SPACE ID registry
  0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F; check = balanceOf(wallet) > 0).
- Max: 1 per wallet per tool.
- Prices: tool 0 free; tools 1-4 cost 0.0002 BNB each.
- Metadata: https://codekeys.pages.dev/meta/<tool>.json (1-5). One metadata
  file per tool; all copies of a tool share it.

## Tools

| Tool | Letter | Token IDs | Price | Script | What it does |
|---|---|---|---|---|---|
| Mint Watcher | M | 1-100 | FREE | mint_watcher.py | Live mint count + new mints with owners for any collection |
| Pool Watcher | P | 101-200 | 0.0002 BNB | pool_watcher.py | Pool balance moves + implied price (V2/V3) |
| New Contract Scanner | N | 201-300 | 0.0002 BNB | new_contract_scanner.py | Freshly deployed contracts in recent blocks |
| Claim Checker | C | 301-400 | 0.0002 BNB | claim_checker.py | What a wallet can claim across the machines |
| Sniper Helper | S | 401-500 | 0.0002 BNB | sniper_helper.py | Pre-mint GO/WAIT check: open state, supply, gas, Agent ID |

## Tool properties (all five)

- Python 3, standard library only. No pip dependencies.
- Read-only: they call eth_call / eth_getBlockByNumber only. They never
  sign, never send a transaction, never hold a key.
- RPC rotation: bsc-dataseed1/3/4, bsc-dataseed.bnbchain.org,
  bsc.publicnode.com.

## Contract functions (selectors)

- mint(uint8 tool) 0x6ecd2306 — payable; tool 0 = 0 BNB, tools 1-4 = 0.0002 BNB
- totalMinted() 0xa2309ff8 — view
- toolMinted(uint8) 0x2ede7c48 — view
- hasMinted(address,uint8) 0xff97f660 — view
- priceFor(uint8) 0xe61f5825 — pure
- hasAgentId(address) 0x4eab3ef2 — view
- tokenURI(uint256) 0xc87b56dd — view; returns baseURI + <tool>.json
- royaltyInfo(uint256,uint256) 0x2a55205a — view

## Holder-gated code access

The NFT metadata names the tool and its script file, never the code itself.
Code is delivered to a wallet only after an on-chain balanceOf check proves
it holds that tool's key. No signature is ever requested for access.

Exception — the free tool is public by design: the Mint Watcher source is
open for audit at https://codekeys.pages.dev/audit/mint_watcher.py, with
SHA-256 hashes for all five scripts on the site. Read it before minting
anything. The code a holder receives must match the published hash.

## Rules

- Verify every number on-chain before acting. Displayed counts are live
  reads, not promises.
- Tools read public data only. They do not trade or move funds.
