diff --git a/js/mine.js b/js/mine.js deleted file mode 100644 index 52aa254a..00000000 --- a/js/mine.js +++ /dev/null @@ -1,149 +0,0 @@ -// Adapted from Iuri Matias' Embark framework -// https://github.com/iurimatias/embark-framework -// Modified by ryepdx to mine at regular intervals. -(function() { - var main = function () { - /* TODO: Find a way to load mining config from YML. - - if (!loadScript("config.js")) { - console.log("== config.js not found"); - } - - if (typeof(config) === "undefined") { - config = {}; - console.log("== config is undefined, proceeding with defaults"); - } - - In the meantime, just set an empty config object. - */ - config = {}; - - defaults = { - interval_ms: 15000, - initial_ether: 15000000000000000000, - mine_pending_txns: true, - mine_periodically: false, - mine_normally: false, - threads: 1 - }; - - for (var key in defaults) { - if (config[key] === undefined) { - config[key] = defaults[key]; - } - } - - var miner_obj = (admin.miner === undefined) ? miner : admin.miner; - - if (config.mine_normally) { - //miner_obj.start(config.threads); - miner_obj.start(); - return; - } - - // TODO: check why it's no longer accepting this param - //miner_obj.stop(config.threads); - miner_obj.stop(); - - fundAccount(config, miner_obj, function () { - if (config.mine_periodically) start_periodic_mining(config, miner_obj); - if (config.mine_pending_txns) start_transaction_mining(config, miner_obj); - }); - }; - - var fundAccount = function (config, miner_obj, cb) { - var accountFunded = function () { - return (eth.getBalance(eth.coinbase) >= config.initial_ether); - }; - - if (accountFunded()) { - return cb(); - } - - console.log("== Funding account"); - miner_obj.start(); - - var blockWatcher = web3.eth.filter("latest").watch(function () { - if (accountFunded()) { - console.log("== Account funded"); - - blockWatcher.stopWatching(); - //miner_obj.stop(config.threads); - miner_obj.stop(); - cb(); - } - }); - }; - - var pendingTransactions = function() { - if (web3.eth.pendingTransactions === undefined || web3.eth.pendingTransactions === null) { - return txpool.status.pending || txpool.status.queued; - } - else if (typeof web3.eth.pendingTransactions === "function") { - return web3.eth.pendingTransactions().length > 0; - } - else { - return web3.eth.pendingTransactions.length > 0 || web3.eth.getBlock('pending').transactions.length > 0; - } - }; - - var start_periodic_mining = function (config, miner_obj) { - var last_mined_ms = Date.now(); - var timeout_set = false; - - //miner_obj.start(config.threads); - miner_obj.start(); - web3.eth.filter("latest").watch(function () { - if ((config.mine_pending_txns && pendingTransactions()) || timeout_set) { - return; - } - - timeout_set = true; - - var now = Date.now(); - var ms_since_block = now - last_mined_ms; - last_mined_ms = now; - - var next_block_in_ms; - - if (ms_since_block > config.interval_ms) { - next_block_in_ms = 0; - } else { - next_block_in_ms = (config.interval_ms - ms_since_block); - } - - //miner_obj.stop(config.threads); - miner_obj.stop(); - console.log("== Looking for next block in " + next_block_in_ms + "ms"); - - setTimeout(function () { - console.log("== Looking for next block"); - timeout_set = false; - //miner_obj.start(config.threads); - miner_obj.start(); - }, next_block_in_ms); - }); - }; - - var start_transaction_mining = function (config, miner_obj) { - web3.eth.filter("pending").watch(function () { - if (miner_obj.hashrate > 0) return; - - console.log("== Pending transactions! Looking for next block..."); - //miner_obj.start(config.threads); - miner_obj.start(); - }); - - if (config.mine_periodically) return; - - web3.eth.filter("latest").watch(function () { - if (!pendingTransactions()) { - console.log("== No transactions left. Stopping miner..."); - //miner_obj.stop(config.threads); - miner_obj.stop(); - } - }); - }; - - main(); -})(); diff --git a/package-lock.json b/package-lock.json index 8bc52508..0b824d1e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1190,7 +1190,7 @@ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz", "integrity": "sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==", "requires": { - "caniuse-lite": "1.0.30000856", + "caniuse-lite": "1.0.30000859", "electron-to-chromium": "1.3.48" } } @@ -1915,9 +1915,9 @@ "integrity": "sha1-MpAafWuTqH1Z8Iqu5H6o/27JD98=" }, "caniuse-lite": { - "version": "1.0.30000856", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000856.tgz", - "integrity": "sha512-x3mYcApHMQemyaHuH/RyqtKCGIYTgEA63fdi+VBvDz8xUSmRiVWTLeyKcoGQCGG6UPR9/+4qG4OKrTa6aSQRKg==" + "version": "1.0.30000859", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000859.tgz", + "integrity": "sha512-BucSdVZocKyKAdThos0fx7Ds941M1jddFazv7U3stFqxyWOc2JrxVn87Qo02DzP9Txb4lw9jIQddh9IT4WA3dQ==" }, "caseless": { "version": "0.8.0", @@ -2772,7 +2772,14 @@ "integrity": "sha1-g6c/L+pWmJj7c3GTyPhzyvbUXJQ=", "requires": { "foreach": "2.0.5", - "object-keys": "1.0.11" + "object-keys": "1.0.12" + }, + "dependencies": { + "object-keys": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.12.tgz", + "integrity": "sha512-FTMyFUm2wBcGHnH2eXmz7tC6IwlqQZ6mVZ+6dm6vZ4IQIHjs6FdNsQBuKGPuUUUY6NfJw2PshC08Tn6LzLDOag==" + } } }, "define-property": { @@ -3028,19 +3035,19 @@ } }, "embark-web3-provider-engine": { - "version": "14.0.6", - "resolved": "https://registry.npmjs.org/embark-web3-provider-engine/-/embark-web3-provider-engine-14.0.6.tgz", - "integrity": "sha512-/F829/RaNqT8AV3TVU/r4cYYyC9bBEY7RM2rhElyBoIhPehRfJr0WblaS8kpK9M6qdb9DpHZWb8EIc3qOJv8kw==", + "version": "14.0.7", + "resolved": "https://registry.npmjs.org/embark-web3-provider-engine/-/embark-web3-provider-engine-14.0.7.tgz", + "integrity": "sha512-XNa+JPOTK/CLcKkF/Tkz7+Sj9/rKqUW51sknRPmfbgG7Ai39xv5gdI8y8pnp7eR58YbOwm+HDp0tZ25seWycQA==", "requires": { "async": "2.6.1", "backoff": "2.5.0", "clone": "2.1.1", "cross-fetch": "2.2.1", - "eth-block-tracker": "3.0.1", + "eth-block-tracker": "4.0.1", "eth-json-rpc-infura": "3.1.2", "eth-sig-util": "1.4.2", "ethereumjs-block": "1.7.1", - "ethereumjs-tx": "1.3.4", + "ethereumjs-tx": "1.3.5", "ethereumjs-util": "5.2.0", "ethereumjs-vm": "2.3.5", "json-rpc-error": "2.0.0", @@ -3050,7 +3057,7 @@ "request": "2.87.0", "semaphore": "1.1.0", "tape": "4.9.1", - "ws": "5.2.0", + "ws": "5.2.1", "xhr": "2.5.0", "xtend": "4.0.1" }, @@ -3075,9 +3082,9 @@ } }, "ws": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.0.tgz", - "integrity": "sha512-c18dMeW+PEQdDFzkhDsnBAlS4Z8KGStBQQUcQ5mf7Nf689jyGk0594L+i9RaQuf4gog6SvWLJorz2NfSaqxZ7w==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.1.tgz", + "integrity": "sha512-2NkHdPKjDBj3CHdnAGNpmlliryKqF+n9MYXX7/wsVC4yqYocKreKNjydPDvT3wShAZnndlM0RytEfTALCDvz7A==", "requires": { "async-limiter": "1.0.0" } @@ -3501,38 +3508,13 @@ "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" }, "eth-block-tracker": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/eth-block-tracker/-/eth-block-tracker-3.0.1.tgz", - "integrity": "sha512-WUVxWLuhMmsfenfZvFO5sbl1qFY2IqUlw/FPVmjjdElpqLsZtSG+wPe9Dz7W/sB6e80HgFKknOmKk2eNlznHug==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/eth-block-tracker/-/eth-block-tracker-4.0.1.tgz", + "integrity": "sha512-ytJxddJ0TMcJHYxPlgGhMyr5EH6/Kyp3bg0WsjXgY9X0uYX3xVHTTeU5WVX6KX+9oJ37ZLUjh5PZ6VYnF1Fx/Q==", "requires": { + "eth-json-rpc-infura": "3.1.2", "eth-query": "2.1.2", - "ethereumjs-tx": "1.3.4", - "ethereumjs-util": "5.2.0", - "ethjs-util": "0.1.6", - "json-rpc-engine": "3.7.3", - "pify": "2.3.0", - "tape": "4.9.1" - }, - "dependencies": { - "ethereumjs-util": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", - "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", - "requires": { - "bn.js": "4.11.8", - "create-hash": "1.2.0", - "ethjs-util": "0.1.6", - "keccak": "1.4.0", - "rlp": "2.0.0", - "safe-buffer": "5.1.2", - "secp256k1": "3.5.0" - } - }, - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" - } + "pify": "3.0.0" } }, "eth-ens-namehash": { @@ -3565,7 +3547,7 @@ "eth-query": "2.1.2", "eth-tx-summary": "3.2.3", "ethereumjs-block": "1.7.1", - "ethereumjs-tx": "1.3.4", + "ethereumjs-tx": "1.3.5", "ethereumjs-util": "5.2.0", "ethereumjs-vm": "2.3.5", "fetch-ponyfill": "4.1.0", @@ -3620,6 +3602,13 @@ "ethereumjs-util": "5.2.0" }, "dependencies": { + "ethereumjs-abi": { + "version": "git+https://github.com/ethereumjs/ethereumjs-abi.git#4ea2fdfed09e8f99117d9362d17c6b01b64a2bcf", + "requires": { + "bn.js": "4.11.8", + "ethereumjs-util": "5.2.0" + } + }, "ethereumjs-util": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", @@ -3648,7 +3637,7 @@ "end-of-stream": "1.4.1", "eth-query": "2.1.2", "ethereumjs-block": "1.7.1", - "ethereumjs-tx": "1.3.4", + "ethereumjs-tx": "1.3.5", "ethereumjs-util": "5.2.0", "ethereumjs-vm": "2.3.4", "through2": "2.0.3", @@ -3661,34 +3650,6 @@ "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.1.tgz", "integrity": "sha1-0hfR6WERjjrJpLi7oyhVU79kfNs=" }, - "eth-block-tracker": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/eth-block-tracker/-/eth-block-tracker-2.3.1.tgz", - "integrity": "sha512-NamWuMBIl8kmkJFVj8WzGatySTzQPQag4Xr677yFxdVtIxACFbL/dQowk0MzEqIKk93U1TwY3MjVU6mOcwZnKA==", - "requires": { - "async-eventemitter": "github:ahultgren/async-eventemitter#fa06e39e56786ba541c180061dbf2c0a5bbf951c", - "eth-query": "2.1.2", - "ethereumjs-tx": "1.3.4", - "ethereumjs-util": "5.2.0", - "ethjs-util": "0.1.6", - "json-rpc-engine": "3.7.3", - "pify": "2.3.0", - "tape": "4.9.1" - }, - "dependencies": { - "async-eventemitter": { - "version": "github:ahultgren/async-eventemitter#fa06e39e56786ba541c180061dbf2c0a5bbf951c", - "requires": { - "async": "2.6.1" - } - } - } - }, - "ethereum-common": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.2.0.tgz", - "integrity": "sha512-XOnAR/3rntJgbCdGhqdaLIxDLWKLmsZOGhHdBKadEr6gEnJLH52k93Ou+TUdFaPN3hJc3isBZBal3U/XZ15abA==" - }, "ethereumjs-util": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", @@ -3720,67 +3681,13 @@ "rustbn.js": "0.1.2", "safe-buffer": "5.1.2" } - }, - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" - }, - "web3-provider-engine": { - "version": "13.8.0", - "resolved": "https://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-13.8.0.tgz", - "integrity": "sha512-fZXhX5VWwWpoFfrfocslyg6P7cN3YWPG/ASaevNfeO80R+nzgoPUBXcWQekSGSsNDkeRTis4aMmpmofYf1TNtQ==", - "requires": { - "async": "2.6.1", - "clone": "2.1.1", - "eth-block-tracker": "2.3.1", - "eth-sig-util": "1.4.2", - "ethereumjs-block": "1.7.1", - "ethereumjs-tx": "1.3.4", - "ethereumjs-util": "5.2.0", - "ethereumjs-vm": "2.3.4", - "fetch-ponyfill": "4.1.0", - "json-rpc-error": "2.0.0", - "json-stable-stringify": "1.0.1", - "promise-to-callback": "1.0.0", - "readable-stream": "2.3.6", - "request": "2.87.0", - "semaphore": "1.1.0", - "solc": "0.4.24", - "tape": "4.9.1", - "xhr": "2.5.0", - "xtend": "4.0.1" - } } } }, "ethereum-common": { - "version": "0.0.18", - "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.0.18.tgz", - "integrity": "sha1-L9w1dvIykDNYl26znaeDIT/5Uj8=" - }, - "ethereumjs-abi": { - "version": "git+https://github.com/ethereumjs/ethereumjs-abi.git#4ea2fdfed09e8f99117d9362d17c6b01b64a2bcf", - "requires": { - "bn.js": "4.11.8", - "ethereumjs-util": "5.2.0" - }, - "dependencies": { - "ethereumjs-util": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", - "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", - "requires": { - "bn.js": "^4.11.0", - "create-hash": "^1.1.2", - "ethjs-util": "^0.1.3", - "keccak": "^1.0.2", - "rlp": "^2.0.0", - "safe-buffer": "^5.1.1", - "secp256k1": "^3.0.1" - } - } - } + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.2.0.tgz", + "integrity": "sha512-XOnAR/3rntJgbCdGhqdaLIxDLWKLmsZOGhHdBKadEr6gEnJLH52k93Ou+TUdFaPN3hJc3isBZBal3U/XZ15abA==" }, "ethereumjs-account": { "version": "2.0.5", @@ -3815,16 +3722,11 @@ "requires": { "async": "2.6.1", "ethereum-common": "0.2.0", - "ethereumjs-tx": "1.3.4", + "ethereumjs-tx": "1.3.5", "ethereumjs-util": "5.2.0", "merkle-patricia-tree": "2.3.1" }, "dependencies": { - "ethereum-common": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.2.0.tgz", - "integrity": "sha512-XOnAR/3rntJgbCdGhqdaLIxDLWKLmsZOGhHdBKadEr6gEnJLH52k93Ou+TUdFaPN3hJc3isBZBal3U/XZ15abA==" - }, "ethereumjs-util": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", @@ -3842,14 +3744,19 @@ } }, "ethereumjs-tx": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-1.3.4.tgz", - "integrity": "sha512-kOgUd5jC+0tgV7t52UDECMMz9Uf+Lro+6fSpCvzWemtXfMEcwI3EOxf5mVPMRbTFkMMhuERokNNVF3jItAjidg==", + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-1.3.5.tgz", + "integrity": "sha512-cPr0BxitCaffq0qQwZRHJgiNCM/3IIJqkYbweeUCyPwV77S+GlQHou2L3afKEFtfiAjfaa82T9LnSmY/pM8iYQ==", "requires": { "ethereum-common": "0.0.18", "ethereumjs-util": "5.2.0" }, "dependencies": { + "ethereum-common": { + "version": "0.0.18", + "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.0.18.tgz", + "integrity": "sha1-L9w1dvIykDNYl26znaeDIT/5Uj8=" + }, "ethereumjs-util": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", @@ -3896,11 +3803,6 @@ "safe-buffer": "5.1.2" }, "dependencies": { - "ethereum-common": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.2.0.tgz", - "integrity": "sha512-XOnAR/3rntJgbCdGhqdaLIxDLWKLmsZOGhHdBKadEr6gEnJLH52k93Ou+TUdFaPN3hJc3isBZBal3U/XZ15abA==" - }, "ethereumjs-util": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", @@ -6902,11 +6804,6 @@ "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" }, - "object-keys": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-0.4.0.tgz", - "integrity": "sha1-KKaq50KN0sOpLz2V8hM13SBOAzY=" - }, "readable-stream": { "version": "1.0.34", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", @@ -8983,9 +8880,9 @@ "integrity": "sha512-GJzfBZ6DgDAmnuaM3104jR4s1Myxr3Y3zfIyN4z3UdqN69oSRacNK8UhnobDdC+7J2AHCjGwxQubNJfE70SXXQ==" }, "object-keys": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.11.tgz", - "integrity": "sha1-xUYBd4rVYPEULODgG8yotW0TQm0=" + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-0.4.0.tgz", + "integrity": "sha1-KKaq50KN0sOpLz2V8hM13SBOAzY=" }, "object-visit": { "version": "1.0.1", @@ -13148,6 +13045,79 @@ "web3-utils": "1.0.0-beta.34" } }, + "web3-provider-engine": { + "version": "13.8.0", + "resolved": "https://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-13.8.0.tgz", + "integrity": "sha512-fZXhX5VWwWpoFfrfocslyg6P7cN3YWPG/ASaevNfeO80R+nzgoPUBXcWQekSGSsNDkeRTis4aMmpmofYf1TNtQ==", + "requires": { + "async": "2.6.1", + "clone": "2.1.1", + "eth-block-tracker": "2.3.1", + "eth-sig-util": "1.4.2", + "ethereumjs-block": "1.7.1", + "ethereumjs-tx": "1.3.5", + "ethereumjs-util": "5.2.0", + "ethereumjs-vm": "2.3.5", + "fetch-ponyfill": "4.1.0", + "json-rpc-error": "2.0.0", + "json-stable-stringify": "1.0.1", + "promise-to-callback": "1.0.0", + "readable-stream": "2.3.6", + "request": "2.87.0", + "semaphore": "1.1.0", + "solc": "0.4.24", + "tape": "4.9.1", + "xhr": "2.5.0", + "xtend": "4.0.1" + }, + "dependencies": { + "async-eventemitter": { + "version": "github:ahultgren/async-eventemitter#fa06e39e56786ba541c180061dbf2c0a5bbf951c", + "requires": { + "async": "2.6.1" + } + }, + "clone": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.1.tgz", + "integrity": "sha1-0hfR6WERjjrJpLi7oyhVU79kfNs=" + }, + "eth-block-tracker": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/eth-block-tracker/-/eth-block-tracker-2.3.1.tgz", + "integrity": "sha512-NamWuMBIl8kmkJFVj8WzGatySTzQPQag4Xr677yFxdVtIxACFbL/dQowk0MzEqIKk93U1TwY3MjVU6mOcwZnKA==", + "requires": { + "async-eventemitter": "github:ahultgren/async-eventemitter#fa06e39e56786ba541c180061dbf2c0a5bbf951c", + "eth-query": "2.1.2", + "ethereumjs-tx": "1.3.5", + "ethereumjs-util": "5.2.0", + "ethjs-util": "0.1.6", + "json-rpc-engine": "3.7.3", + "pify": "2.3.0", + "tape": "4.9.1" + } + }, + "ethereumjs-util": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", + "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", + "requires": { + "bn.js": "4.11.8", + "create-hash": "1.2.0", + "ethjs-util": "0.1.6", + "keccak": "1.4.0", + "rlp": "2.0.0", + "safe-buffer": "5.1.2", + "secp256k1": "3.5.0" + } + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" + } + } + }, "web3-providers-http": { "version": "1.0.0-beta.34", "resolved": "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.0.0-beta.34.tgz",