js-stellar-sdk

Build Stellar blockchain applications with the Stellar JS SDK.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/padparadscho/skills --skill js-stellar-sdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: js-stellar-sdk
Source: https://github.com/padparadscho/skills/tree/main/skills/js-stellar-sdk
Command: npx skills add https://github.com/padparadscho/skills --skill js-stellar-sdk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables developers to build Stellar blockchain applications using the Stellar JS SDK in JavaScript/TypeScript, providing access to core workflows such as accounts, payments, asset issuance, trustlines, DEX trading, Horizon queries, Stellar RPC interactions, streaming, and Soroban contract support.

Core Features & Use Cases

  • Horizon & RPC access: interact with Horizon REST APIs and Soroban RPC for on-chain data and contract calls.
  • Transaction building & submission: create, sign, and submit transactions with multiple operations and memo support.
  • Asset management & trust: issue, trust, and manage assets, paths, and liquidity pools across the Stellar network.
  • Streaming & events: monitor payments, transactions, and effects in real time; supports account and ledger streams.
  • Use Case Examples: implement a payments workflow, asset issuance, or a simple Soroban contract interaction in a Node.js/Browser app.

Quick Start

Install the stellar-sdk package and run a minimal example to build a payment transaction.

Frequently Asked Questions about js-stellar-sdk

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

FAQPage Schema
How do I build and submit a Stellar payment transaction using JavaScript?

To build a Stellar payment transaction in JavaScript, use the @stellar/stellar-sdk library to construct the transaction, sign it, and submit it via the Horizon REST API. The SDK supports multiple operations and memos within a single transaction.

Does the Stellar JS SDK support Soroban smart contracts?

Yes, the Stellar JS SDK supports Soroban smart contracts by interacting with Soroban RPC for on-chain data queries and executing contract calls directly within JavaScript or TypeScript applications.

What's the best way to stream real-time Stellar payments and effects in Node.js?

The best way to stream Stellar payments and effects in Node.js is using the Stellar JS SDK's streaming features. It allows you to monitor accounts, transactions, and effects in real time via Horizon endpoints.

Can I manage asset issuance and trustlines using the Stellar SDK in TypeScript?

Yes, you can manage asset issuance and trustlines using the Stellar SDK in TypeScript. The SDK provides functions to issue, trust, and manage assets, paths, and liquidity pools across the Stellar network.

What prerequisites are needed to start building Stellar blockchain apps with JavaScript?

To build Stellar blockchain apps with JavaScript, you need the @stellar/stellar-sdk library installed and standard Node.js tooling configured. This setup enables workflows like payments, asset issuance, and Soroban contract interactions.