A curated list of Arbitrum Stylus code examples, libraries, projects and resources.
- Official Docs - Official docs on Stylus
- Rust SDK - Rust SDK
- Cargo Stylus - CLI tool for compiling and deploying Stylus smart contracts
- Discord - Check out the #stylus channel in Arbitrum's Discord server
- Telegram - A dev focused chat for Stylus builders
- Offchain Labs Twitter - Follow along for Offchain Labs and Arbitrum news and info
- Stylus Repo - The repo hosting the core code
- A Gentle Introduction: Stylus
- Quickstart (Rust, Stylus)
- How To Add a New Programming Language To Stylus
- How To Run a Local Dev Node With Stylus Support
- Stylus Rust SDK: Feature Overview
- Getting Started With Arbitrum Stylus (video)
- Building a Stylus Smart Contract (video)
- Using AssemblyScript on Stylus (video)
- Arbitrum Rust Smart Contracts for Solidity Devs (video)
- Uniswap V2 In Wasm - A Uniswap v2 proof of concept implementation
- ERC20 Examples
- Stylus Permit - An ERC20 Permit example in Rust
- Stylusmate - An ERC20 with Ownable module in Rust
- ERC721 Examples
- P256 Verification Using Arbitrum Stylus - Example of C code compiled to Stylus to verify an ECDSA signature using a standard P256 Curve
- Keccak Looper - A Rust contract that loops n times and hashes an input string repeatedly
- Stylus BLST - A C based smart contract that verifies BLS signatures onchain
- Stylus AssemblyScript Example - Sieve of Erathosthenes implemented with AssemblyScript
- RKFall NFT - A Rust based project that uses gravitational field computation for generating NFTs
- Pausable Library in Rust - A sample implementation of Pausable and Ownable in Rust.
- Stylus ERC4626 - A sample implementation of OpenZeppelin ERC4626 contract in Rust
- stylus-toolkit - A toolkit of Stylus primitives and examples of their usage
- stylus-benchmark - A project benchmarking Stylus vs EVM implementations on their gas consumption