Why Fun with Stylus
A minimal foundation for contract experimentation.
Rust-native experimentation
Build smart contracts with the power and safety of Rust. No compromises on performance or security.
Minimal contract examples
Learn from clean, focused examples that teach one concept at a time. No bloat, just clarity.
Agent-friendly primitives
Design patterns built for AI agents and autonomous systems to interact with onchain logic.
Clean path to learning Stylus
Progressive learning curve from simple examples to complex patterns. Start building in minutes.
Example Contracts
Explore production-ready contract patterns that demonstrate key Stylus capabilities.
Escrow
A trustless escrow system with arbiter-controlled fund release and dispute resolution.
Ballot
Commit-reveal voting pattern for private, verifiable onchain governance and decision-making.
The best developer tools don't just work.
They invite experimentation.
Fun with Stylus embraces the philosophy that powerful tools should feel lightweight, contracts should be readable, and building should be joyful.
Join the Fun with Stylus community
Support the project and participate in the ecosystem with our Solana token on pump.fun.