This document provides quick access to all Scrunchy repositories with their key information, setup instructions, and important links.
๐ Repository: https://github.com/hallelx2/scrunchy-contract
๐ Description: Solana Anchor programs for asset registry, marketplace, and access control
๐ ๏ธ Tech Stack:
- Rust 1.70+
- Anchor Framework 0.29+
- Solana CLI 1.18+
๐ฆ Contains:
- Asset Registry Program
- Marketplace Program
- Access Control Program
- Integration tests
- Deployment scripts
๐ Quick Start:
git clone https://github.com/hallelx2/scrunchy-contract.git
cd scrunchy-contract
anchor build
anchor test
anchor deploy๐ Documentation:
๐ Key Files:
Anchor.toml- Program configurationprograms/asset-registry/src/lib.rs- Asset Registry programprograms/marketplace/src/lib.rs- Marketplace programprograms/access-control/src/lib.rs- Access Control programtarget/idl/*.json- Generated IDL files
๐ Status: โ Complete and deployed to devnet
๐ Repository: https://github.com/hallelx2/scrunchy-backend
๐ Description: Production-ready NestJS backend with event indexing, caching, and comprehensive API
๐ ๏ธ Tech Stack:
- NestJS 11+
- TypeScript 5+
- Prisma ORM
- PostgreSQL 14+
- Redis 7+
๐ฆ Contains:
- RESTful API endpoints
- Wallet signature authentication
- Event indexer for blockchain sync
- Background jobs (rental monitoring, cache warming)
- Rate limiting and security middleware
- Swagger API documentation
๐ Quick Start:
git clone https://github.com/hallelx2/scrunchy-backend.git
cd scrunchy-backend
npm install
cp .env.example .env # Configure environment
npm run prisma:generate
npm run prisma:migrate
npm run start:dev # Runs on http://localhost:3000๐ Documentation:
- README.md
- API Documentation (Swagger UI - when running)
- Architecture Doc
๐ Key Files:
src/main.ts- Application entry pointprisma/schema.prisma- Database schemasrc/idl/*.json- Anchor IDL files.env- Environment configuration
๐ Status: โ 100% Complete - Production ready
๐ API Endpoints:
- Authentication:
/api/auth/* - Assets:
/api/assets/* - Marketplace:
/api/marketplace/* - Access Control:
/api/access-control/* - Games:
/api/games/* - SDK:
/api/sdk/* - Health:
/health
๐ Repository: https://github.com/hallelx2/scrunchy-frontend
๐ Description: Beautiful marketplace UI with wallet integration and responsive design
๐ ๏ธ Tech Stack:
- Next.js 14+ (App Router)
- React 18+
- TypeScript 5+
- Tailwind CSS 4+
- shadcn/ui components
- Solana Wallet Adapter
๐ฆ Contains:
- Landing page with hero section
- Marketplace browse and search
- Asset creation wizard
- User dashboard
- Developer portal
- Wallet integration
- Responsive design
๐ Quick Start:
git clone https://github.com/hallelx2/scrunchy-frontend.git
cd scrunchy-frontend
npm install
cp .env.example .env.local # Configure environment
npm run dev # Runs on http://localhost:3001๐ Documentation:
๐ Key Files:
app/layout.tsx- Root layoutlib/api.ts- API clientstores/*.ts- State managementcomponents/ui/*- UI component library
๐ Status: โ Complete with all core pages
๐จ Pages:
/- Landing page/marketplace- Browse assets/assets/create- Create asset/dashboard- User dashboard/developer- Developer portal/profile- User profile
๐ Repository: https://github.com/hallelx2/scrunchy-cli
๐ Description: Universal command-line tool for game developers to integrate Scrunchy
๐ ๏ธ Tech Stack:
- Python 3.8+
- Click (CLI framework)
- Requests (HTTP client)
๐ฆ Contains:
- Project structure detection (Unity, Unreal, Pygame, Web)
- Component installation system
- Authentication via backend API
- Game registration
- Asset verification
- Component tracking
๐ Quick Start:
git clone https://github.com/hallelx2/scrunchy-cli.git
cd scrunchy-cli
pip install -e .
scrunchy --version
scrunchy --banner๐ Documentation:
๐ Key Files:
main.py- CLI entry pointscrunchy/commands/*.py- CLI commandsscrunchy/utils/project_detector.py- Project detectionscrunchy/utils/component_installer.py- Component installation
๐ Status: โ Complete with all core features
โก Commands:
# Authentication
scrunchy auth login
scrunchy auth status
scrunchy auth logout
# Project initialization
scrunchy init
scrunchy init --project-type unity
# Component management
scrunchy component add wallet-connector
scrunchy component list
scrunchy component remove wallet-connector
# Game management
scrunchy game register --name "My Game"
scrunchy game list
scrunchy game api-key create GAME_ID
# Asset verification
scrunchy verify WALLET_ADDRESS ASSET_ID| Repository | Language | Lines of Code | Files | Status |
|---|---|---|---|---|
| scrunchy-contract | Rust | ~5,000 | ~50 | โ Complete |
| scrunchy-backend | TypeScript | ~15,000 | ~200 | โ Complete |
| scrunchy-frontend | TypeScript | ~10,000 | ~150 | โ Complete |
| scrunchy-cli | Python | ~2,000 | ~30 | โ Complete |
| Total | - | ~32,000 | ~430 | โ Complete |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ scrunchy-frontend โ
โ (User Interface) โ
โโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ scrunchy-backend โ
โ (API & Indexer) โ
โโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ scrunchy-contract โ
โ (Smart Contracts) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ scrunchy-cli โ
โ (Developer Integration) โ
โโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
scrunchy-backend
โ
โผ
scrunchy-contract
Dependency Flow:
- Frontend โ Backend API โ Smart Contracts
- CLI โ Backend API โ Smart Contracts
- Backend โ Smart Contracts (direct interaction via Anchor clients)
Install all required tools:
# Rust & Solana
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sh -c "$(curl -sSfL https://release.solana.com/stable/install)"
# Anchor
cargo install --git https://github.com/coral-xyz/anchor avm --locked --force
avm install latest
avm use latest
# Node.js (via nvm)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
nvm install 18
nvm use 18
# Python
sudo apt install python3 python3-pip
# PostgreSQL
sudo apt install postgresql postgresql-contrib
# Redis
sudo apt install redis-server# Create project directory
mkdir scrunchy-project
cd scrunchy-project
# Clone all repositories
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.gitFollow this order for smooth setup:
-
Smart Contracts (scrunchy-contract)
cd scrunchy-contract anchor build anchor test anchor deploy # Deploy to devnet # Note the deployed program IDs
-
Backend (scrunchy-backend)
cd ../scrunchy-backend npm install cp .env.example .env # Edit .env with program IDs from step 1 npm run prisma:generate npm run prisma:migrate npm run start:dev
-
Frontend (scrunchy-frontend)
cd ../scrunchy-frontend npm install cp .env.example .env.local # Edit .env.local with API URL and program IDs npm run dev
-
CLI (scrunchy-cli)
cd ../scrunchy-cli pip install -e . scrunchy --version
After deploying smart contracts, update these files:
-
Backend (
scrunchy-backend/.env):ASSET_REGISTRY_PROGRAM_ID="YourAssetRegistryProgramID" MARKETPLACE_PROGRAM_ID="YourMarketplaceProgramID" ACCESS_CONTROL_PROGRAM_ID="YourAccessControlProgramID"
-
Frontend (
scrunchy-frontend/.env.local):NEXT_PUBLIC_ASSET_REGISTRY_PROGRAM_ID="YourAssetRegistryProgramID" NEXT_PUBLIC_MARKETPLACE_PROGRAM_ID="YourMarketplaceProgramID" NEXT_PUBLIC_ACCESS_CONTROL_PROGRAM_ID="YourAccessControlProgramID"
-
Frontend (
scrunchy-frontend/.env.local):NEXT_PUBLIC_API_URL="http://localhost:3000/api"
-
CLI (via flag or env):
# Via flag scrunchy --api-base-url https://api.scrunchy.io/api # Via environment variable export SCRUNCHY_API_BASE_URL="https://api.scrunchy.io/api"
Each repository has its own contribution guidelines:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Report issues in the respective repository:
All repositories are licensed under the MIT License.
See LICENSE files in each repository:
- GitHub: @hallelx2
- Email: [Your email]
- Twitter: [Your Twitter]
- Discord: [Your Discord]
- Documentation: See
docs/folder in this repository - API Docs: http://localhost:3000/api/docs (Swagger UI)
- Demo Video: [Link to be added]
- Live Demo: [Link to be added]
- Project Overview
- Smart Contract Architecture
- Backend Architecture
- Frontend Architecture
- SDK Implementation
- Integration Examples
- Hackathon Overview
- Hackathon README
- Installation Guide
- Quick Start Guide
- Project Structure
- Solana Documentation
- Anchor Documentation
- Next.js Documentation
- NestJS Documentation
- Prisma Documentation
- Solana Foundation - For the amazing blockchain platform
- Anchor Framework - For making Solana development accessible
- Metaplex - For NFT standards and tooling
- Next.js Team - For the incredible web framework
- NestJS Team - For the robust backend framework
- shadcn/ui - For beautiful UI components
- Solana Community - For support and inspiration
| Repository | Build Status | Tests | Coverage | Last Updated |
|---|---|---|---|---|
| scrunchy-contract | โ Passing | โ Passing | ~80% | Dec 15, 2025 |
| scrunchy-backend | โ Passing | โ Passing | ~75% | Dec 15, 2025 |
| scrunchy-frontend | โ Passing | โ Passing | ~70% | Dec 15, 2025 |
| scrunchy-cli | โ Passing | โ Passing | ~65% | Dec 15, 2025 |
| Environment | Smart Contracts | Backend | Frontend | CLI |
|---|---|---|---|---|
| Development | โ Devnet | โ Local | โ Local | โ Local |
| Staging | โ Devnet | ๐ Planned | ๐ Planned | โ PyPI Test |
| Production | ๐ Planned | ๐ Planned | ๐ Planned | ๐ Planned |
Legend:
- โ Complete
- ๐ Planned
- โ Not Started
- Clone all repositories
- Follow setup guides in order
- Read architecture documentation
- Start contributing!
- Review HACKATHON_README.md
- Check out each repository
- Watch the demo video
- Test the live demo
- Install Scrunchy CLI:
pip install scrunchy-cli - Authenticate:
scrunchy auth login - Initialize project:
scrunchy init - Add components:
scrunchy add wallet-connector
Last Updated: December 15, 2025
Maintained by: hallelx2
Built with โค๏ธ for the Solana Consumer Track Hackathon
- ๐ scrunchy-contract
- ๐ scrunchy-backend
- ๐ scrunchy-frontend
- ๐ scrunchy-cli
# Create project directory
mkdir scrunchy-project && cd scrunchy-project
# Clone all repositories
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 &
wait
echo "โ
All repositories cloned successfully!"Ready to build the future of gaming! ๐ฎโก