Socket
Book a DemoInstallSign in
Socket

@crypdex/stellar-utils

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crypdex/stellar-utils

A collection of functions for hacking Stellar

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

Stellar Utils

A collection of functions useful for hacking Stellar.

These functions are written for Node 8.x. Contributions for transpilation are welcome.

Basic Usage

const { objectFromXdr } = require('@crypdex/stellar-utils')

// 1. Make some request and get the tx response (or any other base64 encoded XDR doc)
const { result_meta_xdr } = txResponse

transactionMeta = objectFromXdr(result_meta_xdr, 'TransactionMeta')

// This is the object you are looking for.
// => transactionMeta

Development

  • yarn

The code is formatted using Prettier to avoid formatting contention. Eslint is also in effect.

Testing

Run the tests to make sure the libs work

yarn test

FAQs

Package last updated on 14 Feb 2018

Did you know?

Socket

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.

Install

Related posts