kmp-stellar-sdk

Build Kotlin Multiplatform apps for Stellar blockchain transactions and contracts.

11|4|Updated Sep 30, 2025
One-click install
npx skills add https://github.com/Soneso/kmp-stellar-sdk --skill kmp-stellar-sdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kmp-stellar-sdk
Source: https://github.com/Soneso/kmp-stellar-sdk/tree/main/skills/kmp-stellar-sdk
Command: npx skills add https://github.com/Soneso/kmp-stellar-sdk --skill kmp-stellar-sdk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Building production-grade Stellar blockchain applications requires deep knowledge of multiple APIs, cryptographic operations, and platform-specific nuances. This Skill eliminates the need to manually piece together documentation by providing comprehensive, copy-paste-ready guidance for the entire Stellar development lifecycle in Kotlin.

Core Features & Use Cases

  • Transaction Lifecycle: Create, sign, and submit Stellar transactions with proper sequence management and fee calculation.
  • Smart Contracts & Accounts: Deploy Soroban smart contracts, interact with them via RPC, and build passkey-authenticated smart accounts using OpenZeppelin contracts.
  • Data & Integration: Query Horizon REST API endpoints, stream real-time events via SSE, and implement 14 SEPs for anchor integrations, federation, and key derivation.
  • Use Case: A Kotlin mobile developer can use this Skill to implement a cross-platform Stellar wallet that works on Android and iOS, supporting passkey login, multi-signer accounts, and token swaps on the DEX.

Quick Start

Use this skill to generate Kotlin code that creates a new Stellar testnet account, funds it via FriendBot, builds a payment transaction sending 10 XLM, and submits it to the Horizon server.

Frequently Asked Questions about kmp-stellar-sdk

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

FAQPage Schema
How do I build a Stellar blockchain wallet in Kotlin Multiplatform?

Build a Stellar wallet in Kotlin Multiplatform by using this SDK to generate keypairs, construct and submit transactions to Horizon, and implement SEP standards across JVM, Android, iOS, macOS, and JavaScript targets.

Does the Kotlin Multiplatform Stellar SDK support Soroban smart contracts?

Yes, the Kotlin Multiplatform Stellar SDK supports Soroban smart contracts by enabling developers to deploy contracts, invoke methods via RPC, and build passkey-authenticated smart accounts using OpenZeppelin contracts.

What do I need to set up before developing Stellar dApps with Kotlin?

Developing Stellar dApps with Kotlin requires Kotlin 2.2+, the com.soneso.stellar:stellar-sdk 1.8.1 dependency, and coroutine contexts for suspend functions to execute cryptographic operations and network requests.

How do I query the Horizon REST API and stream events for Stellar network updates?

Query the Horizon REST API and stream real-time events via SSE using the Kotlin Multiplatform SDK, which provides copy-paste-ready guidance for endpoints, transaction submission, and XDR encoding and decoding.

Which SEP implementations are available for anchor integrations in a Kotlin Stellar app?

The Kotlin Stellar SDK provides 14 SEP implementations for anchor integrations, federation, and key derivation, allowing cross-platform apps to handle Stellar ecosystem protocols across JVM, Android, iOS, macOS, and JavaScript.

Can I handle XDR encoding and decoding for Stellar transactions in Kotlin?

Handle XDR encoding and decoding for Stellar transactions in Kotlin by utilizing the SDK's built-in serialization modules, which manage the binary data format required for transaction construction and network communication.