Automatically repay Anchor Protocol Borrow, to maximize borrowable asset and avoid liquidation.
- Rename
.env.example
to.env
- Edit values in your
.env
file. - Edit
options.txt
values. - Build docker.
docker build -t auto-repay .
- Run docker container.
docker run -d --restart unless-stopped auto-repay
1-3: See Docker-way
section.
- Install dependencies.
npm install
- Run script
npm run start
English version: https://alpac4.com/auto_repay/usage-en