Skip to content

A minimal Solana MVP demonstrating on-chain application state using PDAs, wallet-based identity, and time-based game logic.

Notifications You must be signed in to change notification settings

gaveesh89/farming-game

Repository files navigation

Farming Game (Solana)

An on-chain farming game built with Anchor (Solana) and Next.js.

Project Structure

  • farming-game/: Solana Anchor programs and tests.
  • farming-ui/: Next.js frontend with Solana Wallet Adapter.

Quick Start

Backend (Anchor)

cd farming-game
anchor build

Frontend (Next.js)

cd farming-ui
npm install
npm run dev

Features

  • Initialize Player PDA
  • Plant Crops (Wheat/Corn)
  • Harvest Crops for rewards
  • On-chain game state

About

A minimal Solana MVP demonstrating on-chain application state using PDAs, wallet-based identity, and time-based game logic.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published