Write once. Deploy Everywhere.
Curated collection of awesome LUMOS examples, full-stack applications, tutorials, and community projects for Solana development.
LUMOS is a type-safe schema language and code generator that bridges TypeScript and Rust for Solana development. Write your data structures once, generate production-ready code for both languages with guaranteed Borsh serialization compatibility.
- Official Resources
- Getting Started
- Full-Stack Examples
- Tutorials
- Templates & Starters
- Community Projects
- Tools & Utilities
- Contributing
- LUMOS Repository - Core library and CLI
- VSCode Extension - Syntax highlighting and snippets
- Documentation - Official documentation
- Examples - Schema examples in main repo
# Install LUMOS CLI
cargo install lumos-cli
# Verify installation
lumos --version
# Install VSCode extension (optional)
# Search for "LUMOS" in VSCode Extensions#[solana]
#[account]
struct UserAccount {
wallet: PublicKey,
balance: u64,
level: u16,
}
Generate code:
lumos generate schema.lumosComing Soon! Full-stack Solana applications built with LUMOS.
- NFT Marketplace - Complete NFT marketplace with listings, bidding, and sales
- DeFi Staking Platform - Token staking with rewards calculation
- DAO Governance - Proposal creation, voting, and execution
- Gaming Platform - On-chain game state and player progression
- Token Vesting - Time-locked token release schedules
Want to contribute? See Contributing section below!
Coming Soon! Step-by-step tutorials for building Solana applications with LUMOS.
- Your First LUMOS Project
- Building an NFT Minting Program
- Creating a Token Staking Pool
- Implementing DAO Governance
- Advanced Type Patterns with Enums
- Testing LUMOS-Generated Code
# Coming soon - scaffold a new Anchor program with LUMOS
lumos new --template anchor my-program# Coming soon - scaffold a complete DApp (Anchor + React + LUMOS)
lumos new --template dapp my-dappShowcase your LUMOS project here!
Built something awesome with LUMOS? Submit a PR to add it here:
- Your Project - Brief description and link
- LUMOS CLI - Code generation tool
- VSCode Extension - Syntax highlighting and snippets
Coming Soon! Community-contributed tools and utilities.
We welcome contributions! Here's how you can help:
- Fork this repository
- Add your project to the appropriate section
- Follow the format:
**Project Name** - Brief description ([Demo](link) | [Source](link)) - Submit a pull request
We're looking for:
- β¨ Full-stack Solana applications using LUMOS
- π Tutorial content and guides
- π¨ Starter templates and boilerplates
- π§ Tools and utilities that enhance LUMOS development
Requirements for examples:
- Complete, working code
- README with setup instructions
- Well-documented and commented
- Follows LUMOS best practices
examples/
βββ your-project/
βββ README.md (Setup, features, architecture)
βββ schema.lumos (LUMOS schema definitions)
βββ programs/ (Anchor/Solana programs)
βββ app/ (Frontend application)
βββ tests/ (Integration tests)
- Quality Over Quantity - Each example should be production-quality
- Documentation - Include comprehensive README and inline comments
- Testing - All examples must include tests
- License - Use MIT or Apache 2.0 license
- Maintenance - Be responsive to issues and keep examples updated
This repository is dual-licensed under:
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT License (LICENSE-MIT)
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion shall be dual licensed as above, without any additional terms or conditions.
- LUMOS Team - For creating an amazing tool
- Solana Foundation - For the incredible blockchain ecosystem
- Anchor Team - For the excellent Solana development framework
- Contributors - Everyone who contributes examples and improvements
Built with β€οΈ by the LUMOS community
β Star this repo if you find these examples useful!