2acoin-cryptonote-util

![image](https://i.imgur.com/fWVGDMA.png)

image

Master Build Status

Build Status

Development Build Status

Build Status

NPM

Node-Cryptonote-Util

Note: We build prebuilds of the Node.js native addon module binaries that are included for distribution with the NPM installed version of this package to speed up your development and use of this package.

Supported on the following platforms:

  • Linux 64-bit
  • Windows 64-bit

Dependencies

  • Node.js LTS (https://nodejs.org/) 10+
  • Boost (http://www.boost.org/)

Windows (if not using prebuilds)

Read very careful if you want this to work right the first time.

  1. Open a Windows Powershell console as Administrator

  2. Run the command: npm install -g windows-build-tools --vs2015 This will take a while. Sit tight.

Installation

npm install 2acoin-cryptonote-util

Intialization

TypeScript

Importing Individual Synchronous Methods
import { 
    address_decode, 
    construct_block_blob, 
    convert_blob, 
    convert_blob_bb, 
    get_block_id 
} from '2acoin-cryptonote-util';
Importing Async Class
import CryptoNoteUtils from '2acoin-cryptonote-util';

CommonJS

const cnUtils = require('2acoin-cryptonote-util');

Documentation

You can find the full TypeScript/JS documentation for this library here.