OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

Js Stellar Base

Js Stellar Base is a low-level JavaScript library whose helper classes read, write, hash and sign Stellar XDR structures used in stellar-core.

Independent OpenViST project profile, based on linked sources.

Js Stellar Base — 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 a JavaScript application needs low-level handling of Stellar XDR. Consider the maintenance status when selecting a dependency for future protocol updates.

Who it is for

  • JavaScript developers building Stellar applications that need to work directly with XDR data.
  • Developers creating wallet components, signing utilities or tools for inspecting Stellar XDR payloads.

Documented uses

  • Read and write Stellar XDR structures.
  • Hash or sign XDR data within JavaScript software.
  • Add XDR parsing and serialization to an application or developer tool.
Before you choose

Requirements & limits

  • The library supports Node.js and web browsers.
  • Node.js installation is documented with Yarn; browser options include self-hosting through Bower or loading a cdnjs script.
  • The project says the package is no longer actively updated and directs users to @stellar/stellar-sdk for future updates, including protocol releases.
  • The repository declares an Apache-2.0 license.

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 library to a Node.js project

Install Js Stellar Base and import it into a JavaScript project.

Before you start

  • A Node.js project
  • Yarn

Steps

  1. Run yarn add @stellar/stellar-base.

  2. Import the package with var StellarBase = require("@stellar/stellar-base");.

Expected outcome

The project can reference the library through the `StellarBase` variable.

Guide limitations

  • The package is no longer actively updated; future updates, including protocol releases, ship in @stellar/stellar-sdk.
Evidence and transparency

Sources & review

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

Related options

@stellar/stellar-sdk — The project recommends switching to this package for future updates, including protocol releases, and says it re-exports the full API of `@stellar/stellar-base`.