setup-stylus-contracts
OfficialQuickly scaffold Stylus smart contract projects
AuthorOpenZeppelin
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill removes the friction of bootstrapping Stylus smart contract projects for Arbitrum by consolidating the Rust toolchain setup, Cargo Stylus project creation, OpenZeppelin dependency configuration, ABI export, and deployment steps into a clear, actionable workflow.
Core Features & Use Cases
- Toolchain & Project Bootstrapping: Step-by-step guidance to install Rust, add the wasm32-unknown-unknown target, install cargo-stylus, and create a new Cargo Stylus project.
- OpenZeppelin Integration: Instructions to add the openzeppelin-stylus crate to Cargo.toml, enable the export-abi feature, and configure crate-type for both library and cdylib outputs.
- Build, ABI Export & Deploy: Validation and build checks, exporting a Solidity-compatible ABI, and deploying the compiled Stylus WASM to an Arbitrum Stylus endpoint.
- Use Case: Create and deploy an ERC20-style token that composes OpenZeppelin components, export its ABI for integrations, and run it on Arbitrum.
Quick Start
Create a new Stylus project with cargo stylus, add openzeppelin-stylus to Cargo.toml with the export-abi feature and correct crate-type, compile to wasm, export the ABI, and deploy to your Arbitrum Stylus endpoint.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: setup-stylus-contracts Download link: https://github.com/OpenZeppelin/openzeppelin-skills/archive/main.zip#setup-stylus-contracts Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.