RandomX Setup

From BiblePay Wiki
Revision as of 00:51, 7 June 2020 by Togoshigekata (talk | contribs) (Added note about memory per thread)
Jump to: navigation, search

We offer dual-hash mining with rewards in both BBP + XMR. This is slightly different than merged mining, in that BBP's blocks are now solved with an equation that prevents pre-image attacks (http://wiki.biblepay.org/Preventing_Preimage_Attacks).

In theory, you will receive approximately 190% more revenue for mining (more specifically, 90% in XMR rewards, and 100% of your hashpower in BBP rewards), while still contributing 10% to orphan charity.

Each RandomX hash has a full 100% chance of solving a BBP block (or a pool share), while each RandomX hash still has an equal chance of solving an XMR share.


1. Install Monero Wallet

a. https://mymonero.com/

b. Setup seed words and pin

c. Create receiving address (YOUR_MONERO_ADDRESS)


2. Install BiblePay Wallet

a. https://www.biblepay.org/wallet/

b. Create receiving address (YOUR_BIBLEPAY_ADDRESS)

File >>> Receiving Address >>> New >>> Ok >>> Right Click >>> Copy Address

or Tools >>> Debug Console >>> Type command: getnewaddress "" >>> Click Enter


3. Download XMRig zip

NOTE: As of 06/03/2020 v1.5.1.4 BiblePay
we transitioned from the BBP-XMRIG miner over to the plain vanilla XMRIG miner

https://github.com/xmrig/xmrig/releases >>> Assets

Source: https://github.com/xmrig/xmrig/


a. Create Folder (Example: C:\mining)

b. Copy .zip to new folder and Unzip it

c. Should see a script (batch) file and an executable rig file


4. Edit the script (.bat) file

NOTE: As of 06/03/2020 v1.5.1.4 BiblePay
we transitioned from the BBP-XMRIG miner over to the plain vanilla XMRIG miner
Username and Password have switched positions


Windows:

 ./xmrig.exe -o foundation.biblepay.org:3001 -u=YOUR_MONERO_ADDRESS -p=YOUR_BIBLEPAY_ADDRESS --threads 4


Linux:

 ./xmrig -o foundation.biblepay.org:3001 -u=YOUR_MONERO_ADDRESS -p=YOUR_BIBLEPAY_ADDRESS --threads 4


NOTE: Change number of threads to what works best for your machine, RandomX uses up to 256 MB of memory per mining thread


OPTIONAL: Can add .YOUR_WORKER_NAME to end of YOUR_MONERO_ADDRESS, it adds your cpu information per worker to xmrig

 ./xmrig -o foundation.biblepay.org:3001 -u=YOUR_MONERO_ADDRESS.YOUR_WORKER_NAME -p=YOUR_BIBLEPAY_ADDRESS --threads 4


5. Run the script

Double click it


6. Pools

https://miningpoolstats.stream/biblepay

Pool Source Code

https://github.com/biblepay/foundation
https://forum.biblepay.org/index.php?topic=517.msg7288#msg7288


7. Giveaway

https://forum.biblepay.org/index.php?topic=503


8. Mining Profit Calculator

https://foundation.biblepay.org/MiningCalculator


9. CPU Benchmarks

https://monerobenchmarks.info/


10. Randomx Github

https://github.com/tevador/RandomX


What is RandomX?

https://www.publish0x.com/passive-income-crypto/what-is-randomx-monero-s-mining-algorithm-xwkdqm


Get Community Help / Support

Forum: https://forum.biblepay.org/
Discord: https://discordapp.com/invite/yWgbKdM
Telegram: https://t.me/biblepay_airdrop/
Reddit: https://www.reddit.com/r/BiblePay/
Email: [email protected]


References

https://wiki.biblepay.org/Upgrade_to_RandomX
https://foundation.biblepay.org/GettingStarted
https://bitcointalk.org/index.php?topic=5226080