Code Monkey home page Code Monkey logo

pick-axe's Introduction

โš’๏ธ PICK-AXE

Toolkit & Package-manager for mining on Linux

๐Ÿ”‹ Binaries not included!

Screenshot of pick-axe HELP menu

Screenshot of pick-axe STATUS command

The package manager can install/update the following: trex, gminer, nbminer, ethminer, miniZ... with more to follow!

By extension, PICK-AXE has support for mining the following coins/algos: ae, aion, anon, arw, beam, btg, btcz, bze, cash, cfx, ctxc, cuckoo29, equihash125_4, equihash144_5, equihash192_7, equihash210_9, ergo, etc, eth, firo, grimmm, grin31, grin32, ltz, mnx, rvn, safe, sero, tent, vbk, vdl, veil, yec, zano, zcl, zel, zels, zerc

This is NOT a yet-another-fcking-miner. This is a toolset of a bunch of bash-scripts, which togheter forms PICK-AXE - a general utility for mining on linux AND somewhat of a package manager for miners. The idea is to give you control over your mining rig, with simplicity and security in mind.

No "mining fees", except the ones that the miners you select collect. Read the documenation of a miner before installing it, and always do your own research!

Installation

Prerequisites & Dependencies

May the force be with you!

-1. Install Linux

Tested and works on Ubuntu 20.04 & 21.04! There are plenty of guides out there on how to install Linux.

0. Update

Always keep your system up to date!

sudo apt-get -y update && apt-get -y upgrade

1. Install dependencies (curl, jq, nodejs, npm and tty-table-g)

sudo apt -y install curl
sudo apt -y install jq
sudo apt -y install nodejs
sudo apt -y install npm
sudo npm install tty-table -g

2. Install Nvidia and/or AMD-drivers

NVIDIA

Read /docs/NVIDIA.md

AMD

Read /docs/AMD.md

3. Install PICK-AXE

source <(curl -s https://raw.githubusercontent.com/nadangergeo/pick-axe/main/helpers/pickaxe_download_and_install)

4. Add pick-axe to PATH (make it possible to run from any directory)

Now, you have two options.

Option 1

You do the following, which will make all the commands (bash-scripts) available "globally". As an example, the command "PICK eth", could be run from any directory.

echo >> ~/.bashrc
echo "################ PICK-AXE ##################" >> ~/.bashrc
echo "export PATH=\$PATH:\$HOME/.local/bin/pick-axe" >> ~/.bashrc 
echo "############################################" >> ~/.bashrc
source ~/.bashrc

Option 2

You do the following, which will make the commands (bash-scripts) available "globally", via the "pick-axe" command

As an example, the command "pick-axe PICK eth", could be run from any directory. so would, the command "pick-axe INSTALL", and same for all other scripts.

As a convinient shorthand, you can also call pick-axe "pax" for short:

"pax PICK eth"

echo >> ~/.bashrc
echo "################ PICK-AXE ##################" >> ~/.bashrc
echo "alias pick-axe=$HOME/.local/bin/pick-axe/index.sh" >> ~/.bashrc 
echo "alias pax=$HOME/.local/bin/pick-axe/index.sh" >> ~/.bashrc 
echo "############################################" >> ~/.bashrc
source ~/.bashrc

5. Install miner binaries

This will give you a list of options:

INSTALL

or (depending on what option you chose in STEP 4)

pax INSTALL

Install a miner, ethminer for example:

INSTALL ethminer

Install trex, as another example:

pax INSTALL trex

6. Configure wallets and pools

Edit the following file with nano or your text-editor/IDE of choice: ~/.local/bin/pick-axe/config.json

Replace the preconfigured wallets with your own, and configure your pool settings. This setup will be more streamlined via CLI in the near future!

7. Start picking!

Screenshot of pick-axe pick command

Donations

Like this tool? Show some ๐Ÿ–ค โ€† to this wallet:

ETH: 0xC0b1239c2D236DCeC286B75b74e82402C512eb42

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.