/McAfeeMiner

Easy interface for mining safex cash

Primary LanguageJavaScriptMIT LicenseMIT

MCAFEE 1 CLICK MINIG APP

Official repository for McAfee 1 Click CPU mining app.

Releases

You can download the latest release from (https://github.com/balkaneum/McAfeeMiner/releases)

Development

This project is a fork of Safex 1 Click Miner (https://github.com/safex/safex_miner). Node v10.13.0 is required when installing dependencies. For easily switching between Node versions, we suggest using nvm.

Backend:

To start project backend

Windows

Run Command Prompt as Administrator

$ npm install --global --production windows-build-tools
$ npm install
$ npm run dev

Linux

$ sudo apt update && sudo apt install build-essential cmake pkg-config \
    libboost-all-dev libssl-dev libzmq3-dev libunbound-dev libminiupnpc-dev \
    libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libexpat1-dev \
    libgtest-dev doxygen graphviz libpcsclite-dev
$ npm install
$ ./node_modules/.bin/electron-rebuild
$ npm run dev

MacOS

$ brew tap jmuncaster/homebrew-header-only
$ brew install cmake boost zmq czmq zeromq jmuncaster/header-only/cppzmq openssl pkg-config
$ npm install -g node-gyp
$ export LDFLAGS="-L/usr/local/opt/openssl/lib"
$ export CPPFLAGS="-I/usr/local/opt/openssl/include"
$ npm install
$ ./node_modules/.bin/electron-rebuild
$ npm run dev

Build:

Windows

$ npm run make-win-installer

Linux

For linux builds, you will need to have rpmbuild available on system (apt-get install rpm).

$ npm run make-linux-installer

MacOS

Log in the Apple Developer website https://developer.apple.com/.
Install Developer Tools v10.1
https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_macOS_10.13_for_Xcode_10.1/Command_Line_Tools_macOS_10.13_for_Xcode_10.1.dmg
If you previousely exported open ssl flags, open new terminal window. Make sure you are using Node v10.13.0.

Then run:

$ npm run make-mac-installer

License

MIT License

Copyright (c) 2018 Safex Developers

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:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.