rename privsec -> bitcore

This commit is contained in:
Ryan X. Charles 2014-08-14 11:02:28 -04:00
parent bc1c4235f2
commit b783b58762
4 changed files with 39 additions and 37 deletions

View File

@ -1,6 +1,8 @@
This software is licensed under the MIT License. This software is licensed under the MIT License.
Copyright Ryan X. Charles, 2014. Copyright BitPay, 2014.
Portions of this software are Copyright Stefan Thomas, 2011.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

View File

@ -1,4 +1,4 @@
privsec bitcore
======= =======
Bitcoin privacy and security features implemented in pure javascript. A bitcoin library.

View File

@ -1,38 +1,38 @@
var privsec = module.exports; var bitcore = module.exports;
//main bitcoin library //main bitcoin library
privsec.Address = require('./lib/address'); bitcore.Address = require('./lib/address');
privsec.Base58 = require('./lib/base58'); bitcore.Base58 = require('./lib/base58');
privsec.Base58Check = require('./lib/base58check'); bitcore.Base58Check = require('./lib/base58check');
privsec.BIP32 = require('./lib/bip32'); bitcore.BIP32 = require('./lib/bip32');
privsec.BN = require('./lib/bn'); bitcore.BN = require('./lib/bn');
privsec.Constants = require('./lib/constants'); bitcore.Constants = require('./lib/constants');
privsec.ECDSA = require('./lib/ecdsa'); bitcore.ECDSA = require('./lib/ecdsa');
privsec.Hash = require('./lib/hash'); bitcore.Hash = require('./lib/hash');
privsec.KDF = require('./lib/kdf'); bitcore.KDF = require('./lib/kdf');
privsec.Key = require('./lib/key'); bitcore.Key = require('./lib/key');
privsec.Point = require('./lib/point'); bitcore.Point = require('./lib/point');
privsec.Privkey = require('./lib/privkey'); bitcore.Privkey = require('./lib/privkey');
privsec.Pubkey = require('./lib/pubkey'); bitcore.Pubkey = require('./lib/pubkey');
privsec.Random = require('./lib/random'); bitcore.Random = require('./lib/random');
privsec.Signature = require('./lib/signature'); bitcore.Signature = require('./lib/signature');
//experimental //experimental, nonstandard, or unstable features
privsec.expmt = {}; bitcore.expmt = {};
privsec.expmt.Stealth = require('./lib/expmt/stealth'); bitcore.expmt.Stealth = require('./lib/expmt/stealth');
//dependencies //dependencies, subject to change
privsec.deps = {}; bitcore.deps = {};
privsec.deps.bnjs = require('bn.js'); bitcore.deps.bnjs = require('bn.js');
privsec.deps.bs58 = require('bs58'); bitcore.deps.bs58 = require('bs58');
privsec.deps.buffer = Buffer; bitcore.deps.buffer = Buffer;
privsec.deps.elliptic = require('elliptic'); bitcore.deps.elliptic = require('elliptic');
privsec.deps.hashjs = require('hash.js'); bitcore.deps.hashjs = require('hash.js');
privsec.deps.sha512 = require('sha512'); bitcore.deps.sha512 = require('sha512');
//privsec.script = require('lib/script'); //bitcore.script = require('lib/script');
//privsec.scriptexec = require('lib/scriptexec'); //bitcore.scriptexec = require('lib/scriptexec');
//privsec.tx = require('lib/tx'); //bitcore.tx = require('lib/tx');
//privsec.txpartial = require('lib/txpartial'); //bitcore.txpartial = require('lib/txpartial');
//privsec.bip70 = require('lib/bip70'); //bitcore.bip70 = require('lib/bip70');

View File

@ -1,7 +1,7 @@
{ {
"name": "privsec", "name": "bitcore",
"version": "0.0.0", "version": "0.0.0",
"description": "A bitcoin wallet prioritizing privacy and security.", "description": "A bitcoin library.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "mocha" "test": "mocha"