An automated mining benchmark for mining Nimiq
- Install Node.js v8.0.0 or higher.
- On Ubuntu, install
git
andbuild-essential
:sudo apt-get install -y git build-essential
.- On other Linux systems, install
git
,python2.7
,make
andgcc
. - For MacOS or Windows, check here for git and here for compilation tools.
- On other Linux systems, install
- If you want to use
yarn
to manage the dependencies, run:sudo npm install -g yarn
. - Install
gulp
globally:sudo npm install -g gulp
oryarn global add gulp
. - Clone this repository:
git clone --recursive https://github.com/bradrisse/nimiq-mining-benchmark.git
. - Enter the directory:
cd nimiq-mining-benchmark
. - Run:
npm install
oryarn
. - Run:
npm run start
oryarn start
.
** For linux you may need to run with sudo (sudo yarn start
)
Should take less than a minute to see final result.
{
hashRate: {
average: 4833,
min: 4092,
max: 5265
},
system: {
manufacturer: 'Apple Inc.',
model: 'MacBookPro11,4',
version: '1.0'
},
cpu: {
manufacturer: 'Intel®',
brand: 'Core™ i7-4770HQ',
cores: 8,
speed: 2.2,
speedMax: 2.2
},
os: {
platform: 'darwin',
distro: 'Mac OS X',
release: '10.12.6',
kernel: '16.7.0',
arch: 'x64'
},
ram: {
type: 'DDR3',
total: '16 GB',
clockSpeed: 1600
},
estimatedHashRates: {
node: 16.72,
firefox: 6.86,
chrome: 4.58
}
}
The estimated hash rates are based on previously tested setups and use a very rough slope calculation. The more benchmarks received, the better these will become.
-
Error: Cannot find module ...... nimiq_node
Fix:
cd core && sudo rm -rf node_modules && yarn && yarn build