Executive Summary
Feline Dynasty is an idle breeding Play-to-Earn (P2E) game operating as a Telegram Mini App on the TON Blockchain. Players collect, breed, and evolve unique cat NFTs, each producing in-game currency passively. The game features a triple-token economy designed for long-term sustainability, a comprehensive DeFi center, guild-based territory wars, and PvP arena battles.
Architecture Overview
Technical Stack
| Layer | Technology |
|---|---|
| Frontend | React + TypeScript, Tailwind CSS, Shadcn UI |
| Backend | Express.js + TypeScript (Cloudflare Functions) |
| Database | PostgreSQL (Neon) with Drizzle ORM |
| Blockchain | TON (The Open Network) |
| Hosting | Cloudflare Pages + Functions + KV |
| Connection Pooling | Cloudflare Hyperdrive |
| Wallet Integration | TON Connect with cryptographic proof verification |
| Real-time | WebSocket with polling fallback |
Infrastructure
The system is deployed on Cloudflare's global edge network, ensuring low latency worldwide. The database uses Neon's serverless PostgreSQL with connection pooling through Cloudflare Hyperdrive for optimal performance under load. Smart contracts are deployed on the TON blockchain using FunC, handling deposit/withdrawal operations with multi-signature security.
Triple-Token Economy
The Feline Dynasty ecosystem utilizes a sophisticated three-token architecture designed to maintain equilibrium between inflationary utility and deflationary governance.
EF
Essenza Felina: Passive cat production, upgrades, in-game purchases.
Utility TokenFTON
Feline Token: Cat purchases, marketplace, premium features.
Premium TokenFGOLD
Feline Gold: Staking, withdrawal to TON, premium operations.
WithdrawableTreasury-Responsive FGOLD Rate
The EF→FGOLD conversion rate is treasury-responsive: it grows as the global treasury grows, rewarding players proportionally as the protocol becomes more sustainable. Seven public tiers (T0 to T6) govern the conversion ratio. The active tier is recalculated on a fixed cadence and announced in-game.
| Tier | Treasury Range (USD) | FGOLD per 100 EF |
|---|---|---|
| T0 | < $5,000 | 0.08 |
| T1 | $5,000 – $25,000 | 0.10 |
| T2 | $25,000 – $75,000 | 0.11 |
| T3 | $75,000 – $200,000 | 0.13 |
| T4 | $200,000 – $500,000 | 0.15 |
| T5 | $500,000 – $1,500,000 | 0.17 |
| T6 | > $1,500,000 | 0.18 |
Why tiered? A static rate would either drain a young treasury or under-reward a mature one. Tiered rates align player earnings with protocol health: as the community grows, payouts grow with it. The current active tier is always visible inside the game.
Fee Structure
Active Fee Rates
| Operation | Rate | Notes |
|---|---|---|
| TON Deposit | 5% | 4% founder batch + 1% relayer (on-chain) |
| USDT Deposit | 4% | Via STON.fi swap USDT → TON (founder only) |
| Withdrawal FGOLD | 3% | $0.10 USD per FGOLD, dynamic cap 200–400% |
| Marketplace Sale | 5% | Taken from seller on successful trade |
| Marketplace Listing | 2% | FTON burned at listing creation |
| Auction | 7.5% | On settlement of winning bid |
USDT Deposit via STON.fi (v2.15.0)
A two-popup in-wallet flow: the user's USDT Jetton is swapped on STON.fi to native TON, which is then forwarded to Treasury V4.4. Treasury V4.4 does not accept Jetton transfer_notification directly (exit 105 would lock funds). Slippage tolerance is ±3%.
NFT Cat System
Rarity Tiers & Per-User Caps
| Rarity | Cat Type | Max / User | Description |
|---|---|---|---|
| Common | Kitten | 40 | Entry-level, accessible to all players |
| Uncommon | Hunter | 25 | Enhanced production, breeding potential |
| Rare | Guardian | 15 | Significant output, genetic diversity |
| Epic | Emperor | 10 | High-value producer, rare genetics |
| Legendary | Divine | 7 | Maximum production, premium genetics (225 EF/hr, $500 TON-only) |
| Mythic | Mythic | 3 | Apex tier — 680 EF/hr, $1,600 TON-only, hard cap 3 per user |
CAT_RARITY_CAP enforcement (v2.15.2): all 13 acquisition paths (shop, breeding, fusion, roulette, mystery boxes, marketplace, auctions, compensations, etc.) re-check the per-user cap through a centralized checkCatRarityCap() helper with ?? 0 fail-closed on unknown rarities.
Promotional Bundles
Two permanent bundles in the Mystery Box tab give new and experienced players a head-start. Both accept TON and USDT.
Starter Bundle
$1871 Uncommon (Hunter) + 1 Rare (Guardian) + 1 Epic (Emperor). Each rarity is checked against the per-user cap before delivery.
Double Legendary
$9002 Legendary cats in one purchase. Requires two free Legendary slots under the cap of 7 per user. Saves vs single-purchase price ($1,000).
Production Formula
Accumulation System
Habitat Evolution
The habitat is a 20-level progression system that directly impacts EF production and accumulation capacity. Levels span from "Basic Shelter" (L1, 600 EF cap) to "Genesis" (L20, 32,000 EF cap), with L10 at +215% production bonus and L20 at +335%. Fatigue: max 5 claim cycles per day per cat.
Habitat Multiplier Growth
Endgame Cosmetic Rewards (Levels 11-20)
Breeding & Genetics
Offspring Rarity Determination
Allele Inheritance Model
The game implements a Mendelian inheritance model with 7 trait categories: Eye Color, Fur Pattern, Fur Color, Body Shape, Ear Type, Tail Type, and Special Ability.
Genetic Production Bonuses
Fusion Lab
The Fusion Lab allows players to combine multiple cats of identical type and rarity to create a higher-rarity cat.
Rarity Progression
Cat Synth Lab
The Synth Lab is a guild-collaborative crafting system for advanced cat modifications.
Production Enhancement
Boost cat output
Rarity Enhancement
Chance to upgrade rarity
Trait Fusion
Combine best genetic traits
DeFi Center
Dynamic APY Staking
Staking APY range: 5–18% depending on tier and lock duration. Longer commitments and rarer collateral classes earn higher base APY, scaled in real-time by the treasury-health multiplier H(t).
Early exit penalty (v2.15.1): a flat 10% penalty applies to every staking tier on early withdrawal — replacing the prior 50% misconfiguration. Atomic double-fence pattern: FOR UPDATE NOWAIT + UPDATE ... WHERE balance ≥ amount RETURNING id.
Mining (Emission Control)
NFT Lending
| Collateral Rarity | Loan (FTON) | Interest | Term |
|---|---|---|---|
| Common | 20 | 10% flat | 15 days |
| Uncommon | 40 | 10% flat | 15 days |
| Rare | 120 | 10% flat | 15 days |
| Epic | 300 | 10% flat | 15 days |
| Legendary | 1,000 | 10% flat | 15 days |
Arena PvP System
ELO Rating System
Battle Rewards & Equipment
Guild System & Wars
Territory Conquest
Dual Treasury Architecture
| Treasury | Purpose |
|---|---|
| Game Treasury | Player deposits/withdrawals |
| Guild Treasury | Guild operations, war funding |
Engagement Systems
Daily Roulette
Weighted prize wheel with tokens and rare cats
Daily Streak
Consecutive login rewards with escalating bonuses
Treasure Hunt
30-day progressive reward cycle
Mission System
Social and partner missions for community engagement
Achievements
Milestone-based permanent EF production boosts
Competitions
Periodic leaderboard events with FGOLD prize pools
Arcade Felino (BETA)
Three mini-games — Feline Wheel, Cat vs Mouse, Prize Piggy Bank — powered by Paw Tokens as the in-arcade currency. The Piggy Bank unlocks permanent account bonuses (extra accumulation capacity, breeding/fusion discounts, fatigue bonus claims, streak shields). Server-side RNG with full audit trail (arcade_plays with UNIQUE idempotency keys).
Cemetery & Resurrection
Cats have a lifespan (common–mythic 12 months, celestiale 15). At end of life they enter the dynasty Cemetery instead of vanishing: sacrifice the fallen to resurrect a higher-rarity cat that inherits the lineage. Includes Zombie mode and a Hall of Fame — the dynasty never truly dies.
Weekly Jackpot
On-chain weekly draw every Sunday at 20:00 UTC. Entry: 1 DYNA per ticket (max 5). 1st prize: 1% of the accumulated EF pool; 2nd prize: 10% of the DYNA pool. Weighted transparent RNG, rollover below 10 participants.
Felix AI Support
In-app support engine: hybrid RAG (BM25 + pgvector) × quality_score + gpt-4o-mini, 450+ KB entries, cross-session memory 72h, dynamic few-shot prompting, integrated compensation claim flow in 14 languages. Current quality score 10/10.
Marketplace & Auctions
P2P Marketplace
Direct cat trading between players with platform fees on sales. Prices set by sellers in FTON.
Auction System
Time-limited bidding with minimum bid increments. Anti-wash-trading detection prevents market manipulation through behavioral analysis.
Referral Program
Four-Tier Customer Chain (v2.14.14)
Referral rewards cascade through four levels of the dynasty tree. As of v2.14.14 the structure was simplified from 5 tiers / 15% to 4 tiers / 12% total to preserve long-term treasury health while keeping strong first-line incentives.
| Level | Commission |
|---|---|
| L1 (direct) | 7% |
| L2 | 3% |
| L3 | 1% |
| L4 | 1% |
| Total | 12% |
Anti-abuse protections include:
- shieldCircular referral loop detection
- shieldSelf-farming prevention via device analysis
- shieldMinimum distribution thresholds
- shieldDynamic withdrawal cap 200–400% scaled by active L1 referrals
Treasury & Blockchain
Smart Contracts
FunC on TON mainnet with multi-signature security
Multi-Oracle Pricing
5-oracle cascade for reliable TON/USD pricing
USDT Deposits
Native TON + USDT Jetton transfers supported
Withdrawal System
Automated below threshold, manual approval for larger amounts. Lifetime cap relative to deposits.
Treasury Protection
Absolute floor mechanism blocks all withdrawals below critical reserve threshold.
Security Architecture
Authentication Layers
Cryptographic verification with expiry protection
Signed tokens with timing-safe comparison
Cryptographic signature validation of wallet ownership
Anti-Abuse System
| Detection | Method |
|---|---|
| Multi-Account | Device fingerprinting + behavioral analysis |
| Bot Detection | Timing pattern analysis, speed anomaly |
| Wash Trading | Buyer/seller correlation analysis |
| Referral Abuse | Loop detection, self-farming prevention |
| Exploit Detection | Rate anomaly detection on economic ops |
Financial Safety Patterns
Economic Sustainability
Inflation Control
Growth Zone
Supply emission exceeds burn. Permitted during early phases to establish player base.
Imperial Zone
Perfect equilibrium (1:1 burn-to-mint ratio). Our primary long-term target.
Scarcity Zone
Hyper-deflationary pressure. Triggered when circulating supply exceeds protocol caps.
Treasury Health System
Roadmap
Recent Changelog
| Version | Highlights |
|---|---|
| v2.17.x | Treasury-responsive FGOLD rate (7 tiers T0–T6), Starter Bundle ($187) + Double Legendary ($900) permanent bundles, EF burn fallback for ad failures, admin web dashboard |
| v2.15.2 | CAT_RARITY_CAP (40/25/15/10/7/3), achievements overhaul (mythic_monster, legendary_monster removed), staking penalty fix, IDOR/TOCTOU hardening |
| v2.15.0 | USDT deposit via STON.fi swap (2-popup flow), ±3% slippage, jetton-safe Treasury path |
| v2.14.14 | Referral system restructured: 5 levels / 15% → 4 levels / 12% |
| v2.14.x | Felix AI (hybrid RAG BM25+pgvector, 450+ KB, 10/10), Compensation system, Mythic cat, DeFi full launch, cap 200–400% dynamic |
| v2.13.x | DeFi Center launch (Staking, Mining, Lending) |
| v2.12.x | Arcade Felino beta, 20-level Habitat capacity expansion |
Development Phases
Triple-Token Economy, NFT Cats, 20-Level Habitat, Breeding + Fusion + Genetics, DeFi Center, Arena PvP, Marketplace, 14 Languages
Advanced Security, Cosmetics Shop, Achievement System, Landing Page, Daily Streak & Treasure Hunt
Guild Wars & Territory Control, NFT On-Chain Minting, Competition System, Cat Synth Lab (Done), Partner Games
2D PC Adventure Game, Cross-Platform Sync, Multi-Level World with NPCs, NFT Cats as companions
Conclusion
Feline Dynasty represents a new paradigm in blockchain gaming: a sustainable, community-driven economy built on the TON blockchain. Through its triple-token model, dynamic treasury management, and multi-layered security architecture, the project is designed for long-term viability rather than short-term speculation.
Disclaimer: This whitepaper is for informational purposes only. It does not constitute financial advice. Token values and game mechanics are subject to change based on economic conditions and development priorities. Always do your own research before participating in any blockchain-based project.
Start Your Dynasty Today
The whitepaper is just the beginning. Join the feline revolution on TON and claim your territory.