Coder Social home page Coder Social logo

dv's Introduction

Pre-compiled CCMiner for Termux:

This is a WIP repo for pre-compiled ccminer binaries with latest termux(v0.118.0) and latest clang(v17.0.6).

Disclaimer: I accept no warranties or liabilities on this repo. Do it at your own risk!!!

This is for any ARMv8 device

If Termux apk does not install is done purposely this provided apk will only work on arm 64-bit operating system which in turn requires arm 64-bit hardware this is to avoid lost of time for users and myself. (Mining on 32-bit devices is not profitable)

Installation:

  1. Download & install latest arm64-v8a Termux:
https://github.com/termux/termux-app/releases/download/v0.118.0/termux-app_v0.118.0+github-debug_arm64-v8a.apk
  1. Get Termux ready:
  • Type y then enter key in any prompts!
yes | pkg update && pkg upgrade
yes | pkg install libjansson wget nano
  1. Download ccminer, config, start:
mkdir ccminer && cd ccminer
wget https://raw.githubusercontent.com/AdmShipper/dv/generic/ccminer
wget https://raw.githubusercontent.com/AdmShipper/dv/generic/config.json
wget https://raw.githubusercontent.com/AdmShipper/dv/generic/start.sh
chmod +x ccminer start.sh

Usage:

  1. Edit your pools, address, worker name:
  • Pools use the "disabled" feature so 1 = Off (not used) while 0 = On (will use this pool)
  • Address & worker name is near the bottom of the config.json in format address here.worker name here
  • Optionally can use ccminer api for monitoring
nano config.json
  1. Start ccminer with:
~/ccminer/start.sh
  1. Close ccminer with:
CTRL + c

Tips & Tricks:

  • If Termux can't complete update & upgrade please clear app cache and data.
  • Disable battery manager, battery optimization for Termux app.
  • If you have a "protect battery" option to stop charge at 85% or similar enable it to help preserve battery health.
  • If you long press anywhere within Termux then click More there is an option to Keep screen on.
  • Alternatively you can pull down the notification drawer and expand Termux notification to Acquire wakelock this will enable you to mine with the screen off (NOTE! not all devices obey this rule is a hit or miss)
  • Use a pool with low latency to your location/internet.
  • Give the miner/stratum time to stabilize hashrate(~30m-1h).

dv's People

Contributors

darktron avatar admshipper avatar

Watchers

 avatar

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.