Learn the Ethos. Master the Code.
Shadow Ranch is a first-of-its-kind educational platform designed to forge the next generation of principled Web3 builders on the Solana blockchain.
The promise of Web3 was a decentralized, private, and user-owned internet. However, as the space has evolved, the centralizing, extractive models of Web 2.0 have begun to creep in. Shadow Ranch exists to counter this trend.
Our mission is to reconnect the act of coding with the founding ethos of the Cypherpunk movement, ensuring that new builders don't just learn how to build, but why they should build differently.
Shadow Ranch provides a unique, two-track learning experience:
An interactive, narrative-driven history course that immerses users in the principles of privacy, decentralization, and censorship resistance. This track teaches the "why" behind Web3.
A gamified, hands-on coding curriculum that teaches Solana program development from the ground up. This track teaches the "how," with users earning NFT achievements for their progress.
By combining philosophy with practical skills, we aim to cultivate a community of developers dedicated to building a truly open and equitable digital future.
- React 18.3.1 - Modern UI library
- TypeScript 5.6.3 - Type-safe JavaScript
- Vite - Fast build tool and development server
- Tailwind CSS - Utility-first CSS framework
- Radix UI - Accessible component primitives
- Framer Motion - Animation library
- D3.js - Data visualization
- Zustand - State management
- Solana - High-performance blockchain
- Anchor Framework 0.29.0 - Solana development framework (Rust)
- @solana/web3.js - Solana JavaScript SDK
- MPL Token Metadata 3.2.3 - Metaplex NFT standard
- Firebase/Firestore - User profiles and authentication
- Express.js - API server
- Rust 1.80.0 - Systems programming language for Solana programs
- Solana CLI 1.18.26 - Solana command-line tools
- ESLint - Code linting
- TypeScript - Type checking
Make sure you have the following installed:
- Node.js (v18 or higher)
- Rust (latest stable)
- Solana CLI
- Git
-
Clone the repository
git clone https://github.com/christopher-cialone/SHADOW-RANCHXYZ.git cd SHADOW-RANCHXYZ -
Set up the correct Rust toolchain
rustup override set 1.80.0 -
Install dependencies
npm install
-
Build the Solana program
npm run anchor:build
-
Start the development server
npm run dev
The application will be available at http://localhost:5173
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLintnpm run check- Run TypeScript type checking
npm run anchor:build- Build Solana programsnpm run anchor:test- Run Solana program testsnpm run anchor:deploy- Deploy programs to configured cluster
SHADOW-RANCHXYZ/
βββ src/ # Frontend source code
β βββ components/ # React components
β β βββ cypherpunk/ # Cypherpunk Legacy track components
β β βββ solana/ # Solana Corps track components
β β βββ game/ # Gamification components
β β βββ layout/ # Layout components
β β βββ ui/ # Reusable UI components
β βββ pages/ # Page components
β βββ hooks/ # Custom React hooks
β βββ contexts/ # React contexts
β βββ data/ # Static data and configurations
β βββ lib/ # Utility libraries
β βββ assets/ # Static assets
βββ programs/ # Solana programs
β βββ shadow-ranch-program/ # Main Solana program
βββ tests/ # Solana program tests
βββ Anchor.toml # Anchor configuration
βββ Cargo.toml # Rust workspace configuration
βββ package.json # Node.js dependencies
This project uses a carefully configured development environment to ensure stability:
- Anchor Framework: 0.29.0 (stable version)
- Solana CLI: 1.18.26 (compatible with Anchor 0.29.0)
- Rust Toolchain: 1.80.0 (project override)
- MPL Token Metadata: 3.2.3 (compatible with Anchor 0.29.0)
This configuration resolves known dependency conflicts and provides a stable foundation for development.
npm run testnpm run anchor:testThe project is configured for local development by default. The Solana program deploys to a local validator.
To deploy to Solana Devnet:
- Update
Anchor.tomlcluster configuration - Ensure you have devnet SOL in your wallet
- Run:
npm run anchor:deploy
We welcome contributions to Shadow Ranch! Please see our Contributing Guidelines for details.
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests and linting
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
Build Errors with Anchor
- Ensure Rust 1.80.0 is set:
rustup override set 1.80.0 - Clean and rebuild:
rm -rf target/ node_modules/ && npm install && npm run anchor:build
Dependency Conflicts
- This project uses Anchor 0.29.0 with MPL Token Metadata 3.2.3 for stability
- If upgrading dependencies, ensure version compatibility
Local Validator Issues
- Restart local validator:
solana-test-validator --reset - Check Solana CLI configuration:
solana config get
For more help, please open an issue on GitHub.
Built with β€οΈ for the Cypherpunk community and the future of decentralized education.