2014-02-04 10:26:58 -08:00
|
|
|
/*
|
|
|
|
* Bitcore bindings for the browser
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
module.exports.bignum = require('bignum');
|
|
|
|
module.exports.base58 = require('base58-native');
|
2014-02-19 09:25:14 -08:00
|
|
|
module.exports.buffertools = require('buffertools');
|
2014-02-06 07:57:47 -08:00
|
|
|
module.exports.config = require('./config');
|
2014-02-19 09:27:03 -08:00
|
|
|
module.exports.const = require('./const');
|
2014-02-19 09:30:48 -08:00
|
|
|
module.exports.Deserialize = require('./Deserialize');
|
2014-02-06 07:57:47 -08:00
|
|
|
module.exports.log = require('./util/log');
|
2014-02-19 07:17:19 -08:00
|
|
|
module.exports.networks = require('./networks');
|
2014-02-06 10:49:22 -08:00
|
|
|
module.exports.util = require('./util/util');
|
2014-02-19 09:25:14 -08:00
|
|
|
module.exports.EncodedData = require('./util/EncodedData');
|
|
|
|
module.exports.VersionedData = require('./util/VersionedData');
|
|
|
|
module.exports.Address = require('./Address');
|
|
|
|
module.exports.Opcode = require('./Opcode');
|
2014-02-06 10:49:22 -08:00
|
|
|
module.exports.Script = require('./Script');
|
2014-02-18 06:39:47 -08:00
|
|
|
module.exports.Transaction = require('./Transaction');
|
2014-02-18 07:47:15 -08:00
|
|
|
module.exports.Peer = require('./Peer');
|
2014-02-19 11:07:50 -08:00
|
|
|
module.exports.PeerManager = require('./PeerManager');
|
2014-02-18 07:47:15 -08:00
|
|
|
module.exports.Block = require('./Block');
|
2014-02-18 08:17:23 -08:00
|
|
|
module.exports.Connection = require('./Connection');
|
2014-02-18 08:22:27 -08:00
|
|
|
module.exports.ScriptInterpreter = require('./ScriptInterpreter');
|
2014-02-19 07:48:35 -08:00
|
|
|
module.exports.Bloom = require('./Bloom');
|
2014-02-19 11:07:50 -08:00
|
|
|
module.exports.Key = require('./Key').Key;
|
|
|
|
module.exports.SINKey = require('./SINKey');
|
|
|
|
module.exports.SIN = require('./SIN');
|
|
|
|
module.exports.PrivateKey = require('./PrivateKey');
|
|
|
|
module.exports.RpcClient = require('./RpcClient');
|
|
|
|
module.exports.Wallet = require('./Wallet');
|
|
|
|
module.exports.WalletKey = require('./WalletKey');
|
2014-02-04 10:26:58 -08:00
|
|
|
|
|
|
|
|
|
|
|
if (typeof process.versions === 'undefined') {
|
|
|
|
module.exports.bignum.config({EXPONENTIAL_AT: 9999999, DECIMAL_PLACES: 0, ROUNDING_MODE: 1});
|
|
|
|
}
|
|
|
|
|