OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

Stellar SDK for iOS & macOS

The Stellar SDK for iOS & macOS is an Apache-2.0-licensed Swift library for building iOS and macOS applications that interact with Stellar and Horizon. It provides documented support for transaction construction, signing and submission, Horizon queries and streaming, Soroban RPC and SEP integrations.

Independent OpenViST project profile, based on linked sources.

Stellar SDK for iOS & macOS — OpenViST project profile in Developer Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when implementing Stellar network functionality in a Swift app for iOS or macOS, rather than looking for a finished consumer wallet.

Who it is for

  • Swift developers building iOS or macOS software that integrates with Stellar.
  • Teams implementing Stellar transactions, Horizon data access, Soroban contract interactions or SEP-based service connections.

Documented uses

  • Construct, sign and submit Stellar payment transactions.
  • Set up asset trustlines in an app.
  • Query Horizon data and use streaming.
  • Invoke Soroban smart contract methods through RPC.
  • Integrate with anchors and external services using SEP support.
Before you choose

Requirements & limits

The repository is public, open source and licensed under Apache-2.0. The documented package setup uses Swift Package Manager and specifies iOS 15+, macOS 12+ and Xcode 16+ with the Swift 6 toolchain.

  • The library targets iOS and macOS and is written in Swift.
  • The README provides examples for a payment, asset trustline and Soroban contract call.
  • Horizon, RPC and SEP compatibility matrices are linked from the repository.
  • The stated minimum platform and toolchain requirements may shape project compatibility.
  • The SDK includes smart-account support documented for passkeys/WebAuthn, multi-signer authorization, context rules and policies.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Add the Stellar SDK to an iOS or macOS app

Declare the SDK as a Swift Package Manager dependency for an app that targets a supported Apple platform.

Before you start

  • Xcode 16 or later with the Swift 6 toolchain
  • iOS 15 or later, or macOS 12 or later
  • An app project using Swift Package Manager

Steps

  1. Add .package(name: "stellarsdk", url: "git@github.com:Soneso/stellar-ios-mac-sdk.git", from: "3.12.0") to the package dependencies.

  2. Build the app in Swift 5 or Swift 6 language mode.

Expected outcome

The app's package configuration declares the Stellar SDK dependency.

Guide limitations

  • This recipe covers dependency setup only; it does not document adding a particular SDK feature to the app.
  • The repository provides compatibility matrices for Horizon, RPC, and SEP support; consult them when checking specific service compatibility.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
8 October 2026
Original website title
Soneso/stellar-ios-mac-sdk · Official homepage title · retained in its source language