@samrock5000/xecjs

0.0.1 • Public • Published

xec-js

Version Downloads/week License js-standard-style

xec-js is a JavaScript npm library for creating web and mobile apps that can interact with the eCash (XEC) blockchain.

Quick Links

Quick Notes

  • Install library: npm install xec-js

  • Instantiate the library in your code:

const XECJS = require("xec-js")
let xecjs = new XECJS() // Defaults to the XEC network.

This library is intended to be paired with the the xec-api REST API. The restURL property can be changed to work with different eCash XEC networks:

New eCash Features

  • transaction-builder can now directly take in an eCash address as part of adding tx outputs without the need for cash address conversion beforehand

See buildXecTx.js example

  • Address.toHash160() can now directly take in an eCash address for conversion to a hash160 public key hash

See addrToHash160.js example

  • Address.toCashAddress() can now directly take in an eCash address for conversion to a cash address

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @samrock5000/xecjs

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

892 kB

Total Files

66

Last publish

Collaborators

  • samrock5000