Check katpool-app repo for details
** IMPORTANT **
Before anything, add wasm foolder to the local folder
You can download the latest form here: https://kaspa.aspectron.org/nightly/downloads/ move nodejs to the repo folder as wasm
unzip, rename and move nodejs
that contains kaspa
and kaspa-devto
wasm` folder locally.
create .env file
TREASURY_PRIVATE_KEY=<private key>
POSTGRES_USER=<db-user>
POSTGRES_PASSWORD=<db-passwd>
POSTGRES_DB=<db-name>
POSTGRES_HOSTNAME='katpool-db' # Configure the hostname.
DATABASE_URL="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOSTNAME}:5432/${POSTGRES_DB}"
PUSHGATEWAY="http://katpool-pushgateway:9091" # Configure the pushgateway url.
DEBUG=1
{
"payoutsPerDay": 2, // Number of times the payment to be scheduled in a day. I.,e., every 12 hours
"thresholdAmount": "10000000000" // Miner rewards will be paid above this minimum amount in sompi
}