The js-base library is the lowest-level helper library. It consists of classes to read, write, hash, and sign the xdr structures that are used in core. This is an implementation in JavaScript that can be used on either Node.js or web browsers. js-base is fork of js-stellar-base
Warning! Node version of this package is using
ed25519
package, a native implementation of Ed25519 in Node.js, as an optional dependency. This means that if for any reason installation of this package fails,stellar-base
will fallback to the much slower implementation contained intweetnacl
.If you are using
js-base
in a browser you can ignore this. However, for production backend deployments you should definitely be usinged25519
. Ifed25519
is successfully installed and workingStellarBase.FastSigning
variable will be equaltrue
. Otherwise it will befalse
.
js-stellar-base is licensed under an Apache-2.0 license. See the LICENSE file for details.