Author

Topic: React Native XMRig for Android (Open Source) (ARMv7, ARMv8, x86, x86_64) (Read 114 times)

newbie
Activity: 28
Merit: 0
React Native XMRig - New version updates (1.0.22)
Hi,

A new version is released with a major change that first comes to fix a bug and create an option for more features.

What was the issue?
In prev version the mining total count calculation was done by updating the state in React Native (frontend), its worked good but when the app was in background (the xmrig works as service) - the mining worked but the stats was not updated. Its reflect on the reward calculation, if the app was in background the mining time was not counted. The bug was discovered by Cigal33 (https://github.com/garrylachman/react-native-xmrig/issues/4)

How its has been fixed?
I move the calculation of mining time to java native as part of the service, to store the data I create a local SQLite DB, and every minute a row is inserted with a timestamp, session-id (UUID generated every new start), algo & hash rate. Its solve the issue with the uncounted mining time and I use the DB (Mining History) to expose a new screen with Mining Sessions History datatable, hashrate by session chart & mining time by session chart.

Now it's only a basic implementation and many options can be added like date range, different types of grouping (by algo, by date, by total time) And more data can be added to the table (any data XMRig provides - and it provides a lot of data in the API).

I will be happy to receive your feedback, What do you think about this screen, what do you think must be added or nice to have.



I just roll out the App on Google Play so it can take some time to see the new version (max few hours)

Google Play:

https://play.google.com/store/apps/details?id=com.reactnativexmrig

I remind you - Its Open Source:

https://github.com/garrylachman/react-native-xmrig
newbie
Activity: 28
Merit: 0
Lot of updates (13 versions) from last time i update the post...

Some of the changes:
Themes - now can switch between dark & light mode
* Theme Mode - Advanced Mode & Simple Young
* Threads details - per thread Intensity, Affinity, Av & Thread Hashrate
* Benchmarking warning - data will be available after benchmarking complete
* New XMRig Version
* Lazy Loading - Implements React Suspense
* Better Internal Communication (process -> thread -> react)
* Refactor of Mining service + AIDL
* Refactor of Mining screens
* "react-native-sparkline" chart library replaced with "Victory Charts"
* All "session" data moved to dedicated context & all related components has been refactored/re-arranged.
* Keep awake while mining

Bugfixes:
* Bugfix: current wallet is not populated to input in settings
* Bugfix: BindService bugfix
* Bugfix: UI Laggs while mining (still lagging but better - mining is havey process)
* Critical bugfix: Crash when new wallet added.


Source code @ our GitHub:
https://github.com/garrylachman/react-native-xmrig

Google Play:
https://play.google.com/store/apps/details?id=com.reactnativexmrig

newbie
Activity: 28
Merit: 0
A new version uploaded, fixed some issues.
newbie
Activity: 28
Merit: 0
React Native App that uses an optimized version of XMRig to run on mobile. Using MoneroOcean auto-switching algo to mine the most profitable coin.

The App displays stats from the miner process & pulls personal stats from MoneroOcean pool.

Features:
* Benchmark different coins & algos to create personal most profit algos to mine
* Miner tab stats: Miner state, Algo, Hashrate histogram, Hashrate (last 10sec, last 60sec, last 15min & max hashrate), Accepted shares, Current Difficult, Avg time for share, Threads, Free mem, Res. mem.
* Pool tab stats: Raw hashrate histogram, Payout hashrate histogram, Num of shares, Total Hashes, Total due balance, Total paid, Number of transactions.
* Log tab: Real-Time miner output (stdout) log.
* Other tab: CPU Brand, Arch, AES, AVX2, 64Bit, MSR, Backend & Assembly.
* Settings tab: Update wallet address with validation, History of address with the option to reuse old address.

You must have Moneo (XMR) Wallet address to start mining

Google Play
https://play.google.com/store/apps/details?id=com.reactnativexmrig

Source Code:
https://github.com/garrylachman/react-native-xmrig
Jump to: