Solves proof of work to mine supported ERC20 tokens.
- Install NodeJS 8.9
- Run 'npm install yarn -g' to install yarn package manager
- Clone/download the project
- Open a terminal, cd into the project folder and run 'yarn' to install dependencies
- Run the command 'npm run build' to build C files with node-gyp
- Start the miner with 'node index.js'
- Install Homebrew & NodeJS 8.9
- Run 'brew install yarn' to install yarn package manager
- Clone/download this project
- Open a terminal, cd into the project folder and run 'yarn'
- Run the command 'npm run build' to build C files with node-gyp
- Start the miner with 'node index.js'
{commands}
"help" - Show the help menu
"account new" - Create a new mining account
"account list" - List all mining accounts
"account select 0x####" - Select a primary mining account by address
"account balance" - List the ether and token balance of your selected account
"contract list" - List the selected token contract to mine
"contract select 0x####" - Select a PoW token contract to mine
"config gasprice #" - Set the gasprice used to submit PoW to the token smartcontract
"config cpu_threads #" - Set the number of CPU cores to use for mining
"config web3provider https://----:####" - Set the web3 provider url for submitting ethereum transactions
"pool mine" - Begin mining into a pool
"pool list" - List the selected mining pool
"pool select https://####.com:####" - Select a pool to mine into
"mine" - Begin mining solo, directly into the smartcontract
Different Part After Setup
- Build a new mining account with 'account new'
- View the private key with 'account list'
- Write down these credentials
- Fund the account to send mining transaction
- contract select 0x68e82b7a3d99465ff7bd39b8218359febd7cc65e ({moon-miner mining contract address})
- config web3provider https://ropsten.infura.io/gmXEVo5luMPUGPqg6mhy:8545
- mine
Note that IF SOLO MINING it is necessary to fill the mining account (it is an Ethereum account) with a small amount of ether. Typically 0.005 eth is good enough to get started. The ether is used for gas to make function calls to the token smart contract when your miner finds a solution to the Proof of Work. When the gas is spent that means that you have found a solution! If you were the first to find it, you will be rewarded with 0xbitcoin tokens. (See the block explorer for typical gas prices at the current moment.)
- You can mine into a pool with the command 'pool mine'
- When mining into a pool, your gasprice does not matter and you will pay NO GAS FEES
- Every pool is different so consult each pool owner. Typically, pools will offer a token withdraw mechanism or automatically send tokens to your address on a periodic basis or when a limit is reached
(requires 'show hidden files and folders')
Stored at:
-
Windows '/Users/{user}/Appdata/Roaming/.0xbitcoin'
-
Mac '/home/{user}/Library/Preferences/.0xbitcoin'
-
Linux '/home/{user}/.0xbitcoin'
npm run test
-
Zegordo (Developed the accelerated CPU Miner)
ETH address [0x8AE981d92875C88f713600EB7dC4D23FA7E0E621]
- 0xBitcoin token - https://0xbitcoin.org - https://github.com/0xbitcoin/0xbitcoin-token