Skip to content

Latest commit

ย 

History

History
458 lines (330 loc) ยท 15.5 KB

File metadata and controls

458 lines (330 loc) ยท 15.5 KB

Scrunchy Documentation - Complete Index

Welcome to the complete Scrunchy documentation! This index provides quick navigation to all documentation, repositories, and resources.


๐ŸŽฏ Quick Navigation

For Hackathon Judges

For Developers

For Contributors

  • ๐Ÿ“– README.md - Main documentation package overview
  • ๐Ÿ›๏ธ Architecture Documentation - See below for all architecture docs

๐Ÿ“š Complete Documentation Library

๐ŸŽฏ Getting Started (Start Here!)

Document Description Audience
HACKATHON_README.md Complete hackathon submission with all details Judges, Developers
QUICK_START.md 5-minute quick start guide Developers
INSTALLATION.md Detailed installation instructions Developers
README.md Documentation package overview Everyone

๐Ÿ—๏ธ Architecture Documentation

Document Description Audience
00_SCRUNCHY_PROJECT_OVERVIEW.md Complete project overview and vision Everyone
01_SCRUNCHY_SMART_CONTRACT_ARCHITECTURE.md Smart contract design and implementation Blockchain Developers
02_SCRUNCHY_BACKEND_ARCHITECTURE.md Backend API and infrastructure Backend Developers
03_SCRUNCHY_FRONTEND_ARCHITECTURE.md Frontend UI/UX design Frontend Developers
04_SCRUNCHY_SDK_IMPLEMENTATION.md SDK documentation and integration Game Developers
05_SCRUNCHY_INTEGRATION_EXAMPLES.md Real-world integration examples Game Developers

๐Ÿ”— Repository Information

Document Description Audience
REPOSITORY_LINKS.md All repository links and information Everyone
PROJECT_STRUCTURE.md Complete codebase structure Developers

๐Ÿ† Hackathon Specific

Document Description Audience
HACKATHON_PROJECT_OVERVIEW.md Detailed hackathon submission Judges
HACKATHON_README.md Complete submission overview Judges, Developers

๐Ÿ“– Additional Documentation

Document Description Audience
INDEX.md This document - Complete index Everyone
Various numbered docs Alternative versions of architecture docs Developers

๐Ÿ”— Repository Links

Main Repositories

Repository Link Description
Smart Contracts scrunchy-contract Solana Anchor programs
Backend API scrunchy-backend NestJS backend with event indexing
Frontend scrunchy-frontend Next.js marketplace UI
CLI Tool scrunchy-cli Universal CLI for game integration

๐Ÿ“ See REPOSITORY_LINKS.md for detailed information about each repository.


๐Ÿ“– Documentation by Role

๐ŸŽฎ For Game Developers

Goal: Integrate Scrunchy into your game

  1. Start: QUICK_START.md
  2. SDK Guide: 04_SCRUNCHY_SDK_IMPLEMENTATION.md
  3. Examples: 05_SCRUNCHY_INTEGRATION_EXAMPLES.md
  4. CLI Tool: scrunchy-cli README

Quick Integration:

pip install scrunchy-cli
scrunchy auth login
scrunchy init
scrunchy add wallet-connector asset-verifier

๐Ÿ”— For Blockchain Developers

Goal: Understand and contribute to smart contracts

  1. Start: 01_SCRUNCHY_SMART_CONTRACT_ARCHITECTURE.md
  2. Setup: INSTALLATION.md - Smart Contracts section
  3. Repository: scrunchy-contract
  4. Structure: PROJECT_STRUCTURE.md - Smart Contracts section

Quick Start:

git clone https://github.com/hallelx2/scrunchy-contract.git
cd scrunchy-contract
anchor build
anchor test

๐Ÿ’ป For Backend Developers

Goal: Understand and contribute to backend API

  1. Start: 02_SCRUNCHY_BACKEND_ARCHITECTURE.md
  2. Setup: INSTALLATION.md - Backend section
  3. Repository: scrunchy-backend
  4. API Docs: http://localhost:3000/api/docs (Swagger UI)

Quick Start:

git clone https://github.com/hallelx2/scrunchy-backend.git
cd scrunchy-backend
npm install
npm run start:dev

๐ŸŽจ For Frontend Developers

Goal: Understand and contribute to frontend UI

  1. Start: 03_SCRUNCHY_FRONTEND_ARCHITECTURE.md
  2. Setup: INSTALLATION.md - Frontend section
  3. Repository: scrunchy-frontend
  4. Structure: PROJECT_STRUCTURE.md - Frontend section

Quick Start:

git clone https://github.com/hallelx2/scrunchy-frontend.git
cd scrunchy-frontend
npm install
npm run dev

๐Ÿ† For Hackathon Judges

