{"repo":"stellar/js-stellar-base","free":true,"listed":false,"github":"https://github.com/stellar/js-stellar-base","clone":"git clone https://github.com/stellar/js-stellar-base.git","description":"The lowest-level stellar helper library. It consists of classes to read, write, hash, and sign Stellar xdr","language":"JavaScript","stars":122,"topics":["stellar","blockchain","cryptocurrency","javascript"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"JS Stellar Base The stellar-base library is the lowest-level stellar helper library. It consists of classes to read, write, hash, and sign the xdr structures that are used in stellar-core. This is an implementation in JavaScript that can be used on either Node.js or web browsers. - API Reference ⚠️ Deprecation Notice: @stellar/stellar-base still works, but is no longer actively updated. Future updates, including protocol releases, ship only in @stellar/stellar-sdk , which re-exports this package's full API. Switch your dependency to @stellar/stellar-sdk to keep receiving updates. ⚠️ Quick start Using yarn to include js-stellar-base in your own project: For browsers, use Bower to install it. It exports a variable StellarBase . The example below assumes you have stellar-base.js relative to your html file. Install To use as a module in a Node.js project 1. Install it using yarn: 2. require/import it in your JavaScript: To self host for use in the browser 1. Install it using bower: 2. Include it in the browser: If you don't want to use install Bower, you can copy built JS files from the bower-js-stellar-base repo. To use the cdnjs hosted script in the browser 1. Instruct the browser to fetch the library from cdnjs, a 3rd party service that hosts js libraries: 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. To develop a","default_branch":null,"files":null,"tree":[],"storefront":"/r/stellar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stellar/js-stellar-base/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."}