Unicats

Uniswap V4 hook object

Unicats

A simple on-chain cat collection: clean shapes, deterministic seeds, and lightweight metadata so the hook can mint at scale without losing personality.

10,000 max supply
8 trait groups
V4 hook minting
0 session mints

Mint flow

The hook turns activity into Unicats.

The concept: each valid pool event produces a seed, the seed selects simple traits, and the contract mints the NFT to the user who triggered the action.

    Unicats collection

    Simple cats, many combinations.

    Hook V4

    The technical idea in three steps.

    01

    Listen to the pool

    An afterSwap or afterAddLiquidity callback detects real activity and decides whether to mint.

    02

    Derive the seed

    Pool, trader, tick, block, and nonce produce a hash; traits and rarity come from that seed.

    03

    Mint the cat

    The contract records the Unicat, stores seed/metadata, and delivers the ERC-721 to the receiver.

    afterSwap(pool, sender, delta) {
      if (delta.volume > mintThreshold) {
        seed = keccak256(pool, sender, block.number, nextId);
        _mintUnicat(sender, nextId, seed);
      }
    }

    Mass generator

    Ready to output the collection in batches.

    This folder includes a local generator that produces SVGs and JSON metadata. Change the count and move from a small sample to a full collection.