programs/neurobeasts/src/lib.rs
Rust
The full Solana smart contract — 12 instructions covering game initialization, pet minting with random traits, feeding/playing/healing mechanics, time-based stat decay, XP-driven evolution, a SOL-based marketplace, and player-to-player item gifting. All state is stored in Program Derived Accounts (PDAs).