⛏️ How to: GPU Mine $DAIKI

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

Linux / Windows

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

1. Install NodeJS 8.9

sudo npm install -g n
sudo n 8.9
nvm use 8

2. Install CUDA Toolkit

Linux: Follow this tutorial.

Windows: Download from here.

2. Clone 0xbitcoin-gpuminer from Github

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

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

3. Install dependencies

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

yarn

4. Build the project

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

npm run build

If you get an error "unsupported Microsoft Visual Studio version" then you will need to run npm config set msvs_version 2015 first. If you get an error "Could not load the Visual C++ Component", run npm install -g windows-build-tools in an administrative command prompt first.

5. Run the program

node index.js

6. Create a new mining account

account new

7. Add Mining Contract

contract select <MINING_CONTRACT_ADDRESS>

8. Add Web3 Provider

config web3provider <WEB3_PROVIDER>

9. Start Mining!

# CPU mine
mine

# GPU mine
mine cuda
mine opengl

Need help?

Follow the instructions here or Contact us on Telegram.

Last updated

Was this helpful?