Skip to content

euler-xyz/euler-allocator-bot

Repository files navigation

Euler Allocator Bot

A bot which uses simulated annealing to find optimal allocations into EulerEarn strategies. It simulates reallocations and calculates impact on the lending and rewards APYs, searching for global optimum.

Prerequisites

  • Node.js
  • pnpm package manager

Setup

  1. Install dependencies:
pnpm install
  1. Set up environment variables:
cp .env.example .env
# Edit .env with your configuration

or

pnpm run doppler:syncprod

See constants for details.

  1. Run
pnpm run dev
#or
pnpm run build & pnpm start

For pretty logs in development, set NODE_ENV=dev

Notifications

The bot can send notifications through Telegram or Slack. See src/constants/notificationConstants.ts

Code Style

This project uses Prettier for code formatting. The configuration can be found in .prettierrc. To maintain consistent code style:

  1. Test your code before committing:
pnpm test
  1. Format your code before committing:
pnpm format

About

Bot allocating into EulerEarn vaults

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages