add readme and dockerfile before big refactoring

This commit is contained in:
agatha 2024-06-12 21:52:34 -04:00
parent 1ab3e7bcfa
commit 488f173176
2 changed files with 23 additions and 0 deletions

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM python:3.10-alpine
WORKDIR /app
COPY src/requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY src/ /app
CMD ["python", "main.py"]

View File

@ -0,0 +1,13 @@
# Pair Monitor
Companion piece to [matrix-alerts](https://git.juggalol.com/agatha/matrix-alerts). It will all come together
in a single repo at some point, but I have a lot of refactoring to do on everything. I split up the
[mbot](https://git.juggalol.com/agatha/mbot) code into smaller services but haven't refactored _anything_ yet.
## Configuration Example
```
{
"infura_url": "",
"pool_address": "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",
"etherscan_key": ""
}
```