stellar-dev

Guides Soroban smart contract and Stellar dApp development across contracts, SDKs, wallets, and APIs.

3|1|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/Carts1024/Stellar-Project --skill stellar-dev-carts1024
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: stellar-dev
Source: https://github.com/Carts1024/Stellar-Project/tree/main/.github/skills/stellar-dev
Command: npx skills add https://github.com/Carts1024/Stellar-Project --skill stellar-dev-carts1024

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building on Stellar and Soroban requires navigating many moving parts: Rust smart contracts, multiple SDKs, RPC versus Horizon APIs, wallet signing flows, asset trustlines, and network-specific configuration. This Skill consolidates that knowledge into an opinionated playbook so developers avoid common errors like wrong network passphrases, missing trustlines, unsimulated Soroban transactions, and storage TTL expiry. ## Core Features & Use Cases - Soroban Contract Development: Rust contract patterns covering constructors, storage types, authorization, cross-contract calls, events, error handling, and deployment via Stellar CLI. - Frontend and Wallet Integration: Next.js/React patterns using @stellar/stellar-sdk, Freighter, Stellar Wallets Kit, and passkey-based smart accounts with fee sponsorship. - API and Data Access: Guidance on Stellar RPC versus Horizon, historical data via Hubble/Galexie, indexers, and migration strategies. - Specialized Topics: Stellar Assets and SAC bridging, zero-knowledge proof patterns, security checklists, testing strategies, advanced architecture (upgrades, factories, governance), and agentic payments via x402 and MPP protocols. - Use Case: A developer building a community pooling dApp can follow the playbook to write the Soroban contract in Rust, deploy it to testnet with the CLI, connect a Next.js frontend with Freighter signing, and index contract events over RPC. ## Quick Start Ask the assistant to help you build, deploy, or debug a Stellar or Soroban application, for example by requesting a Soroban token contract with a Next.js frontend that connects to Freighter on testnet.

Frequently Asked Questions about stellar-dev

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

FAQPage Schema
How do I deploy a Soroban smart contract to Stellar testnet?▼

Build the contract with stellar contract build, generate and fund an identity using stellar keys generate with the --fund flag, then run stellar contract deploy with the WASM file, source identity, and testnet network. The CLI returns a contract ID starting with C for subsequent invocations.

Should I use Stellar RPC or Horizon API for my dApp?▼

Use Stellar RPC for new projects, Soroban contract interactions, and transaction simulation. Horizon remains useful for historical queries, payment streaming, and legacy applications, since most RPC methods only cover 7 days of history.

How do I integrate Freighter wallet with a Next.js app?▼

Install @stellar/freighter-api and use isConnected, setAllowed, getPublicKey, and signTransaction to manage connection and signing. For multi-wallet support, use Stellar Wallets Kit which supports Freighter, LOBSTR, xBull, and others through one modal.

Why does my Soroban transaction fail with simulation errors?▼

Soroban transactions must be simulated before submission to compute resource limits and fees. Call rpc.simulateTransaction, then use rpc.assembleTransaction to attach the correct resources before signing and sending the transaction.

When should I use Stellar Assets instead of custom Soroban tokens?▼

Prefer Stellar Assets with classic issuance and trustlines for standard fungible tokens because they have built-in wallet, exchange, and anchor support. Use custom Soroban tokens only when you need complex on-chain logic, and rely on the Stellar Asset Contract bridge for interoperability.

Why does my contract data disappear after inactivity?▼

Soroban storage entries expire when their TTL runs out. Extend TTL proactively in contract functions using extend_ttl on instance or persistent storage, choosing thresholds appropriate for how long the data must remain accessible.