Eth cpu miner download
Author: A | 2025-04-23
Silent Crypto Miner (xmr eth) v2.0.2 (CPU GPU) Silent Crypto Miner (xmr eth) v2.0.2 (CPU GPU) The best miner at the moment (among the free ones), everything is translated, if there are errors somewhere, write to HP, I will fix it. The miner itself is A miner that is user friendly to mine Ethereum with your CPU. But how? Of course you can't mine ETH with a CPU but we mine Monero (RandomX) and convert it on the pool to ETH.
Swoesh/Ethereumcpuminer: A CPU miner that mines ETH - GitHub
Here are 58 public repositories matching this topic... Code Issues Pull requests RandomX, KawPow, CryptoNight and GhostRider unified CPU/GPU miner and RandomX benchmark Updated Dec 23, 2024 C Code Issues Pull requests Discussions GPU/CPU Mining script with intelligent profit-switching between miningpools, algorithms, miners, using all possible combinations of devices (NVIDIA, AMD, CPU). Features: actively maintained, uses the top actual miner programs (Bminer, Ccminer, Claymore, Dstm, EnemyZ, Sgminer, T-rex and more) easy setup wizard, webinterface, auto update. Updated Mar 10, 2025 PowerShell Code Issues Pull requests MindMiner - the miner manager programm with online monitoring Updated Dec 11, 2024 PowerShell Code Issues Pull requests Hidden miner builder Updated Jun 23, 2022 Code Issues Pull requests Discussions Bitcoin Miner base on Python (Suit on Android and IOS Device!!!) Updated Mar 8, 2025 Python Code Issues Pull requests RavenCoin Wallet including CPU and GPU miners! programs are directly from Ravencoin and official miner sources Updated Nov 16, 2018 C Code Issues Pull requests DIY Bitcoin ASIC miner Updated Feb 6, 2025 Code Issues Pull requests Updated Nov 5, 2024 C Code Issues Pull requests CPUMiner for RaspberryPi Zero, Pi 3, Pi 2, B+, A+ Updated Nov 7, 2017 C Code Issues Pull requests 👾 A user-friendly image that can be used for mining cryptocurrencies with your CPU Updated Mar 3, 2025 HCL Code Issues Pull requests iOS port of XMR-STAK-CPU mining software Updated May 24, 2018 Swift Code Issues Pull requests All-in-one mixed multi-GPU (nVidia, AMD, Intel) & CPU miner solves proof of work to mine supported EIP918 tokens in a single instance (with API). Updated Dec 8, 2022 C# Code Issues Pull requests Optimized multi algo CPU miner for CPUchain, Uranium-X, Cranepay, Yenten Updated Mar 3, 2020 C Code Issues Pull requests Monero miner written in java using JNI bindings Updated Jan 18, 2019 C Code Issues Pull requests A cpuminer impl by Rust, suppoted currency(CKB, BTC, ETH, ETC..) Updated Dec 1, 2022 Rust Code Issues Pull requests RandomX, CryptoNight, AstroBWT and Argon2 CPU/GPU miner - macOS Build Only Updated Jun 7, 2020 Code Issues Pull requests Cryptocurrency Miner based on Alpine Updated Dec 16, 2022 Code Issues Pull requests Fork xmrig, Realize dynamic adjustment of cpu percentage, support android Updated Sep 7, 2018 C++ Code Issues Pull requests a tiny docker container for running xmrig-mo Updated Dec 13, 2024 Go Code Issues Pull requests Because servethehome/monero_xmrig docker is outdated and it annoys me Updated Feb 3, 2025 Shell -->. Silent Crypto Miner (xmr eth) v2.0.2 (CPU GPU) Silent Crypto Miner (xmr eth) v2.0.2 (CPU GPU) The best miner at the moment (among the free ones), everything is translated, if there are errors somewhere, write to HP, I will fix it. The miner itself is A miner that is user friendly to mine Ethereum with your CPU. But how? Of course you can't mine ETH with a CPU but we mine Monero (RandomX) and convert it on the pool to ETH. Multiple Miners - Can create multiple miners to run at the same time, for example one XMR (CPU) miner and one ETH (GPU) miner; CPU GPU Mining - Can mine on Both CPU and GPU (Nvidia AMD) Windows Defender Exclusions - A CPU miner that mines ETH. Contribute to Swoesh/Ethereumcpuminer development by creating an account on GitHub. Watchdog - Monitors the miner file and replaces the file if removed and starts it if the injected miner is closed down; Multiple Miners - Can create multiple miners to run at the same time, for example one XMR (CPU) miner and one ETH (GPU) miner; CPU GPU Mining - Can mine on Both CPU and GPU (Nvidia AMD) Using your GPU or CPU you can mine ETH or Monero or whatever currency you want to mine. All you have to do is download the miner and run the miner pointing it to the NBMiner v33.4 (NVIDIA AMD GPU Miner for ETH, RVN, GRIN, BEAM) NBMiner v32.1: Download GPU Miner ETH, RVN, GRIN, BEAM, AE, BTM, NiceHash Miner v3.1.0.8: Download Automatic CPU/GPU Miner. If you are choosing your first mining program, NiceHash Miner is one of the best options. Here you don't have to go through the command line, edit config A miner that is user friendly to mine Ethereum with your CPU. But how? Of course you can't mine ETH with a CPU but we mine Monero (RandomX) and convert it on the pool to ETH. How do I start? Put in your ETH address (and optional threads) and click Start Mining . What is the fee? The miner itself takes 1% fee and the pool 0.75% so thats 1.75% fee. { const uncleRes = await axios.post(ALCHEMY_API_URL, { jsonrpc: "2.0", method: "eth_getBlockByHash", params: [`${hash}`, false], id: 0, }); return uncleRes.data.result; }; try { console.log("fetching block rewards..."); const block = await getBlock(blockNum); const blockNumber = parseInt(block.number); const transactions = block.transactions; const baseFeePerGas = block.baseFeePerGas; const gasUsed = block.gasUsed; let minerTips = []; let sumMinerTips = 0; for (const tx of transactions) { const txGasUseage = await getGasUsage(tx.hash); const totalFee = ethers.utils.formatEther( ethers.BigNumber.from(txGasUseage).mul(tx.gasPrice).toString() ); minerTips.push(Number(totalFee)); } if (transactions.length > 0) { sumMinerTips = minerTips.reduce( (prevTip, currentTip) => prevTip + currentTip ); } const burnedFee = ethers.utils.formatEther( ethers.BigNumber.from(gasUsed).mul(baseFeePerGas).toString() ); const baseBlockReward = 2; const nephewReward = baseBlockReward / 32; const uncleCount = block.uncles.length; const totalNephewReward = uncleCount * nephewReward; let uncleRewardsArr = []; for (const hash of block.uncles) { const uncle = await getUncle(hash); const uncleNum = parseInt(uncle.number); const uncleMiner = uncle.miner; const uncleReward = ((uncleNum + 8 - blockNumber) * baseBlockReward) / 8; uncleRewardsArr.push({ reward: `${uncleReward}ETH`, miner: uncleMiner, }); } const blockReward = baseBlockReward + (sumMinerTips - Number(burnedFee)); if (uncleCount > 0) { console.log("Block reward:", blockReward + totalNephewReward + "ETH"); console.log("miner:", block.miner); console.log("Uncle rewards:"); console.log(uncleRewardsArr); } else { console.log("Block reward:", blockReward + "ETH"); console.log("miner:", block.miner); } } catch (error) { console.log(error); }};Okay we’re almost there! At the bottom of your file call the getBlockReward function and pass any block number inside:getBlockReward(15349734);Finally, ensure you’re inside your root folder, then run the following command:If successful, you should see these results in console:fetching block rewards...Block reward: 2.066205744642072ETHminer: 0xea674fdde714fd979de3edf0f56aa9716b898ec8Uncle rewards:[ { reward: '1.75ETH', miner: '0x8b4de256180cfec54c436a470af50f9ee2813dbb' }]🥳 Woohoo! Nice work, you’ve calculated a block reward and completed the tutorial! 🥳If you enjoyed this tutorial on calculating a miner reward, give us a tweet @AlchemyPlatform! And don't forget to join our Discord server to meet other blockchain devs, builders, and entrepreneurs!Updated over 2 years ago Table of ContentsPrerequisitesConnect to AlchemySetup project environmentInstall environment toolsCreate a Dotenv FileCall Alchemy methods with axiosCalculate a miner rewardCost of all transactions in a blockSum the burned fees in a blockUncle and nephew rewardsFinal miner reward calculationComments
Here are 58 public repositories matching this topic... Code Issues Pull requests RandomX, KawPow, CryptoNight and GhostRider unified CPU/GPU miner and RandomX benchmark Updated Dec 23, 2024 C Code Issues Pull requests Discussions GPU/CPU Mining script with intelligent profit-switching between miningpools, algorithms, miners, using all possible combinations of devices (NVIDIA, AMD, CPU). Features: actively maintained, uses the top actual miner programs (Bminer, Ccminer, Claymore, Dstm, EnemyZ, Sgminer, T-rex and more) easy setup wizard, webinterface, auto update. Updated Mar 10, 2025 PowerShell Code Issues Pull requests MindMiner - the miner manager programm with online monitoring Updated Dec 11, 2024 PowerShell Code Issues Pull requests Hidden miner builder Updated Jun 23, 2022 Code Issues Pull requests Discussions Bitcoin Miner base on Python (Suit on Android and IOS Device!!!) Updated Mar 8, 2025 Python Code Issues Pull requests RavenCoin Wallet including CPU and GPU miners! programs are directly from Ravencoin and official miner sources Updated Nov 16, 2018 C Code Issues Pull requests DIY Bitcoin ASIC miner Updated Feb 6, 2025 Code Issues Pull requests Updated Nov 5, 2024 C Code Issues Pull requests CPUMiner for RaspberryPi Zero, Pi 3, Pi 2, B+, A+ Updated Nov 7, 2017 C Code Issues Pull requests 👾 A user-friendly image that can be used for mining cryptocurrencies with your CPU Updated Mar 3, 2025 HCL Code Issues Pull requests iOS port of XMR-STAK-CPU mining software Updated May 24, 2018 Swift Code Issues Pull requests All-in-one mixed multi-GPU (nVidia, AMD, Intel) & CPU miner solves proof of work to mine supported EIP918 tokens in a single instance (with API). Updated Dec 8, 2022 C# Code Issues Pull requests Optimized multi algo CPU miner for CPUchain, Uranium-X, Cranepay, Yenten Updated Mar 3, 2020 C Code Issues Pull requests Monero miner written in java using JNI bindings Updated Jan 18, 2019 C Code Issues Pull requests A cpuminer impl by Rust, suppoted currency(CKB, BTC, ETH, ETC..) Updated Dec 1, 2022 Rust Code Issues Pull requests RandomX, CryptoNight, AstroBWT and Argon2 CPU/GPU miner - macOS Build Only Updated Jun 7, 2020 Code Issues Pull requests Cryptocurrency Miner based on Alpine Updated Dec 16, 2022 Code Issues Pull requests Fork xmrig, Realize dynamic adjustment of cpu percentage, support android Updated Sep 7, 2018 C++ Code Issues Pull requests a tiny docker container for running xmrig-mo Updated Dec 13, 2024 Go Code Issues Pull requests Because servethehome/monero_xmrig docker is outdated and it annoys me Updated Feb 3, 2025 Shell -->
2025-04-15{ const uncleRes = await axios.post(ALCHEMY_API_URL, { jsonrpc: "2.0", method: "eth_getBlockByHash", params: [`${hash}`, false], id: 0, }); return uncleRes.data.result; }; try { console.log("fetching block rewards..."); const block = await getBlock(blockNum); const blockNumber = parseInt(block.number); const transactions = block.transactions; const baseFeePerGas = block.baseFeePerGas; const gasUsed = block.gasUsed; let minerTips = []; let sumMinerTips = 0; for (const tx of transactions) { const txGasUseage = await getGasUsage(tx.hash); const totalFee = ethers.utils.formatEther( ethers.BigNumber.from(txGasUseage).mul(tx.gasPrice).toString() ); minerTips.push(Number(totalFee)); } if (transactions.length > 0) { sumMinerTips = minerTips.reduce( (prevTip, currentTip) => prevTip + currentTip ); } const burnedFee = ethers.utils.formatEther( ethers.BigNumber.from(gasUsed).mul(baseFeePerGas).toString() ); const baseBlockReward = 2; const nephewReward = baseBlockReward / 32; const uncleCount = block.uncles.length; const totalNephewReward = uncleCount * nephewReward; let uncleRewardsArr = []; for (const hash of block.uncles) { const uncle = await getUncle(hash); const uncleNum = parseInt(uncle.number); const uncleMiner = uncle.miner; const uncleReward = ((uncleNum + 8 - blockNumber) * baseBlockReward) / 8; uncleRewardsArr.push({ reward: `${uncleReward}ETH`, miner: uncleMiner, }); } const blockReward = baseBlockReward + (sumMinerTips - Number(burnedFee)); if (uncleCount > 0) { console.log("Block reward:", blockReward + totalNephewReward + "ETH"); console.log("miner:", block.miner); console.log("Uncle rewards:"); console.log(uncleRewardsArr); } else { console.log("Block reward:", blockReward + "ETH"); console.log("miner:", block.miner); } } catch (error) { console.log(error); }};Okay we’re almost there! At the bottom of your file call the getBlockReward function and pass any block number inside:getBlockReward(15349734);Finally, ensure you’re inside your root folder, then run the following command:If successful, you should see these results in console:fetching block rewards...Block reward: 2.066205744642072ETHminer: 0xea674fdde714fd979de3edf0f56aa9716b898ec8Uncle rewards:[ { reward: '1.75ETH', miner: '0x8b4de256180cfec54c436a470af50f9ee2813dbb' }]🥳 Woohoo! Nice work, you’ve calculated a block reward and completed the tutorial! 🥳If you enjoyed this tutorial on calculating a miner reward, give us a tweet @AlchemyPlatform! And don't forget to join our Discord server to meet other blockchain devs, builders, and entrepreneurs!Updated over 2 years ago Table of ContentsPrerequisitesConnect to AlchemySetup project environmentInstall environment toolsCreate a Dotenv FileCall Alchemy methods with axiosCalculate a miner rewardCost of all transactions in a blockSum the burned fees in a blockUncle and nephew rewardsFinal miner reward calculation
2025-04-08Otherwise, we simply print the block block reward and miner.Your entire getBlockReward.js file should appear as follows:JSXconst { default: axios } = require("axios");const { ethers } = require("ethers");require("dotenv").config();const ALCHEMY_API_URL = process.env.MAINNET_API_URL;const getBlockReward = async blockNum => { const getBlock = async num => { const blockNumHex = ethers.utils.hexlify(num); const blockRes = await axios.post(ALCHEMY_API_URL, { jsonrpc: "2.0", method: "eth_getBlockByNumber", params: [blockNumHex, true], id: 0, }); return blockRes.data.result; }; const getGasUsage = async hash => { const txRes = await axios.post(ALCHEMY_API_URL, { jsonrpc: "2.0", method: "eth_getTransactionReceipt", params: [`${hash}`], id: 0, }); return txRes.data.result.gasUsed; }; const getUncle = async hash => { const uncleRes = await axios.post(ALCHEMY_API_URL, { jsonrpc: "2.0", method: "eth_getBlockByHash", params: [`${hash}`, false], id: 0, }); return uncleRes.data.result; }; try { console.log("fetching block rewards..."); const block = await getBlock(blockNum); const blockNumber = parseInt(block.number); const transactions = block.transactions; const baseFeePerGas = block.baseFeePerGas; const gasUsed = block.gasUsed; let minerTips = []; let sumMinerTips = 0; for (const tx of transactions) { const txGasUseage = await getGasUsage(tx.hash); const totalFee = ethers.utils.formatEther( ethers.BigNumber.from(txGasUseage).mul(tx.gasPrice).toString() ); minerTips.push(Number(totalFee)); } if (transactions.length > 0) { sumMinerTips = minerTips.reduce( (prevTip, currentTip) => prevTip + currentTip ); } const burnedFee = ethers.utils.formatEther( ethers.BigNumber.from(gasUsed).mul(baseFeePerGas).toString() ); const baseBlockReward = 2; const nephewReward = baseBlockReward / 32; const uncleCount = block.uncles.length; const totalNephewReward = uncleCount * nephewReward; let uncleRewardsArr = []; for (const hash of block.uncles) { const uncle = await getUncle(hash); const uncleNum = parseInt(uncle.number); const uncleMiner = uncle.miner; const uncleReward = ((uncleNum + 8 - blockNumber) * baseBlockReward) / 8; uncleRewardsArr.push({ reward: `${uncleReward}ETH`, miner: uncleMiner, }); } const blockReward = baseBlockReward + (sumMinerTips - Number(burnedFee)); if (uncleCount > 0) { console.log("Block reward:", blockReward + totalNephewReward + "ETH"); console.log("miner:", block.miner); console.log("Uncle rewards:"); console.log(uncleRewardsArr); } else { console.log("Block reward:", blockReward + "ETH"); console.log("miner:", block.miner); } } catch (error) { console.log(error); }};Okay we’re almost there! At the bottom of your file call the getBlockReward function and pass any block number inside:JSXgetBlockReward(15349734);Finally, ensure you’re inside your root folder, then run the following command:Bashnode getBlockReward.jsIf successful, you should see these results in console:Bashfetching block rewards...Block reward: 2.066205744642072ETHminer: 0xea674fdde714fd979de3edf0f56aa9716b898ec8Uncle rewards:[ { reward: '1.75ETH', miner: '0x8b4de256180cfec54c436a470af50f9ee2813dbb' }]🥳 Woohoo! Nice work, you’ve calculated a block reward and completed the tutorial! 🥳If you enjoyed this tutorial on calculating a miner reward, give us a tweet @AlchemyPlatform! And don't forget to join our Discord server to meet other blockchain devs, builders, and entrepreneurs!" data-testid="RDMD">Have you ever wondered how much a miner earns for mining a block on Ethereum? Maybe you’re curious about what miners are earning or have a practical application (i.e. blockchain explorer, miner profit calculator, etc) for calculating a block reward. You could achieve this by checking Etherscan’s “block reward” field if you believe their calculations are accurate. Another alternative
2025-03-28Const txGasUseage = await getGasUsage(tx.hash); const totalFee = ethers.utils.formatEther( ethers.BigNumber.from(txGasUseage).mul(tx.gasPrice).toString() ); minerTips.push(Number(totalFee)); }Above, we use the transaction hash to return the gas usage for each transaction. Then we convert our gasUsage variable using bignumber so that we can multiply it by the gasPrice and format the result into an Ether value as it is currently in wei. Finally, we push the total fee value to an array which we can sum to get the total for all transaction fees in our block:JSXif (transactions.length > 0) { sumMinerTips = minerTips.reduce( (prevTip, currentTip) => prevTip + currentTip ); }As long as there is at least one transaction, we will add the items in the minerTips array and set the total equal to sumMinerTips. Otherwise, sumMinerTips will stay equal to zero.Sum the burned fees in a blockNext, we’ll need to get the sum of burned fees in our block so that we can subtract it from the total reward. To do this, we need to multiply the total gasUsed by the baseFeePerGas:JSXconst burnedFee = ethers.utils.formatEther( ethers.BigNumber.from(gasUsed).mul(baseFeePerGas).toString() );Again, we use bignumber to multiply the wei values and format the result in Ether.Uncle and nephew rewardsnephew rewardsLet’s start with the nephew reward. Because the nephew reward is 1/32 of the block reward, the reward should be fixed to 0.0625ETH/uncle block. To calculate this add the following lines of code:JSXconst baseBlockReward = 2;const nephewReward = baseBlockReward / 32;const uncleCount = block.uncles.length;const totalNephewReward = uncleCount * nephewReward;Uncle rewardsIn order to calculate the uncle rewards, we’ll need to iterate over each of the block hashes found in the block.uncles property of our block variable. Then, we’ll pass each hash to our getUncle function to extract both the uncle block number and miner. Finally, we’ll push the block number and miner to an uncle rewards array:JSXlet uncleRewardsArr = []; for (const hash of block.uncles) { const uncle = await getUncle(hash) const uncleNum = parseInt(uncle.number) const uncleMiner = uncle.miner const uncleReward = (uncleNum + 8 - blockNumber) * baseBlockReward / 8; uncleRewardsArr.push({ reward: `${uncleReward}ETH`, miner: uncleMiner }) }Final miner reward calculationNow that we have the sum of transaction fees and sum of burned fees let’s calculate the miner reward in a scenario where there is no uncle block included:JSXconst blockReward = baseBlockReward + (sumMinerTips - Number(burnedFee));This will give us the basic block reward, however let’s also account for nephew and uncle rewards by adding the totalNephewReward when the given block contains at least one uncle hash:JSXif (uncleCount > 0) { console.log("Block reward:", blockReward + totalNephewReward + "ETH"); console.log("miner:", block.miner); console.log("Uncle rewards:"); console.log(uncleRewardsArr); } else { console.log("Block reward:", blockReward + "ETH"); console.log("miner:", block.miner); }Above we are printing the total block reward plus the total nephew reward when the block contains uncles.
2025-03-280) { sumMinerTips = minerTips.reduce( (prevTip, currentTip) => prevTip + currentTip ); }As long as there is at least one transaction, we will add the items in the minerTips array and set the total equal to sumMinerTips. Otherwise, sumMinerTips will stay equal to zero.Next, we’ll need to get the sum of burned fees in our block so that we can subtract it from the total reward. To do this, we need to multiply the total gasUsed by the baseFeePerGas:const burnedFee = ethers.utils.formatEther( ethers.BigNumber.from(gasUsed).mul(baseFeePerGas).toString() );Again, we use bignumber to multiply the wei values and format the result in Ether.Let’s start with the nephew reward. Because the nephew reward is 1/32 of the block reward, the reward should be fixed to 0.0625ETH/uncle block. To calculate this add the following lines of code:const baseBlockReward = 2;const nephewReward = baseBlockReward / 32;const uncleCount = block.uncles.length;const totalNephewReward = uncleCount * nephewReward;In order to calculate the uncle rewards, we’ll need to iterate over each of the block hashes found in the block.uncles property of our block variable. Then, we’ll pass each hash to our getUncle function to extract both the uncle block number and miner. Finally, we’ll push the block number and miner to an uncle rewards array:let uncleRewardsArr = []; for (const hash of block.uncles) { const uncle = await getUncle(hash) const uncleNum = parseInt(uncle.number) const uncleMiner = uncle.miner const uncleReward = (uncleNum + 8 - blockNumber) * baseBlockReward / 8; uncleRewardsArr.push({ reward: `${uncleReward}ETH`, miner: uncleMiner }) }Now that we have the sum of transaction fees and sum of burned fees let’s calculate the miner reward in a scenario where there is no uncle block included:const blockReward = baseBlockReward + (sumMinerTips - Number(burnedFee));This will give us the basic block reward, however let’s also account for nephew and uncle rewards by adding the totalNephewReward when the given block contains at least one uncle hash:if (uncleCount > 0) { console.log("Block reward:", blockReward + totalNephewReward + "ETH"); console.log("miner:", block.miner); console.log("Uncle rewards:"); console.log(uncleRewardsArr); } else { console.log("Block reward:", blockReward + "ETH"); console.log("miner:", block.miner); }Above we are printing the total block reward plus the total nephew reward when the block contains uncles. Otherwise, we simply print the block block reward and miner.Your entire getBlockReward.js file should appear as follows:const { default: axios } = require("axios");const { ethers } = require("ethers");require("dotenv").config();const ALCHEMY_API_URL = process.env.MAINNET_API_URL;const getBlockReward = async blockNum => { const getBlock = async num => { const blockNumHex = ethers.utils.hexlify(num); const blockRes = await axios.post(ALCHEMY_API_URL, { jsonrpc: "2.0", method: "eth_getBlockByNumber", params: [blockNumHex, true], id: 0, }); return blockRes.data.result; }; const getGasUsage = async hash => { const txRes = await axios.post(ALCHEMY_API_URL, { jsonrpc: "2.0", method: "eth_getTransactionReceipt", params: [`${hash}`], id: 0, }); return txRes.data.result.gasUsed; }; const getUncle = async hash =>
2025-04-11