stellar-skills

Stellar blockchain and Soroban smart contract development. SDKs, wallets, DeFi protocols, and ecosystem tools. Use when building dApps on Stellar, writing Soroban contracts, integrating wallets, or working with Horizon/Soroban RPC.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "stellar-skills" with this command: npx skills add cuyoconnect/stellar/cuyoconnect-stellar-stellar-skills

Stellar & Soroban Development

Quick Reference

Networks

NetworkHorizonSoroban RPCExplorer
Mainnethorizon.stellar.orgsoroban-rpc.mainnet.stellar.gateway.fmstellar.expert
Testnethorizon-testnet.stellar.orgsoroban-testnet.stellar.orgstellar.expert/explorer/testnet
Futurenethorizon-futurenet.stellar.orgrpc-futurenet.stellar.orgstellarchain.io

Faucet (Testnet)

curl "https://friendbot.stellar.org?addr=YOUR_PUBLIC_KEY"

CLIs & Scaffolds

ToolUse
stellar CLIBuild, deploy, invoke contracts, generate TS bindings
Scaffold StellarFull project (Soroban + frontend + local network) → scaffoldstellar.org
Stellar LabWeb tool for network experiments → lab.stellar.org

SDKs

LibraryPurpose
@stellar/stellar-sdkOfficial JS/TS SDK (classic + Soroban)
soroban-sdk (Rust)Write Soroban smart contracts
@stellar/freighter-apiDirect Freighter wallet integration
@creit.tech/stellar-wallets-kitMulti-wallet abstraction → stellarwalletskit.dev

Workflows

Workflow 1: Connect Wallet (Stellar Wallets Kit)

import { StellarWalletsKit, WalletNetwork, allowAllModules } from '@creit.tech/stellar-wallets-kit';

const kit = new StellarWalletsKit({
  network: WalletNetwork.TESTNET,
  selectedWalletId: 'freighter',
  modules: allowAllModules(),
});

// Open modal to select wallet
await kit.openModal({
  onWalletSelected: async (option) => {
    kit.setWallet(option.id);
    const { address } = await kit.getAddress();
    console.log('Connected:', address);
  }
});

Workflow 2: Deploy Contract (stellar CLI)

# Build contract
stellar contract build

# Deploy to testnet
stellar contract deploy \
  --wasm target/wasm32-unknown-unknown/release/my_contract.wasm \
  --source alice \
  --network testnet

# Generate TypeScript bindings
stellar contract bindings typescript \
  --contract-id CXXXXX... \
  --output-dir ./src/contracts/my-contract \
  --network testnet

Workflow 3: Invoke Contract

import * as StellarSdk from '@stellar/stellar-sdk';

const server = new StellarSdk.SorobanRpc.Server('https://soroban-testnet.stellar.org');
const contract = new StellarSdk.Contract('CXXXXX...');

// Build transaction
const tx = new StellarSdk.TransactionBuilder(account, { fee: '100' })
  .addOperation(contract.call('method_name', ...args))
  .setTimeout(30)
  .build();

// Simulate
const simulated = await server.simulateTransaction(tx);

// Sign with wallet kit
const { signedTxXdr } = await kit.signTransaction(tx.toXDR());

// Submit
const result = await server.sendTransaction(
  StellarSdk.TransactionBuilder.fromXDR(signedTxXdr, StellarSdk.Networks.TESTNET)
);

Workflow 4: Sign & Submit with Wallet Kit

// For Soroban transactions that need simulation
const signedTx = await kit.signTransaction(tx.toXDR(), {
  networkPassphrase: StellarSdk.Networks.TESTNET,
});

// Submit and poll for result
const sendResponse = await server.sendTransaction(
  StellarSdk.TransactionBuilder.fromXDR(signedTx.signedTxXdr, StellarSdk.Networks.TESTNET)
);

if (sendResponse.status === 'PENDING') {
  let result = await server.getTransaction(sendResponse.hash);
  while (result.status === 'NOT_FOUND') {
    await new Promise(r => setTimeout(r, 1000));
    result = await server.getTransaction(sendResponse.hash);
  }
}

OpenZeppelin Contracts (Soroban)

Audited contracts. Check before writing custom logic.

CategoryIncludes
TokensFungible, NFT, RWAs, Stablecoin, Vault (SEP-56)
AccessOwnable, Role-Based Access Control
UtilsPausable, Upgradeable, Merkle Distributor

Wizard: https://wizard.openzeppelin.com Docs: https://docs.openzeppelin.com/stellar-contracts


Security

ToolUse
Scout AuditStatic analysis for Soroban → github.com/CoinFabrik/scout-soroban
scout-actionsGitHub Action for PR checks
# Run Scout locally
cargo install scout-audit
scout-audit --path ./contracts

Ecosystem

DeFi & Protocols

ProjectWhat
SoroswapAMM/DEX → soroswap.finance
DefindexYield aggregator → defindex.io
AllbridgeCross-chain bridge → allbridge.io
ReflectorOracles (SEP-40) → reflector.network

Infrastructure & Services

ProjectWhat
Trustless WorkProgrammable escrows → trustlesswork.com
MercuryCustom indexer (Retroshades, Zephyr) → mercurydata.app
Horizon APIOfficial API for network queries
Anchor PlatformOn/off-ramps (SEP-10, SEP-24, SEP-31)
Stellar Disbursement PlatformMass payouts infrastructure
MoneyGram RampsUSDC on/off-ramp at retail locations

Block Explorers

ExplorerNetworks
StellarExpertMainnet, Testnet → stellar.expert
StellarChainMainnet, Testnet, Futurenet → stellarchain.io
Stellar ExplorerAll networks

RPC Providers

ProviderNotes
SDF (public)Default, rate limited
Validation CloudFree + premium
AnkrHorizon + Soroban RPC
QuickNodePerformance tiers

SEPs (Stellar Ecosystem Proposals)

SEPPurpose
SEP-10Web Authentication
SEP-24Interactive deposits/withdrawals
SEP-41Soroban token interface
SEP-56Tokenized Vault Standard

All SEPs: github.com/stellar/stellar-protocol/tree/master/ecosystem


Decision Framework

What are you building?
│
├─ **Smart Contract** (Soroban)
│  ├─ Token? → Check OpenZeppelin first
│  ├─ DeFi? → Integrate with Soroswap/Defindex
│  └─ Custom logic → Use soroban-sdk + Scout audit
│
├─ **Frontend dApp**
│  ├─ Wallet connection → Stellar Wallets Kit
│  ├─ Contract interaction → @stellar/stellar-sdk
│  └─ Full scaffold → Scaffold Stellar
│
├─ **Backend/Indexing**
│  ├─ Simple queries → Horizon API
│  ├─ Custom indexing → Mercury
│  └─ Real-time → Soroban RPC subscriptions
│
└─ **Payments/Ramps**
   ├─ On/off-ramp → Anchor Platform
   └─ Mass payouts → Stellar Disbursement Platform

Docs

Principle: Check for existing tools/protocols before writing custom code.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

stellar-dev

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

china-sportswear-outdoor-sourcing

Comprehensive sportswear and outdoor equipment sourcing guide for international buyers – provides detailed information about China's athletic apparel, footwear, outdoor gear, and accessories manufacturing clusters, supply chain structure, regional specializations, and industry trends (2026 updated).

Archived SourceRecently Updated
Web3

china-lighting-sourcing

Comprehensive lighting industry sourcing guide for international buyers – provides detailed information about China's LED, smart, outdoor, automotive, and specialty lighting manufacturing clusters, supply chain structure, regional specializations, and industry trends (2026 updated).

Archived SourceRecently Updated