Skip to content

Latest commit

 

History

History
74 lines (64 loc) · 3.21 KB

mining-setup.md

File metadata and controls

74 lines (64 loc) · 3.21 KB
layout keywords comments title description author micro_nav page_nav
default
false
Mining Setup
Learning about how to set up mining and how to connect to what is needed.
title title_url external_url description
About Author
true
Andrew has built technologies for numerous startups. He currently does research in Computational Genomics, Distributed Systems, and Quantum Computing. He is a Copt, and likes to play a variety of sports or build things in his free time.
true
prev next
content url
Previous page
cloutpool/
content url
Next page
information/

Right now this is experimental, but here is the guide as it currently stands (as of time last updated):

For the core node:
git clone https://github.com/bitclout/core
git clone https://github.com/bitclout/backend
cd backend
Either run: docker build -t ubuntu-test:latest .
Or run docker build -t backend ..
cd ../
cd core
sudo nano run_remote_miner.sh
Edit miner_public_key value to your public key
Run go build in the core directory
Then also run: docker build -t ubuntu-test:latest .
Theoretically, you are supposed to be able to run ./run_remote_miner.sh to start mining.
However, the cmd module needs to be live. Once it is, the above instructions likely should work.

For running a mining pool:
git clone https://github.com/ChainTerra/CloutPool.git
Make sure to run the bitclout/core daemon (Dockerfile and node) first locally.
Run go build .
Copy go-stratum-pool and rename config.clout.json to config.json
Change the rewardRecipients address in line 18 of the config to your address.
Run ./go-stratup-pool and it should detect the config.json file and node automatically.
You can host this in a VPS and share mining rewards w/ your "workers".

For running w/ Node.js
git clone https://github.com/zone117x/node-stratum-pool.git
git clone https://github.com/ChainTerra/NSP_Configs.git
Make sure to run the bitclout/core daemon (Dockerfile and node) first locally.
Move to NSP_Configs files to node-stratum-pool
Replace the addresses in the pool.js file.
Add the configs as modules + pool.start();
Run npm run

For Cuda: See software here
Windows: sgminer-x64 -k keccak -o stratum+tcp://localhost:3032 -u BITCLOUTADDRESS.WorkerName -p x
ccminer -a keccak -o stratum+tcp://localhost:3032 -u BITCLOUTADDRESS.WorkerName -p x
Unix: ./sgminer -k keccak -o stratum+tcp://localhost:3032 -u BITCLOUTADDRESS.WorkerName -p x
-dpool stratum+tcp://localhost:3032 -dwal BITCLOUTADDRESS.WorkerName -dpsw x -dcoin keccak -allpools 1
Regarding Claymore: -dpool stratum+tcp://localhost:3032 -dwal BITCLOUTADDRESS.WorkerName -dpsw x -dcoin keccak -allpools 1
Obivously replace BITCLOUTADDRESS w/ your address
In regards to Hive OS: See farm instructions here