oozman / auto_repay

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto Repay

Automatically repay Anchor Protocol Borrow, to maximize borrowable asset and avoid liquidation.

Usage

Docker-way

  1. Rename .env.example to .env
  2. Edit values in your .env file.
  3. Edit options.txt values.
  4. Build docker.
docker build -t auto-repay .
  1. Run docker container.
docker run -d --restart unless-stopped auto-repay

Node-way

1-3: See Docker-way section.

  1. Install dependencies.
npm install
  1. Run script
npm run start

Documentation

English version: https://alpac4.com/auto_repay/usage-en

About


Languages

Language:JavaScript 98.7%Language:Dockerfile 0.8%Language:Shell 0.4%