0.1.9 • Published 6 years ago

blocktrail_node_sdk v0.1.9

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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);
})
0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago