Claude responded: The $FATCAT site is one index.html that opens locally.
Created a file, shared files
Created a file, shared filesThe $FATCAT site is one index.html that opens locally. I haven't run it in a browser, so none of the buttons, the cat states or the mobile layout have been tested.
What's in it
- Cat: an SVG orange cat that gets fatter smoothly as the weight rises. It has five states and blinks, breathes and swishes its tail.
- Weight and progress: the weight display and the "next milestone" bar update from the weight. It starts at 42.7 KG.
- Milestones: 25, 50, 75 and 100 KG show as reached, next or locked. Clicking one previews the cat at that weight, and clicking again returns it to the current weight.
- Buttons: Buy, X, Telegram and Copy CA each stay disabled and say "NOT CONFIGURED" until you set their values. Copy CA shows "CA COPIED ✓".
- Live feed: with no contract address set, it shows "WAITING FOR LIVE DATA" and "LIVE DATA UNAVAILABLE", and nothing is simulated. Once you set a contract address, it polls a Solana RPC for recent transactions of that token. It shows wallet, amount and time, and the green "LIVE DATA" status appears only after a successful response. If the RPC fails, it shows "LIVE DATA TEMPORARILY UNAVAILABLE" and retries.
To set up: edit the CONFIG block at the top of the script with your token address, buy URL, X URL and Telegram URL.
Limits you should know about
- The feed labels items "received" or "sent" from token balance changes, not "bought". Telling a buy from a sell would need a DEX-specific data source.
- The weight only counts the last 8 transactions it fetched, and each refresh recalculates it from those. It is not a running total of all volume. With
weightPerVolumeat 0.01, a few large transfers could max the cat out quickly, so tune that number. - The public Solana RPC is rate-limited and may block browser requests. Use your own endpoint (Helius, QuickNode) in
CONFIG.data.rpcUrl. - The nav is a simple row of anchor links rather than a hamburger menu, so there is no mobile menu to open or close.
Index
Code·HTML