A Telegram + Discord bot that shows your Yearn vault positions from wallet addresses or ENS names.
- Portfolio report with totals and recent yield changes.
- Vault suggestions for assets you already hold.
- Telegram-only: Daily reports (toggle per user).
- Discord‑only: scheduled top‑vaults report in a public channel.
- Buttons and modals for faster actions (no need to type everything).
- Shared cache and report engine across both platforms.
- Long reports are split into multiple messages to avoid truncation.
Copy .env.example to .env and fill in the required tokens and IDs.
touch yport.db && \
docker build --no-cache -t yport . && \
docker run -d --restart always --name yport \
--env-file .env \
-v "$(pwd)/yport.db":/app/yport.db \
yport && \
docker logs -f yportpython3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
python3 main.pyTelegram:
/start/yport/addresses/dailytoggle/help
Discord:
/yport/addresses/help
- The database file is
yport.dbunless you setDB_PATH. - Reports are split by chain and by 10 vaults to stay within message limits.