🍸
Daikiri Finance
  • Daikiri Finance
  • 🚀Roadmap (Under Construction 🚧 )
  • Products
    • 🚜Farms (Daikiri Bar)
      • 🪙Deposit Fees
    • ⛏️ Proof-of-Work Mining
      • 🖥️ Mining Software
      • 📃Proof-of-work Mining Contracts
  • Tokenomics
    • 🍸$DAIKI Token
    • 🔒Harvest Lockup
    • 👥Referral Program
  • Security
    • 🛡️ Security
    • ⌛Timelock
    • 📃Contracts
  • Tutorials
    • 🌉How to: Move Assets onto Polygon
    • 🖥️ How to: CPU Mine $DAIKI
    • ⛏️ How to: GPU Mine $DAIKI
    • 💰How to: Buy $DAIKI Tokens on Polygon
    • 🍸General FAQ
Powered by GitBook
On this page
  • Linux / Windows
  • 1. Install NodeJS 10
  • 2. Clone 0xbitcoin-miner from Github
  • 3. Change branch to the desired network
  • 4. Install dependencies
  • 5. Build the project
  • 6. Create a 'miner-config.json' file
  • 7. Start mining!
  • Need help?

Was this helpful?

Export as PDF
  1. Tutorials

🖥️ How to: CPU Mine $DAIKI

This guide explains the required steps to CPU mine $DAIKI with your PC.

PreviousHow to: Move Assets onto PolygonNext⛏️ How to: GPU Mine $DAIKI

Last updated 3 years ago

Was this helpful?

Linux / Windows

For Windows you might need to download and install 'Desktop development with C++'. Follow the instructions .

1. Install NodeJS 10

sudo npm install -g n
sudo n 10.24.1
nvm use 10.24.1

# Or
nvm install 10

2. Clone 0xbitcoin-miner from Github

Clone the 0xbitcoin-miner repository to your local system.

git clone https://github.com/daikirifinance/0xbitcoin-miner.git

3. Change branch to the desired network

Enter the following command to change the repository to the desired network.

git checkout matic_mainnet

4. Install dependencies

Open a terminal, cd into the project folder, and run the following command to install the dependencies:

npm install

5. Build the project

Run the following command to build C files with node-gyp:

npm run build

6. Create a 'miner-config.json' file

{
  "mining_account_public_address": "<YOUR_PUBLIC_KEY>",
  "mining_account_private_key": "<YOUR_PRIVATE_KEY>",
  "mining_style": "solo",
  "contract_address": "<MINING_CONTRACT_ADDRESS>",
  "pool_url": "",
  "gas_price_gwei": 10,
  "cpu_thread_count": 1,
  "web3provider": "<WEB3_PROVIDER>"
}

7. Start mining!

Run the following command to start mining:

npm run miner

Need help?

Duplicate the example file miner-config-sample.json as a reference. You can view the available mining contracts .

Follow the instructions or Contact us on .

here
here
here
Telegram