brainrot.dog
brainrot.dog
mainnet · chain 1
[ root@brainrot ~ ] cat README

mint $ROT
via claude

a memecoin you mint by talking to your assistant. one EIP-7702 signature delegates your EOA to FeedDelegate; thereafter Claude (over MCP) instructs a relayer to broadcast mint txs gated on your delegated bytecode. zero gas from you after the auth.

EIP 7702MCP httpslot 25,500 ROTpool 20,000public 510M (51%)LP 490M (49%)dev 0
// 01 why this exists

memecoin minting has too much friction.

problem

multi-step

connect wallet, fund gas, paste contract, click mint, sign, wait. cycle dies before liquidity does.

enabler

EIP-7702

one type-4 tx attaches contract code to an EOA. wallet pops once; afterwards your address executes FeedDelegate.

interface

MCP

Claude reads tools over /api/mcp. natural language → JSON tool call → relayer broadcasts a mint(addr).

// 02 architecture

three components, one signature.

step 01

delegate

sign EIP-7702 auth tying your EOA → FeedDelegate. broadcast self-call. EOA codehash now == EXPECTED_DELEGATION_HASH.

step 02

connect mcp

claude mcp add brainrot https://brainrot.dog/api/mcp. Claude discovers 4 tools: check_wallet, get_supply, mint, batch_mint.

step 03

mint

"mint $ROT to 0x…" → relayer signs & broadcasts → EVM dispatches to delegated EOA → BrainRotMeme.mint() credits msg.sender.

// 03 quick start with claude

two commands, then talk.

claude.ai web
1-click install — opens /settings/connectors with the modal pre-filled.
▸ install on claude.ai
~/brainrot — zsh
# 1. attach mcp server
$ claude mcp add brainrot \
    https://brainrot.dog/api/mcp

✓ added "brainrot" (4 tools)

# 2. start a session
$ claude

# 3. just ask
> mint $ROT to my wallet
→ tool: mint(address=0xabc…)
→ tx: 0x9f2…  block: 21492100
→ +25,500 $ROT credited
~/brainrot — sample prompts
// check status before mint
> am i delegated? how many slots left?

// batch mint up to 10 slots in one tx
> batch mint 5 slots of $ROT

// global supply check
> how much $ROT can still be minted?

// revoke delegation
> remove the delegation from my eoa

run claude from any project directory; the MCP server is namespaced as brainrot. revoke the registration any time with claude mcp remove brainrot.

// 04 live state

your status — connect, sign, mint.

wallet
not connected
delegated
sign once at /connect
your $ROT
0 / 10 slots used
eth balance
connect wallet
// 05 safety invariants

the contract enforces the trust model.

  • OK
    tx.origin == RELAYER — only the published relayer key can originate a mint tx.
  • OK
    msg.sender.codehash == EXPECTED_DELEGATION_HASH — only EOAs delegated to FeedDelegate can mint.
  • OK
    recipient is always msg.sender — relayer cannot redirect tokens to a third party.
  • OK
    FeedDelegate: zero storage, no fallback, no admin keys, no upgrade path.
  • OK
    revoke: re-sign 7702 auth pointing to 0x0. EOA reverts to a normal address; further mints fail at the codehash check.
  • OK
    caps: 25,500 / slot · 10 slots / wallet · pool 20,000 · public 510M (51%) · LP 490M (49%) · dev 0 · 0.001 ETH/mint → LP_RESERVE.