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
- Node.js LTS (https://nodejs.org/) 10+
- Boost (http://www.boost.org/)
Read very careful if you want this to work right the first time.
-
Open a Windows Powershell console as Administrator
-
Run the command:
npm install -g windows-build-tools --vs2015
This will take a while. Sit tight.
npm install turtlecoin-cryptonote-util
import {
address_decode,
construct_block_blob,
convert_blob,
convert_blob_bb,
get_block_id
} from 'turtlecoin-cryptonote-util';
import CryptoNoteUtils from 'turtlecoin-cryptonote-util';
const cnUtils = require('turtlecoin-cryptonote-util');
You can find the full TypeScript/JS documentation for this library here.