setup-stellar-contracts
OfficialScaffold Soroban contracts with OpenZeppelin
AuthorOpenZeppelin
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides a repeatable, opinionated setup for Soroban/Stellar smart contract projects that removes guesswork about toolchain, CLI, and dependency configuration so developers can start building with OpenZeppelin crates quickly.
Core Features & Use Cases
- Toolchain and CLI setup: Guides installing the Rust toolchain with the wasm32v1-none target and the Stellar CLI required for Soroban development.
- Workspace dependency management: Explains how to pin OpenZeppelin crates in the root Cargo.toml workspace dependencies and reference them in per-contract Cargo.toml files.
- Build and test patterns: Documents code import conventions, common macros and traits, and the commands to build WASM artifacts and run tests.
- Use Case: When creating a new token or governance contract on Soroban, follow these steps to initialize the project, add the exact OpenZeppelin crates, implement the contract patterns, build to WASM, and run unit tests.
Quick Start
Initialize a new Soroban project named my_project, add the OpenZeppelin crates to the root workspace dependencies and each contract's Cargo.toml as workspace dependencies, then build the contract to WASM and run tests.
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-stellar-contracts Download link: https://github.com/OpenZeppelin/openzeppelin-skills/archive/main.zip#setup-stellar-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.