0.2.0 • Published 5 years ago

broadcast-tx-offline v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

broadcast-tx-offline

NPM npm bundle size (minified)

Broadcast your signed transaction to a cryptocurrency network without a local node.

Installation

$ npm install broadcast-tx-offline

Example

var broadcast = require('broadcast-tx-offline');

broadcast.broadcastTx('bitcoin', '0100000001193f99...', (err, hash) => {
    if (err) {
        return console.log(err);
    }

    return console.log(hash);
});
// => 4e6dfb1415b4fba5bd257c129847c70fbd4e45e41828079c4a282680528f3a50

To Do List

1 Unit testing.

2 Support more coins.

3 Support more API to broadcast for every coins.

LICENSE

MIT