# coinnxtjs

> Simple bip44 derivation of any NXT coin base addresses

Latest version **1.0.1** (published 2018-01-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install coinnxtjs
pnpm add coinnxtjs
yarn add coinnxtjs
bun add coinnxtjs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-01-05 |
| First published | 2018-01-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | unibtc@gmail.com |
| Maintainers | unibtc |
| Keywords | nxt, bip44, address, bip39 |

## Links

- npm: https://www.npmjs.com/package/coinnxtjs
- Repository: https://github.com/Bitclimb/coinnxtjs
- Homepage: https://github.com/Bitclimb/coinnxtjs#readme
- Issues: https://github.com/Bitclimb/coinnxtjs/issues
- npm.io page: https://npm.io/package/coinnxtjs

## Dependencies (4)

- [jsbn](https://npm.io/package/jsbn.md) ^1.1.0
- [pako](https://npm.io/package/pako.md) ^1.0.6
- [crypto-js](https://npm.io/package/crypto-js.md) ^3.1.9-1
- [bitcoinjs-lib](https://npm.io/package/bitcoinjs-lib.md) ^3.3.2

## Recent versions

- 1.0.1 (latest) — 2018-01-05
- 1.0.0 — 2018-01-05

## README

# coinnxtjs
Simple bip44 derivation of any NXT coin base addresses

## Usage
```js
const nxtjs = require('coinnxtjs');
const bitcoin = require('bitcoinjs-lib');

//using bip39 mnemonic
const seed = bip39.mnemonicToSeed(mnemonic); // your 12 word bip39 seed
// using bip32 xpriv
const seed = bitcoin.crypto.sha256(BIP32_KEY); // your BIP32 KEY

const node = nxtjs.fromSeedBuffer(seed,'BURST');
const master = node.derivePath(`m/44'/30'/0'/0/0`);

console.log(master.getAddress())
//prints BURST-xxxx address
console.log(master.getPrivateKey())
//prints the private seed
master.signTransaction(txhex)
//signs a transaction
```

---
_Source: https://npm.io/package/coinnxtjs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
