Developed by the 0xBitcoin Community
(GNU PUBLIC LICENSE)
A pool for mining RC20 Tokens
CSS Colors: https://flatuicolors.com/palette/au
- improve colors
- more workers (jsonrpc listeners?)
- two eth accounts .. xfers and mints
- separate geth
- why does it say 'Reply:OK' ??
- npm install -g node-gyp 1.1. sudo apt-get install build-essential
You may need to do.. 1.2.sudo apt-get install python2.7 1.3.npm config set python python2.7
-
npm install
-
npm run webpack #(to build the website files)
-
rename 'sample.account.config.js' to 'account.config.js' and fill it with the pool's ethereum account data
-
install redis-server and make sure it is running
-
Edit pool.config.js to your tastes
-
Edit the website files in /app to change the look of the website
-
npm run server #(or npm run server test for Ropsten test net)
var poolconfig = {
minimumShareDifficulty: 5000, //lowest miner share difficulty
maximumShareDifficulty: 10000 //highest miner share difficulty
solutionGasPriceWei: 10, //ether paid by the pool for each mint
transferGasPriceWei: 6, //ether paid by the pool for each payment
poolTokenFee: 5, //percent of tokens the pool keeps for itself
communityTokenFee: 2, //percent of tokens the pool pledges to donate
minBalanceForTransfer: 1500000000,
payoutWalletMinimum: 100000000000,
allowCustomVardiff: true,
populationLimit: 100, //not implemented yet...
web3provider: "http://127.0.0.1:8545" //point at Geth or remove to use Infura
}
- Point a poolminer at your pool using http://localhost:8586 (or ipaddress:8586 or domain.com:8586) (make sure firewall allows this port)
- View website interface at http://localhost:3000 (you can set up nginx to serve the static files in /public)
- sudo apt-get install redis
- sudo service redis-server start
- Redis will serve/connect at localhost:6379 by default - the pool will use this port
LRANGE broadcasted_payments 0 -1
- Add more clustering/workers and more JSONRPC/socket ports to handle heavy loads
- Make sure good solns ARE BEING TRANFERRED