setup-stellar-contracts

Set up a Stellar Soroban project with OpenZeppelin crates.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/phpmac/foundry --skill setup-stellar-contracts-phpmac
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: setup-stellar-contracts
Source: https://github.com/phpmac/foundry/tree/main/.agents/skills/setup-stellar-contracts
Command: npx skills add https://github.com/phpmac/foundry --skill setup-stellar-contracts-phpmac

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Set up a Stellar Soroban smart contract project with OpenZeppelin contracts for Stellar. Use when users need to: (1) install Stellar CLI and Rust toolchain for Soroban, (2) create a new Soroban project, (3) add OpenZeppelin Stellar dependencies to Cargo.toml, or (4) understand Soroban import conventions and contract patterns for OpenZeppelin.

Core Features & Use Cases

  • Install Rust toolchain and WASM target to enable compiling Soroban contracts.
  • Install the Stellar CLI and initialize a new Soroban project to create a Cargo workspace with contracts.
  • Add OpenZeppelin crates to the root workspace and per-contract Cargo.toml files to enable Stellar-compatible cryptography and utilities.
  • Follow Soroban patterns and import conventions to structure contracts and tests for Stellar deployments.

Quick Start

Install the Rust toolchain, Stellar CLI, and then create a new Soroban project and wire in OpenZeppelin crates.

Frequently Asked Questions about setup-stellar-contracts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Stellar Soroban project with OpenZeppelin contracts?▼

Setting up a Stellar Soroban project with OpenZeppelin requires installing the Rust toolchain with the wasm target, initializing a project with the Stellar CLI, and adding OpenZeppelin crates to your Cargo.toml workspace.

What do I need to install before developing Soroban smart contracts?▼

Developing Soroban smart contracts requires installing the Rust toolchain, adding the wasm compilation target, and installing the Stellar CLI to initialize and manage your Cargo workspace.

How do I add OpenZeppelin dependencies to a Soroban Cargo workspace?▼

Adding OpenZeppelin dependencies to a Soroban Cargo workspace involves configuring the root workspace Cargo.toml and per-contract Cargo.toml files with the pinned OpenZeppelin crates for Stellar.

Does OpenZeppelin work with Stellar Soroban contracts?▼

OpenZeppelin works with Stellar Soroban contracts by providing Stellar-compatible cryptography and utilities through dedicated crates that integrate into your Rust workspace using standard contract patterns.

What are the import conventions for OpenZeppelin in Soroban contract development?▼

Soroban contract development with OpenZeppelin follows specific import conventions to structure contracts and tests, ensuring standard contract patterns are correctly referenced for Stellar deployments.

Can I use this Soroban setup without prior Rust Cargo workspace experience?▼

Using this Soroban setup without prior Rust Cargo workspace experience is challenging because it requires familiarity with Cargo.toml workspace configurations, contract references, and the Rust toolchain to compile contracts correctly.