Skip to content

The-Web3-Compass/ArbitrumStylusWorkshop_RUST

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Arbitrum Stylus Rust Examples

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.

Projects

1. Counter Example (my-counter)

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

2. CandyToken dApp (mint-token-dapp)

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

Getting Started

Each project has its own README with specific instructions. Navigate to the project directory you're interested in to learn more:

Prerequisites

  • Rust and Cargo
  • Node.js and npm
  • Arbitrum Stylus SDK
  • MetaMask wallet with Arbitrum Sepolia ETH

Resources

License

This repository is available under the MIT License. See the LICENSE file for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • CSS 47.4%
  • Rust 41.8%
  • HTML 10.8%