blocktrail_node_sdk

0.1.9 • Public • Published

blocktrail_node_sdk

This is a super-slim version of the original Node.js sdk provided by Blocktrail. This by no means a replacment for their sdk, I just found their sdk to includ to much and have so many dependcies. And it did not wanna play well with Docker. And I did not need all of the functionallity they offerd.

To install, just use npm:

npm install blocktrail_node_sdk

This sdk is using Promise

Examples

const Blocktrail = require('blocktrail_node_sdk');

var key = 'your_api_key';
var secret = 'your_secret_key';

// tBTC for testnet
var blocktrail = new Blocktrail('BTC', key, secret);

var createAddress = blocktrail.createAddress('wallet_name')
createAddress.then((result) => {
    console.log(result);
}, function(err) {
    console.log(err);
})

Readme

Keywords

Package Sidebar

Install

npm i blocktrail_node_sdk

Weekly Downloads

2

Version

0.1.9

License

MIT

Unpacked Size

8.55 kB

Total Files

6

Last publish

Collaborators

  • mathipalm