A comprehensive collection of Solana blockchain projects built during the Turbin3 Q4 2025 cohort. This repository showcases expertise in Solana development, smart contract programming with Anchor, and full-stack dApp development.
This repository contains advanced Solana blockchain projects developed as part of the Turbin3 Builder Cohort Q4 2025. Each project demonstrates different aspects of Solana development, from DeFi protocols to NFT utilities and gaming mechanics.
Key Learning Outcomes:
- β Solana Program Development with Anchor Framework
- β PDA (Program Derived Addresses) Management
- β CPI (Cross-Program Invocation) Patterns
- β Token Management (SPL Tokens, NFTs)
- β Full-stack dApp Development
- β Smart Contract Security Best Practices
| Project | Description | Tech | Repository Link |
|---|---|---|---|
| π TerraFund (Capstone) | Decentralized crowdfunding platform with transparent fundraising campaigns | Anchor, Next.js, TypeScript | π View Project |
| π± AMM | Automated Market Maker implementing x*y=k constant product formula | Anchor, Rust | π View Project |
| π² Dice Game | On-chain dice game with provably fair randomness using Ed25519 | Anchor, Rust | π View Project |
| π€ Escrow Program | Trustless P2P token swap escrow system | Anchor, Rust | π View Project |
| π¨ Metaplex Core NFT | NFT minting and management with Metaplex Core | Anchor, Metaplex | π View Project |
| π NFT Staking | Stake NFTs and earn reward tokens over time | Anchor, Rust | π View Project |
| π¦ Vault Program | Secure SOL vault with deposit/withdraw functionality | Anchor, Rust | π View Project |
| π Prerequisites | Initial Turbin3 TypeScript setup and prerequisites | TypeScript | π View Project |
| π¬ Starter | Turbin3 starter code and examples | TypeScript, Rust | π View Project |
A decentralized crowdfunding platform built on Solana
Enables transparent and secure fundraising campaigns with smart contract automation, featuring real-time tracking, secure withdrawals, and platform fee management.
Key Features:
- π Decentralized campaign creation and management
- π° Transparent on-chain donation tracking
- π Smart contract-enforced withdrawal rules (minimum 1 SOL)
- π Real-time campaign progress monitoring
- π― Configurable platform fees (default 5%)
- β‘ Fast transactions with low costs on Solana
Tech Stack:
- Smart Contracts: Anchor Framework (Rust)
- Frontend: Next.js 14, React, TypeScript
- Styling: Tailwind CSS
- State Management: Redux Toolkit
- Wallet: Solana Wallet Adapter
Architecture:
graph TB
subgraph Flow["π₯ User Actions"]
F1[Create Campaign]
F2[Donate SOL]
F3[Withdraw Funds]
end
subgraph State["π Program State"]
PS["ProgramState
campaign_count | platform_fee"]
end
subgraph Accounts["πΎ Data Accounts"]
A1["Campaign PDA
creator | goal | amount_raised | balance"]
A2["Transaction PDA
donor | amount | timestamp"]
end
F1 --> A1
F2 --> A1
F2 --> A2
F3 --> A1
PS -.-> A1
A1 -.-> A2
π View Full Documentation β
Constant product AMM implementing x*y=k formula
A decentralized exchange protocol allowing users to provide liquidity, swap tokens, and earn fees.
Key Features:
- Liquidity pool initialization with dual tokens
- Add/remove liquidity with LP token minting/burning
- Token swaps with configurable fee structure
- Slippage protection mechanisms
- Authority-controlled pool locking
Smart Contract Highlights:
- Uses
constant-product-curvelibrary for calculations - PDA-based vault accounts for token storage
- LP token minting for liquidity providers
- Fee distribution to liquidity providers
π View Project β
On-chain dice game with provably fair randomness
Implements a betting system where players can place bets on dice rolls with verifiable randomness using Ed25519 signatures.
Key Features:
- Place bets with customizable roll predictions (2-96)
- Provably fair randomness using Ed25519 signatures
- House edge mechanism (1.5%)
- Automatic payout calculation
- Refund system for expired bets
- Timeout protection (1000 slots)
Security:
- Ed25519 signature verification for randomness
- House-signed message validation
- Time-based bet expiry
- Secure vault management
π View Project β
Trustless token swap escrow system
Enables peer-to-peer token swaps without requiring trust between parties, with full refund capabilities.
Key Features:
- Maker initiates escrow with token A deposit
- Taker completes swap by providing token B
- Maker can refund if deal expires
- Supports SPL tokens and Token-2022
- Atomic swap execution
- PDA-based vault security
Use Cases:
- OTC (Over-The-Counter) trades
- NFT-for-token swaps
- P2P trading without centralized exchange
π View Project β | Documentation β
NFT minting and management with Metaplex Core
Implements creator whitelisting, collection management, and NFT minting with plugins.
Key Features:
- Creator whitelist management (program authority controlled)
- Collection creation with update authority
- NFT minting with attributes plugin
- Freeze/thaw delegate functionality
- Burn delegate implementation
- On-chain metadata storage
Advanced Features:
- Plugin-based attribute system
- Timestamp tracking
- Creator/Minter attribution
- Collection-based organization
π View Project β
Stake NFTs and earn reward tokens
A comprehensive NFT staking system with reward token distribution and freeze delegate mechanics.
Key Features:
- Collection-based NFT creation
- NFT staking with freeze delegate
- Points accumulation over time
- Reward token minting and claiming
- Configurable staking parameters
- Freeze period enforcement
- User-specific staking accounts
Architecture:
- Config account for global settings
- User accounts tracking points and stakes
- Stake accounts per NFT
- Reward mint for token distribution
π View Project β
Secure SOL vault with deposit/withdraw functionality
A simple yet secure vault implementation demonstrating PDA patterns and rent-exempt account management.
Key Features:
- Initialize personal vault with rent-exempt balance
- Deposit SOL into vault
- Withdraw SOL from vault
- Close vault and recover all funds
- PDA-based security model
Learning Objectives:
- PDA derivation and signing
- Rent-exempt balance management
- CPI with signer seeds
- Account closure patterns
π View Project β | Documentation β
| Tool | Version | Installation |
|---|---|---|
| Node.js | v18.18.0+ | Download |
| Rust | v1.89.0+ | Install |
| Anchor CLI | v0.32.1+ | cargo install --git https://github.com/coral-xyz/anchor avm --locked --force |
| Solana CLI | v1.18.17+ | Install |
| Yarn/pnpm | Latest | npm install -g yarn pnpm |
git clone https://github.com/Subodhkd001/Q4_25_Builder_Subodhkd001.git
cd Q4_25_Builder_Subodhkd001# Generate new keypair (if needed)
solana-keygen new
# Configure for devnet
solana config set --url devnet
# Get devnet SOL
solana airdrop 2Each project has its own setup. Navigate to the project directory:
# Example: Building the AMM project
cd anchor-amm-starter-q4-25
anchor build
anchor test
# Example: Running TerraFund (Capstone)
cd capstone/terra-fund
pnpm install
pnpm anchor-build
pnpm anchor deploy --provider.cluster devnet
pnpm devMany projects include Surfpool runbooks for deployment:
# Start local Surfnet
surfpool start
# List available runbooks
surfpool ls
# Execute deployment runbook
surfpool run deployment- Solana - High-performance blockchain
- Anchor Framework - Rust framework for Solana programs
- SPL Token - Token standard implementation
- Metaplex - NFT standard and tools
- React/Next.js - UI framework
- TypeScript - Type-safe JavaScript
- Tailwind CSS - Utility-first CSS
- Solana Wallet Adapter - Wallet integration
- Redux Toolkit - State management
- Anchor CLI - Program development toolkit
- Solana CLI - Command-line tools
- Surfpool - Local validator and runbooks
- Jest - Testing framework
Contributions, issues, and feature requests are welcome!
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request