Documentation
Corn Farm Docs
Everything you need to understand the game, the economy, and on-chain features on Solana Mainnet.
Overview
Corn Farm is a Web3 farm game on Solana. Plant corn seeds, harvest $CORN, unlock more land, and compete on the weekly production leaderboard.
The in-game currency is $CORN — a fair-launch memecoin on pump.fun. Wallet mode links your on-chain balance to a custodied in-game balance backed by the treasury.
Getting started
Demo mode
Free to try with 430,000 starting $CORN. Progress saves in your browser. Only row 1 (plot 1) is available — extra rows and treasury withdrawals require wallet mode.
Wallet mode
Wallet mode is closed until we fund the treasury and connect the official $CORN token (~10 minutes after launch). Farm, leaderboard, and server saves work before the mint goes live. Treasury deposits and withdrawals are paused until the official $CORN token is connected and wallet mode is enabled.
First steps
Complete the tutorial if prompted. Buy a Seeds Pack from the villager shop, open it in your inventory, plant seeds on empty furrows, and wait for harvest cycles to complete automatically.
Core gameplay loop
- Earn or deposit $CORN
- Buy Seeds Packs from the seed shop NPC
- Open packs in your inventory to reveal 3 random seeds
- Select a seed and plant it on an empty plot slot
- Crops grow automatically and pay $CORN + XP each cycle
- Reinvest in more packs, unlock rows, and expand production
Farm & plots
The farm has 5 rows × 6 slots = 30 planting spaces. Row 1 is free; additional rows unlock in order.
Row 2
Requires player level 5 and 90,000 $CORN.
Row 3
Requires player level 10 and 215,000 $CORN.
Row 4
Requires player level 15 and 390,000 $CORN.
Row 5
Requires player level 20 and 600,000 $CORN.
- Click a planted crop to uproot it (manual uproot does not return the seed).
- Demo mode cannot unlock rows beyond the starter row.
Seeds & crops
Each Seeds Pack costs 215,000 $CORN and contains 3 seeds with random rarity.
Drop rates: Common 85%, Rare 10%, Epic 5%.
Common
A reliable staple crop with steady harvest rewards. Cycle: 2 min 30 sec. Reward: 420 $CORN per cycle.
Rare
Grows faster and yields more $CORN each cycle. Cycle: 1 min 50 sec. Reward: 1100 $CORN per cycle.
Epic
Premium corn with the shortest cycle and highest payout. Cycle: 1 min 15 sec. Reward: 2100 $CORN per cycle.
- Harvests complete automatically — no click required.
- Production per hour is shown in the game menu Stats section.
- Rare seeds glow blue; Epic seeds glow purple on the farm.
Inventory & shop
Your backpack has 20 slots. Drag items to reorganize. Seed packs must be opened before planting.
The seed shop is marked on the farm — talk to the villager NPC to buy Seeds Packs.
Weather system
Every 3 minutes the weather wheel spins (300% size, 2s animation) and randomly picks the next climate. A countdown below the wheel shows time until the next spin.
Roll odds: Sunny 50%, Rain 20%, Snow 20%, Wind 10%.
Weather gameplay effects apply only while you are actively playing with the game tab open and visible. Your current weather is saved in the browser and survives page refreshes.
Tap the ? button beside the wheel for a quick summary. Full rules are in Docs (header link).
Sunny
Normal growth speed and $CORN rewards.
Rain
+25% growth speed and +25% $CORN per harvest cycle.
Snow
−25% growth speed.
Wind
Mature crops (75%+ cycle progress) switch to a wind-sway sprite. Every 45s there is a 1.5% chance to uproot one crop (max 1 per weather window). The seed returns to your inventory if there is space. Rare and Epic plants keep their blue/purple tint while swaying. Wind uproot is disabled in demo mode.
XP & levels
You earn XP every time a crop completes a harvest cycle. Higher rarity seeds grant more XP per cycle.
Plot rows unlock every 5 levels (5, 10, 15, 20). Level 10 unlocks both SPL withdrawals and row 3 — Plot rows unlock every 5 levels (5, 10, 15, 20). Level 10 unlocks both SPL withdrawals and row 3 — expect ~2 hours of active farming with a full starter row.
- Common harvest: 12 XP per cycle
- Rare harvest: 30 XP per cycle
- Epic harvest: 60 XP per cycle
- XP per level step: 140 (total to reach level 10: 6,300 XP)
- Check the menu Stats panel for your current level and progress.
Offline growth
Crops keep growing while the tab is closed, up to 10 hours of accrued harvests. When you return, completed cycles are applied automatically at the standard growth rate.
Weather modifiers (rain, snow, wind) do not apply while you are away — only sunny baseline growth is used for offline progress.
$CORN & tokenomics
$CORN launches as a fair pump.fun token — 1 billion supply on the bonding curve, no team pre-mine or hidden mint.
Total supply: 1,000,000,000 $CORN on pump.fun.
When the curve completes (~85 SOL, ~$70k market cap), liquidity migrates to PumpSwap. In-game prices are fixed in $CORN; at graduation a Seeds Pack (~215,000 $CORN) targets ~$15 USD.
Price anchor at graduation: ~$70,000 market cap → ~$0.00007 per token → Seeds Pack (215,000 $CORN) ≈ $15 USD.
Economy rebalanced June 2026: all in-game $CORN prices and harvest rewards increased ~50% (rounded up to clean numbers). See Economy reference for the full table.
- Seed pack purchases — 215,000 $CORN per pack (3 seeds)
- Plot row unlocks — 90k / 215k / 390k / 600k $CORN at levels 5, 10, 15, 20
- Future premium packs and seasonal events
Economy reference
Current in-game $CORN values (June 2026 balance). Demo mode starts with enough $CORN for two seed packs; wallet mode starts at 0 until you deposit SPL $CORN.
Starting balances
Demo: 430,000 $CORN. Wallet: 0 $CORN until treasury deposit.
Shop
Seeds Pack — 215,000 $CORN (3 random seeds per pack).
Row 2 unlock
90,000 $CORN at player level 5.
Row 3 unlock
215,000 $CORN at player level 10.
Row 4 unlock
390,000 $CORN at player level 15.
Row 5 unlock
600,000 $CORN at player level 20.
Common harvest
420 $CORN per cycle (2 min 30 sec).
Rare harvest
1,100 $CORN per cycle (1 min 50 sec).
Epic harvest
2,100 $CORN per cycle (1 min 15 sec).
1st place
300,000 $CORN weekly prize (treasury payout).
2nd place
150,000 $CORN weekly prize (treasury payout).
3rd place
90,000 $CORN weekly prize (treasury payout).
Top 10
30,000 $CORN weekly prize (treasury payout).
Treasury
Treasury deposits and withdrawals are paused until the official $CORN token is connected and wallet mode is enabled.
The treasury holds real SPL $CORN that backs 1:1 in-game withdrawals to player wallets.
Deposits add SPL to the treasury and credit in-game balance 1:1. Harvesting creates in-game $CORN (custodial inflation). Shop purchases and row unlocks destroy in-game balance without returning SPL. Withdrawals and leaderboard prizes drain the treasury on-chain.
At launch, the team manually purchases $CORN on pump.fun and transfers it to the treasury wallet to seed initial withdrawals and week-1 leaderboard prizes.
Every wallet-mode deposit sends SPL $CORN straight to the same treasury wallet, refilling the pool as players join.
Withdrawals unlock at level 10. Withdrawals unlock at level 10 so the treasury cannot be drained by instant farmers before the team seeds it and organic deposits accumulate.
Withdrawal cooldown: 8h 0m between on-chain withdrawals.
At launch
Treasury wallet stays AXp2…Nyvj (same as test). Only the official pump.fun mint CA is wired via npm run set-launch-mint. TREASURY_SECRET_KEY does not change. Fund the treasury with SOL + $CORN after redeploy — on-chain features go live in about 5–10 minutes.
- Buy on pump.fun: Acquire $CORN from the bonding curve (or DEX after graduation).
- Deposit to play: Send SPL $CORN to the treasury — credited 1:1 as in-game balance.
- Spend in-game: Seed packs (215,000 $CORN), row unlocks at levels 5/10/15/20, and future sinks keep $CORN circulating.
- Farm & withdraw: Earn $CORN by growing crops (harvest cycles every 75–150 seconds). Withdraw SPL to your wallet once you reach level 10 (~2 hours of active play).
Weekly leaderboard
Wallet mode players are ranked by $CORN/h production. Rankings reset every Monday 00:00 UTC.
Open the game menu → Weekly rank to view standings and prizes.
1st place
300,000 $CORN prize (paid from treasury at season end).
2nd place
150,000 $CORN prize (paid from treasury at season end).
3rd place
90,000 $CORN prize (paid from treasury at season end).
Top 10
30,000 $CORN prize (paid from treasury at season end).
UI & controls
- Header: wallet connect, treasury deposit/withdraw, music, Docs link
- Top right: $CORN balance, weather wheel, countdown timer, and ? help
- Backpack button: open inventory to manage seeds and open packs
- Game menu: stats, production rate (with weather modifier), XP, and leaderboard
- Plot slots: click empty furrow with a seed selected to plant; click crop to uproot
- Drag & drop: move inventory items between slots
- Old Mac (farmer NPC): occasional farming tips while he walks the field
Risks & FAQ
Is demo $CORN real?
No. Demo $CORN is practice currency only and cannot be withdrawn.
Why is my withdrawal locked?
Before launch, on-chain treasury features stay closed until the official $CORN mint is connected (about 5–10 minutes after we fund the treasury). After launch you need player level 10, sufficient in-game balance, and enough SPL $CORN in the treasury.
At launch
Treasury wallet stays AXp2…Nyvj (same as test). Only NEXT_PUBLIC_CORN_MINT changes to the official pump.fun CA.
Does weather affect offline farms?
No. Weather only applies while you are actively playing with the tab visible.
Does weather reset when I refresh?
No. Your current weather and countdown are saved locally and restored on load.
- Treasury balance depends on team seeding + player deposits — verify the wallet on Solscan before large withdrawals.
- In-game $CORN is a custodied balance linked to your wallet; only SPL in the treasury can be withdrawn on-chain.
- In-game harvest rewards are custodial inflation — they do not mint new SPL tokens on-chain.
- Demo progress is browser-local — clearing site data may reset it.
- Wallet progress is tied to your connected address.
- Memecoins are volatile — never risk more than you can afford to lose.
- Verify treasury and mint addresses on Solscan before large deposits or withdrawals.
On-chain addresses
Always verify these addresses on Solscan before depositing or withdrawing.
- Treasury wallet
- AXp2F7NP3cKU7nP8HXXL1XKuSrj1JeAYj2im4JKvNyvj
- $CORN mint (pump.fun)
- 2rzTKQTjyXcCfUxmqxDMRMkNea7EV6dr9fCbGmVVpump
