Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.07 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.07 KB

NO PAYOUTS AT THIS MOMENT !!! SOLO MINING ONLY

Set up Ergo node https://github.com/ergoplatform/ergo/wiki/Set-up-a-full-node

ergo.conf:

ergo {
  node {
    mining = true
  },
}

scorex {
 restApi {
    apiKeyHash = "YOUR_API_KEY_HASH"
  }
}

Start Ergo node

screen -dmS ergo java -jar ergo-4.0.12.jar --mainnet -c ergo.conf

Unlock the wallet

curl -X POST "http://127.0.0.1:9053/wallet/unlock" -H "accept: application/json" -H "api_key: YOUR_API_KEY" -H "Content-Type: application/json" -d "{\"pass\":\"WALLET_PASSWORD\"}"

Get wallet address

curl -X GET "http://127.0.0.1:9053/wallet/addresses" -H "accept: application/json" -H "api_key: YOUR_API_KEY"

Set up NVM https://github.com/nvm-sh/nvm#installing-and-updating

nvm install v12.22.3
nvm use v12.22.3

Edit config.json in root of this repository and ergo.json in pool_configs directory. Detailed config values description here https://github.com/mhssamadani/ErgoStratumServer/blob/master/start.js

Set up dependencies

npm update

Run the pool

screen -dmS pool node init.js

ENJOY :)