{"repo":"stellar/js-stellar-sdk","free":true,"listed":false,"github":"https://github.com/stellar/js-stellar-sdk","clone":"git clone https://github.com/stellar/js-stellar-sdk.git","description":"Main Stellar client library for the JavaScript language.","language":"TypeScript","stars":693,"topics":["stellar","blockchain","cryptocurrency","javascript","horizon","sdk"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"Stellar JS SDK (js-stellar-sdk) js-stellar-sdk is a JavaScript library for communicating with a Stellar Horizon server and Stellar RPC. While primarily intended for applications built on Node.js or in the browser, it can be adapted for use in other environments with some tinkering. The library provides: - a networking layer API for Horizon endpoints (REST-based), - a networking layer for Soroban RPC (JSONRPC-based). - facilities for building and signing transactions, for communicating with a Stellar Horizon instance, and for submitting transactions or querying network history. Jump to: - Installation: details on hitting the ground running - Usage: links to documentation and a variety of workarounds for non-traditional JavaScript environments - ...with React Native - ...with Expo - ...with CloudFlare Workers - CLI: generate TypeScript bindings for Stellar smart contracts - Migrating: migration guides for breaking changes - Developing: contribute to the project! - License Installation Using npm, pnpm, or yarn to include stellar-sdk in your own project: Then, require or import it in your JavaScript code: (Preferably, you would only import the pieces you need to enable tree-shaking and lower your final bundle sizes.) Browsers You can use a CDN: Note: Always make sure that you are using the latest version number. They can be found on the releases page in GitHub. Custom Installation The default bundle uses a native-fetch HTTP client with no axios dependency. If you need the axios t","default_branch":null,"files":null,"tree":[],"storefront":"/r/stellar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stellar/js-stellar-sdk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}