stellar-ios-sdk

Solid

Build Stellar blockchain applications in Swift using stellar-ios-mac-sdk. Use when generating Swift code for transaction building, signing, Horizon API queries, Soroban RPC, smart contract deployment and invocation, XDR encoding/decoding, and SEP protocol integration. Covers 26+ operations, 50 Horizon endpoints, 12 RPC methods, and 17 SEP implementations with Swift async/await and callback-based streaming patterns. Full Swift 6 strict concurrency support (all types Sendable).

API & Backend 130 stars 57 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 93/100

Stars 20%
71
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Stellar SDK for iOS & Mac ## Overview The Stellar iOS/Mac SDK (`stellarsdk`) is a native Swift library for building Stellar applications on iOS 15+ and macOS 12+. It provides 100% Horizon API coverage (50/50 endpoints), 100% Soroban RPC coverage (12/12 methods), and 17 SEP implementations. All public APIs use Swift async/await with Swift 6 strict concurrency. The SDK has zero external dependencies. **Module name:** `stellarsdk` (always lowercase in import statements) ## Installation ### Swift Package Manager ```swift .package(name: "stellarsdk", url: "git@github.com:Soneso/stellar-ios-mac-sdk.git", from: "3.4.6") ``` ### CocoaPods ```ruby pod 'stellar-ios-mac-sdk', '~> 3.4.6' ``` > All code examples below assume `import stellarsdk`. > > If you can't find a constructor or method signature in this file or the topic references, grep `references/api_reference.md` — it has all public class/method signatures. ## 1. Stellar Basics Fundamental Stellar concepts and SDK patterns. ### Keys and KeyPairs ```swift // Generate new keypair let keyPair = try KeyPair.generateRandomKeyPair() let accountId = keyPair.accountId // G-address guard let secretSeed = keyPair.secretSeed else { throw StellarSDKError.invalidArgument(message: "Failed to get secret seed") } // WARNING: Store secretSeed securely (iOS Keychain). Never log or hardcode it. // From existing seed let keyPair = try KeyPair(secretSeed: seed) let publicOnly = try KeyPair(accountId: "GABC...") // public...

Details

Author
Soneso
Repository
Soneso/stellar-ios-mac-sdk
Created
8 years ago
Last Updated
today
Language
Swift
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Listed

swift-development

Comprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.

355 Updated today
aiskillstore
Web & Frontend Listed

apple-engineer-superpowers

Use when writing Swift code for Apple platforms - iOS, macOS, visionOS. Covers Swift 6 concurrency, actors, Sendable, async/await, SwiftUI, MVVM architecture, Metal GPU programming, RealityKit ECS, visionOS scenes, interpolation/animation, advanced collection types, property wrappers, Combine bridging, error handling, testing, and API design patterns.

24 Updated 3 months ago
piemonte
API & Backend Listed

ios-platform

iOS SDK framework guidance for a health/PHI app — Core Data at-rest encryption (SQLCipher/EncryptedCoreData + File Protection Complete fallback), CryptoKit AES.GCM + Keychain key management (accessibility classes, no iCloud sync), Vision OCR (RecognizeTextRequest / VNRecognizeTextRequest, handwriting limits, mandatory manual fallback), AVFoundation capture, LocalAuthentication biometric lock, UserNotifications (Time Sensitive, 64-pending limit, rollover scheduling), HealthKit read-only, and privacy-manifest / data-protection / iCloud-prohibition compliance. Use when implementing or reviewing persistence, encryption, Keychain, OCR, camera, biometric auth, local notifications, HealthKit, or the privacy manifest in an iOS app. Requires the swift module. Not for SwiftUI view composition (swiftui) or pure language questions (swift).

1 Updated today
hmj1026