Goal: Evaluate the project

  1. Start: HACKATHON_README.md
  2. Overview: HACKATHON_PROJECT_OVERVIEW.md
  3. Repositories: REPOSITORY_LINKS.md
  4. Demo: [Link to be added]

Key Points:

  • โœ… Consumer-facing application
  • โœ… Makes Solana useful, fun, and seamless
  • โœ… Complete MVP with all features
  • โœ… Production-ready code quality

๐Ÿ‘ฅ For Contributors

Goal: Contribute to the project

  1. Start: README.md
  2. Structure: PROJECT_STRUCTURE.md
  3. Architecture: All architecture docs (01-05)
  4. Repositories: REPOSITORY_LINKS.md

Contribution Process:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

๐Ÿ—บ๏ธ Documentation Map

docs/
โ”‚
โ”œโ”€โ”€ ๐Ÿ† Hackathon Submission
โ”‚   โ”œโ”€โ”€ HACKATHON_README.md (Main submission)
โ”‚   โ”œโ”€โ”€ HACKATHON_PROJECT_OVERVIEW.md (Detailed overview)
โ”‚   โ””โ”€โ”€ REPOSITORY_LINKS.md (All repo links)
โ”‚
โ”œโ”€โ”€ ๐Ÿš€ Getting Started
โ”‚   โ”œโ”€โ”€ README.md (Documentation overview)
โ”‚   โ”œโ”€โ”€ QUICK_START.md (5-minute guide)
โ”‚   โ”œโ”€โ”€ INSTALLATION.md (Complete setup)
โ”‚   โ””โ”€โ”€ INDEX.md (This file)
โ”‚
โ”œโ”€โ”€ ๐Ÿ—๏ธ Architecture
โ”‚   โ”œโ”€โ”€ 00_SCRUNCHY_PROJECT_OVERVIEW.md (Project overview)
โ”‚   โ”œโ”€โ”€ 01_SCRUNCHY_SMART_CONTRACT_ARCHITECTURE.md (Smart contracts)
โ”‚   โ”œโ”€โ”€ 02_SCRUNCHY_BACKEND_ARCHITECTURE.md (Backend)
โ”‚   โ”œโ”€โ”€ 03_SCRUNCHY_FRONTEND_ARCHITECTURE.md (Frontend)
โ”‚   โ”œโ”€โ”€ 04_SCRUNCHY_SDK_IMPLEMENTATION.md (SDK)
โ”‚   โ””โ”€โ”€ 05_SCRUNCHY_INTEGRATION_EXAMPLES.md (Examples)
โ”‚
โ””โ”€โ”€ ๐Ÿ“š Reference
    โ”œโ”€โ”€ PROJECT_STRUCTURE.md (Complete structure)
    โ””โ”€โ”€ REPOSITORY_LINKS.md (Repository info)

๐ŸŽฏ Common Tasks

Setup Development Environment

Full Setup:

  1. Read INSTALLATION.md
  2. Follow setup order: Contracts โ†’ Backend โ†’ Frontend โ†’ CLI
  3. Configure environment variables
  4. Test each component

Quick Setup (if prerequisites installed):

# Clone all
git clone https://github.com/hallelx2/scrunchy-contract.git
git clone https://github.com/hallelx2/scrunchy-backend.git
git clone https://github.com/hallelx2/scrunchy-frontend.git
git clone https://github.com/hallelx2/scrunchy-cli.git

# Build contracts
cd scrunchy-contract && anchor build && anchor deploy

# Start backend
cd ../scrunchy-backend && npm install && npm run start:dev

# Start frontend
cd ../scrunchy-frontend && npm install && npm run dev

# Install CLI
cd ../scrunchy-cli && pip install -e .

Understand Architecture

  1. High-level: 00_SCRUNCHY_PROJECT_OVERVIEW.md
  2. Smart Contracts: 01_SCRUNCHY_SMART_CONTRACT_ARCHITECTURE.md
  3. Backend: 02_SCRUNCHY_BACKEND_ARCHITECTURE.md
  4. Frontend: 03_SCRUNCHY_FRONTEND_ARCHITECTURE.md
  5. Complete Structure: PROJECT_STRUCTURE.md

Integrate Scrunchy into Your Game

  1. Read: 04_SCRUNCHY_SDK_IMPLEMENTATION.md
  2. Examples: 05_SCRUNCHY_INTEGRATION_EXAMPLES.md
  3. Install CLI: pip install scrunchy-cli
  4. Follow: scrunchy-cli User Flow

Contribute to the Project

  1. Choose Component: See REPOSITORY_LINKS.md
  2. Understand Architecture: Read relevant architecture doc
  3. Setup Locally: Follow INSTALLATION.md
  4. Make Changes: Follow contribution guidelines
  5. Submit PR: Create pull request

๐Ÿ“Š Project Statistics

