Giter Site home page Giter Site logo

monerominer's Introduction

Monero Miner for Android

Proof of concept using the xmrig miner inside an Android APK.

Sorry, this was only meant as a proof of concept. The project is not maintained anymore. Anyway it's not advisable to use it on a single phone, as it will be waaayy to slow to generate any revenue.

Based on the binaries from https://github.com/NanoBytesInc/miners Which is based on the code from https://github.com/xmrig/xmrig

Usage

This will currently only work on devices with ARM64 architecture.

Install and run the app, enter your pool and wallet data, then press the start button to start mining or stop to stop mining. The prefilled wallet is mine, so if you try the app, just keep it and I earn, ehm... next to nothing ;-) The help button will show xmrig's help output for convenience.

As this is considered a proof of concept, only pool address, username, threads and max cup usage can be edited in the UI currently (there is currently no sanity check to your inputs). You can change the rest of the config in assets/config.json. The configuration is set to low values and regular display of hashrate is set to 1m.

Notes

The xmrig binary is copied to the app's internal directory along with its dependent libraries. (This is done because it can only be executed there.) Then, the binary is started using the ProcessBuilder class, and the output is captured into the app's scrolling pane once each secons.

Currently only arm64 binaries are included, and the app will refuse to work on other architectures like x86 or 32 bit devices.

License

xmrig is licensed as GPLv3, thus this derivative work also is. You need to consider this if you plan to build a "real" Android app. You'd propably need to make it GPLv3 also, unless you can somehow make use of the GPL clause which allows to bundle a GPLv3 binary with another propietary licensed binary.

monerominer's People

Contributors

dmitvitalii avatar upost avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

monerominer's Issues

file not found after run

// copy binaries to a path where we may execute it);
Tools.copyFile(this, abi + "/xmrig", privatePath + "/xmrig");
Tools.copyFile(this, abi + "/libuv", privatePath + "/libuv.so");
Tools.copyFile(this, "libc++.so", privatePath + "/libc++_shared.so");

Possible to create closed source version if not using GPL v3 miner?

xmrig is licensed as GPLv3, thus this derivative work also is. You need to consider this if you plan to build a "real" Android app. You'd propably need to make it GPLv3 also, unless you can somehow make use of the GPL clause which allows to bundle a GPLv3 binary with another propietary licensed binary.

If a closed source miner/miner that uses a more liberal license is used, are we allowed to use your template for closed source development?

Cheers!

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.