Monitor the balance of a crypto address and alert when it's emptied.
Currently only supports litecoin addresses (and not well at that!)
# Create your config file
cp config.template.yaml config.yaml
# Build
docker build -t balance_monitor .
# Run
docker run \
-e SENDGRID_API_KEY=xxx \
balance_monitorFirst, publish your image to your favorite location (e.g. dockerhub, container registry) and update containers.image in cron.yaml to match.
# Publish to GCP Container Registry
PROJECT_ID=...
IMAGE="gcr.io/${PROJECT_ID}/balance_monitor:master"
gcloud docker -- tag balance_monitor ${IMAGE}
gcloud docker -- push ${IMAGE}
# Update template & deploy with kubernetes
cp cron.template.yaml cron.yaml
kubectl create -f cron.yaml- Support more alert providers and separate from main.go
- Make deployment eaisier
- Write tests & add CI
- Remove config.yaml from Docker Image