Browse Source

rename privsec -> bitcore

patch-2
Ryan X. Charles 11 years ago
parent
commit
b783b58762
  1. 4
      LICENSE.md
  2. 4
      README.md
  3. 64
      index.js
  4. 4
      package.json

4
LICENSE.md

@ -1,6 +1,8 @@
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:

4
README.md

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

64
index.js

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

4
package.json

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

Loading…
Cancel
Save