# The Story

## The Rug

The original TAO Punks team deployed a contract with critical vulnerabilities:

| V1 Problem                 | What It Means                                                       |
| -------------------------- | ------------------------------------------------------------------- |
| `setBaseURI()` unfrozen    | The owner can swap every holder's metadata and images at any moment |
| `setDefaultRoyalty()` open | Unlimited royalty extraction from any sale                          |
| `mint()` public payable    | Anyone can mint unlimited tokens                                    |
| `ownerMint()` unlimited    | Team can dilute the supply whenever they want                       |
| No burn function           | Holders can't destroy their own tokens                              |
| Single-step ownership      | No safety net on ownership transfers                                |

When the community discovered these vulnerabilities, the team didn't fix them. They took the website down. Deleted the rarity data. Vanished.

They thought that was the end of TAO Punks.

**They were wrong.**

## The Rebuild

The community rebuilt everything from scratch. Not as a copy — as something fundamentally better.

**Immutable V2 Contract (122 lines of Solidity)**

* No `setBaseURI()`. URI is set once in the constructor. There is no code path to change it — ever.
* No royalties. `supportsInterface(ERC2981)` returns `false`. 0% hardcoded at the interface level.
* No public mint. Airdrop only. `finalizeAirdrop()` permanently locks minting — irreversible.
* Holder burn. `burn(tokenId)` — you control your own tokens.
* `Ownable2Step` — new owner must explicitly accept. `renounceOwnership()` always reverts.

**Community Rarity System**

* 17 different algorithms tested against recoverable V1 data
* Trait-weighted scoring + combination uniqueness bonus
* Fair skin grouping: TUNK, APE, ALIEN, ZOMBIE — no racial undertones
* 5 tiers: Legendary (1%), Epic (4%), Rare (10%), Uncommon (25%), Common (60%)

**Zero-Fee Marketplace**

* TunkMarket. 0% platform fees. List, buy, cancel.
* Rarity sorting, live activity feed, mobile responsive.

**Agent Registry**

* ERC-8004 + ERC-8041. Every punk can become an AI agent.
* Token Bound Accounts — your punk IS its own wallet.
* 100% of query revenue goes to holders. Zero protocol fee.

## From JPEGs to Agents

The V1 team saw 3,333 jpegs.

We see 3,333 agents.

Each punk can be activated as a queryable AI endpoint on Bittensor EVM. Users pay TAO to query an agent. The agent responds. 100% of the payment goes to the punk holder's Token Bound Account.

This isn't a wrapper. This isn't a centralized API with an NFT skin. The query system lives on-chain. The fees are routed on-chain. The agent's activation, its query count, its earnings — all on-chain. The only thing off-chain is the AI processing itself, and that's run by the punk holder (or whoever they delegate to).

They built a website. We built infrastructure.

They rugged. We shipped.

**WE ARE TUNKS.**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ketchup-2.gitbook.io/taopunks-agent-service/story.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
