This program retrieves swap info from boltz database and pay out for reward (to apply a minus fee).
- Node.js Version 14 or higher
git clone {this repo}
cd {this repo}
npm install
cp .env.example .env
npx prisma migrate reset
npx prisma migrate dev --name init
npx prisma migrate dev --name added_job_title
npx prisma db seed
npm start
If you use PM2 for process manager, use the command below.
pm2 start src/main.js --name <appname> --cron-restart="*/10 * * * *"