This repository contains example projects demonstrating how to build applications using Arbitrum Stylus with Rust. Each project showcases different aspects of Stylus development and can be used as a reference for building your own applications.
A simple counter application built with Arbitrum Stylus and Rust. This example demonstrates the basics of Stylus contract development including:
- Setting up a Rust project for Stylus
- Implementing basic state storage
- Creating public methods for incrementing and reading a counter
- Deploying to Arbitrum Sepolia testnet
A complete ERC20 token implementation with a React frontend. This project showcases:
- Building an ERC20 token contract using Rust and Stylus SDK
- Implementing token minting and transfer functionality
- Creating a React frontend with ethers.js integration
- Connecting to MetaMask and handling network switching
- Interacting with the deployed contract from the frontend
Each project has its own README with specific instructions. Navigate to the project directory you're interested in to learn more:
- Rust and Cargo
- Node.js and npm
- Arbitrum Stylus SDK
- MetaMask wallet with Arbitrum Sepolia ETH
This repository is available under the MIT License. See the LICENSE file for more information.