wzor / xpow-autominter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XPOW Autominter

This is a wrapper script around Itamar Carvalho’s XPOW CPU miner. With this script you can mine XPOW in the background.

Donate (AVAX✅, ETH✅, BSC✅): 0xa8101F6Ec7080dE84233f1eE4fc1D6A2C1568327

Instructions

  1. Clone this repository
  2. Download Ita’s miner (Linux, Windows)
  3. Move the Ita’s miner to the repo directory
  4. Make the miner executable on Linux with command chmod +x xpow-miner
  5. Install NodeJS and npm (with apt install nodejs npm on Linux), on Windows God help you
  6. Install ethers library inside the repo dir with command npm i ethers dotenv
  7. Create a new wallet through MetaMask and fund it with AVAX (do not store large amounts in this wallet)
  8. Copy .env.example to .env and add your private key to PRIVATE_KEY
  9. Adjust MIN_WORK and XPOW_WORKER_COUNT (cores) based on your needs
  10. Run node xpow-wrapper.js to start mining & minting

On minWork

minWork is the easiest nonce that will be submitted to the blockchain. Lower minWork means that you will mint more often with small transactions, resulting in high gas fee usage. 7 is recommended value at the current market conditions for XPOW. If you have a stronger computer and do not want to spend too much on gas you might find 8 more useful.

TODO

  • Minting strategies
  • Wallet fund management strategies

Completed ✅

  • Fix concurrent transaction nonce error
  • Add full Windows support
  • Use multiple cores
  • Source private key from .env

About

License:GNU General Public License v3.0


Languages

Language:JavaScript 98.6%Language:Shell 1.4%