Lisk Pool
This is first LISK delegate forging pool. Written in PHP.
#Requirements
MariaDB server
Nginx/Apache (optional)
LISK Node
Highcharts (included in project)
#Setup on Linux
Install all software mentioned above.
Setup your mysql server and import database scheme
lisk_pool_scheme_db.sqlNow please navigate to config.php
'host' => 'localhost', <- don't change if mariadb is running on the same machine 'username' => 'root', <- Database user 'password' => 'SQL_PASSWORD', <- Database Password 'bdd' => 'lisk', <- Database Name 'lisk_host' => 'localhost', <- Lisk Node Host, acually pool can be running on different machine, it's also possible to point to login.lisk.io 'lisk_port' => '7000', <- Lisk Testnet port, 8000 - Mainnet 'pool_fee' => '0.0%', <- adjustable pool fee as float for ex. "1.25%" 'pool_fee_payout_address' => '17957303129556813956L', <- Payout address if fee > 0.0 'delegate_address' => '17957303129556813956L', <- Delegate address - must be valid forging delegate address 'payout_threshold' => '1', <- Payout threshold in LISK 'fixed_withdraw_fee' => '0.1', <- Fixed Wihtdraw fee in LISK 'withdraw_interval_in_sec' => '43200', <- Wihtdraw script interval represented in seconds 'secret' => 'passphrase1', <- Main passphrase the same your as in your forging delegete 'secondSecret' => 'passphrase2' <- Second passphrase, if you dont have one leave it empty ex. ""
#Start Pool Start LISK node as usual, and set up it to forge.
Now start background scripts:
Block Processing - this script check if delegate has forged new block, if yes it will be splited as defined in config
screen
Push Enter key
sudo php /var/private/processing.php
Updating charts - this script updates data to keep charts up to date.
screen
Push Enter key
sudo php /var/private/stats.php
Withdraw script - this script withdraw revenue as defined in config.
screen
Push Enter key
sudo php /var/private/withdraw.php
Optional
Balance checker - Simple script to compare total LISK value stored in database in refernce to actual LISK stored on delegate account.
php /var/private/check.php
You can easily access all background scripts by
screen -ls
then pick one by
screen -x INTEGER
#Contributing If you want to contribute, fork and pull request or open issue.
#License
Entire PHP is under The MIT License (MIT)
Front-end(site theme) is used from http://themes.3rdwavemedia.com/website-templates/responsive-bootstrap-theme-web-development-agencies-devstudio/
Personally i own license, so better buy license or use your own front-end.