Testnet+250 XP earned

UNCLE CHOG'S FARM

Uncle Chog's Farm is a fully on-chain farming game running on Monad Testnet. Players connect their MetaMask wallet, earn a token called Moniks (MNK), grow crops on a 9-plot farm, and compete on a live leaderboard — all powered by a Solidity smart contract. Most blockchain games either use fake in-game currencies with no real on-chain ownership, or they're so complex they're impossible to deploy without a team. This shows that a complete, playable game economy — with token issuance, spending, earning, transfers, and rewards — can live entirely in a single smart contract and a small React frontend. No backend, no database, no server. What I learned: How a Solidity smart contract works — state lives on-chain, functions are transactions, view functions are free reads. I saw how _mint, _burn, and transfer form a mini token standard. How a dApp connects to a wallet — MetaMask injects window.ethereum, ethers.js wraps it into a Signer for writes and a Provider for reads. Why RPC matters — MetaMask's default RPC (drpc.org) gave errors on Monad; I had to route all reads through the official testnet-rpc.monad.xyz. A subtle but critical real-world detail. On-chain time — block.timestamp / 1 days is how Solidity tracks "today" without a server clock, which powers the daily quest resets.

Discussion

Sign in to comment on this project.

No comments yet. Be the first to share what you think.