![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
stellar-sdk
Advanced tools
js-stellar-sdk is a client-side Stellar Javascript library for communicating with a Stellar Horizon server. It is used for building Stellar apps either on Node.js or in the browser.
It provides:
js-stellar-sdk is a high-level library that serves as client side API for Horizon. This library makes extensive use of the lower-level js-stellar-base and exposes js-stellar-base classes via its export object. js-stellar-base can be used as a standalone library for creating Stellar primitive constructs via XDR helpers and wrappers. js-stellar-base doesn't depend on connecting to Horizon.
js-stellar-sdk exposes all js-stellar-base classes so you don't have to install js-stellar-base along js-stellar-sdk.
Using npm to include js-stellar-sdk in your own project:
npm install --save stellar-sdk
For browsers, use Bower to install js-stellar-sdk. It exports a
variable StellarSdk
. The example below assumes you have stellar-sdk.js
relative to your html file.
<script src="stellar-sdk.js"></script>
<script>console.log(StellarSdk);</script>
npm install --save stellar-sdk
var StellarSdk = require('stellar-sdk');
bower install stellar-sdk
<script src="./bower_components/stellar-sdk/stellar-sdk.js"></script>
<script>console.log(StellarSdk);</script>
If you don't want to use install Bower, you can copy built JS files from the bower-js-stellar-sdk repo.
<script src="https://cdnjs.cloudflare.com/ajax/libs/stellar-sdk/{version}/stellar-sdk.js"></script>
<script>console.log(StellarSdk);</script>
Note that this method relies using a third party to host the JS library. This may not be entirely secure.
Make sure that you are using the latest version number. They can be found on the releases page in Github.
git clone https://github.com/stellar/js-stellar-sdk.git
cd js-stellar-sdk
npm install
For information on how to use js-stellar-sdk, take a look at the Developers site.
There is also API Documentation here.
To run all tests:
gulp test
To run a specific set of tests:
gulp test:node
gulp test:browser
Documentation for this repo lives in Developers site.
For information on how to contribute, please refer to our contribution guide.
npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease]
A new version will be published to npm and Bower by Travis CI.
npm >=2.13.0 required. Read more about npm version.
js-stellar-sdk is licensed under an Apache-2.0 license. See the LICENSE file for details.
0.4.3
stellar-base
).FAQs
A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.
We found that stellar-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.