Codebase

  • Total Lines of Code: ~32,000
  • Total Files: ~430
  • Languages: Rust, TypeScript, Python
  • Repositories: 4

Documentation

  • Total Documents: 20+
  • Total Pages: ~200+
  • Coverage: 100% of features documented

Features

  • Smart Contracts: 3 Anchor programs
  • API Endpoints: 50+ endpoints
  • Frontend Pages: 15+ pages
  • CLI Commands: 20+ commands

๐Ÿ“ See HACKATHON_README.md for complete feature list.


๐Ÿ” Search Guide

Looking for...

"How do I set up the project?" โ†’ INSTALLATION.md or QUICK_START.md

"How do smart contracts work?" โ†’ 01_SCRUNCHY_SMART_CONTRACT_ARCHITECTURE.md

"How do I integrate into my game?" โ†’ 04_SCRUNCHY_SDK_IMPLEMENTATION.md

"Where are the repositories?" โ†’ REPOSITORY_LINKS.md

"What's the project structure?" โ†’ PROJECT_STRUCTURE.md

"How do I contribute?" โ†’ README.md and REPOSITORY_LINKS.md

"What's this for hackathon?" โ†’ HACKATHON_README.md

"How does the backend work?" โ†’ 02_SCRUNCHY_BACKEND_ARCHITECTURE.md

"How does the frontend work?" โ†’ 03_SCRUNCHY_FRONTEND_ARCHITECTURE.md

"Show me examples" โ†’ 05_SCRUNCHY_INTEGRATION_EXAMPLES.md


๐ŸŽ“ Learning Paths

Path 1: Complete Understanding (Recommended)

  1. HACKATHON_README.md - Get the big picture
  2. 00_SCRUNCHY_PROJECT_OVERVIEW.md - Understand the vision
  3. PROJECT_STRUCTURE.md - See the structure
  4. Architecture docs (01-05) - Deep dive into each component
  5. INSTALLATION.md - Set up locally
  6. Start contributing!

Time: ~4-6 hours

Path 2: Quick Start (For Developers)

  1. QUICK_START.md - Get started fast
  2. INSTALLATION.md - Set up environment
  3. REPOSITORY_LINKS.md - Clone repos
  4. Relevant architecture doc for your component
  5. Start coding!

Time: ~1-2 hours

Path 3: Game Integration (For Game Developers)

  1. 04_SCRUNCHY_SDK_IMPLEMENTATION.md - Understand SDK
  2. 05_SCRUNCHY_INTEGRATION_EXAMPLES.md - See examples
  3. Install CLI: pip install scrunchy-cli
  4. Follow User Flow Guide
  5. Integrate into your game!

Time: ~30 minutes to 1 hour

Path 4: Hackathon Evaluation (For Judges)

  1. HACKATHON_README.md - Complete submission
  2. HACKATHON_PROJECT_OVERVIEW.md - Detailed overview
  3. REPOSITORY_LINKS.md - Check repositories
  4. Watch demo video
  5. Test live demo

Time: ~30 minutes


๐ŸŒŸ Highlights

What Makes Scrunchy Special

  • โšก Sub-second transactions on Solana
  • ๐Ÿ’ฐ Sub-cent costs make micro-rentals viable
  • ๐ŸŽฎ Cross-game interoperability - one asset, multiple games
  • ๐Ÿ› ๏ธ Universal CLI - works with any game engine
  • ๐ŸŽจ Beautiful UI - modern, polished design
  • ๐Ÿ”’ Production-ready - comprehensive testing and documentation

Key Innovations

  1. Rental-First Design - Built for rentals from the ground up
  2. Modular Components - Install only what you need
  3. Smart Project Detection - CLI auto-detects your project type
  4. Event Indexing - Real-time blockchain sync
  5. Component Marketplace - Extensible ecosystem

๐Ÿ“– See HACKATHON_PROJECT_OVERVIEW.md for complete details.


๐Ÿ“ž Support & Resources

Documentation

Repositories

External Resources

Contact

  • GitHub: @hallelx2
  • Email: [Your email]
  • Twitter: [Your Twitter]
  • Discord: [Your Discord]

๐ŸŽ‰ Ready to Get Started?

Choose Your Path:

๐Ÿ† Hackathon Judge? โ†’ Start with HACKATHON_README.md

๐Ÿ’ป Developer? โ†’ Start with QUICK_START.md

๐ŸŽฎ Game Developer? โ†’ Start with 04_SCRUNCHY_SDK_IMPLEMENTATION.md

๐Ÿ“š Want to Learn? โ†’ Start with 00_SCRUNCHY_PROJECT_OVERVIEW.md

๐Ÿค Want to Contribute? โ†’ Start with README.md


Built with โค๏ธ for the Solana Consumer Track Hackathon

Making blockchain gaming accessible, affordable, and fun for everyone.


Last Updated: December 15, 2025

Maintained by: hallelx2