creacore-explorer

1.1.1 • Public • Published

Blockchain APIs for Creacore

NPM Package

A module for creacore that implements HTTP requests to different Web APIs to query the state of the blockchain.

Getting started

Be careful! When using this module, the information retrieved from remote servers may be compromised and not reflect the actual state of the blockchain.

npm install creacore-explorer
bower install creacore-explorer

At the moment, only Insight is supported, and only getting the UTXOs for an address and broadcasting a transaction.

var explorers = require('creacore-explorer');
var insight = new explorers.Insight();

insight.getUtxos('Ccreativecoin...', function(err, utxos) {
  if (err) {
    // Handle errors...
  } else {
    // Maybe use the UTXOs to create a transaction
  }
});

Contributing

See CONTRIBUTING.md on the main creacore repo for information about how to contribute.

License

Code released under the MIT license.

Copyright 2013-2015 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.

Copyright 2018 Creativechain Core Developers

Package Sidebar

Install

npm i creacore-explorer

Weekly Downloads

2

Version

1.1.1

License

MIT

Unpacked Size

54 kB

Total Files

18

Last publish

Collaborators

  • gcamerli