Very simple app to send email notifications when a new payment occurs to a defined Stellar account.
# Example using gmail
docker run --detach --name stellar-notifier --restart unless-stopped \
-e AccountId=GXXXXXXXXXXXXXXXXXXXXXXXXXX \
-e mail.smtp.auth=true \
-e mail.smtp.starttls.enable=true \
-e mail.smtp.host=smtp.gmail.com \
-e mail.smtp.port=587 \
-e mail.user=you@gmail.com \
-e mail.password='yourpassword' \
-e mail.recipient=alertsrecipient@yahoo.com \
jfisbein/stellar-notifier
download the repository
git clone https://github.com/jfisbein/stellar-notifier.git
cd stellar-notifier
Compile the project
mvn clean package
Set environment values
# Example using gmail
export AccountId=GXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
export mail.smtp.auth=true
export mail.smtp.starttls.enable=true
export mail.smtp.host=smtp.gmail.com
export mail.smtp.port=587
export mail.user=you@gmail.com
export mail.password=yourpassword
export mail.recipient=alertsrecipient@yahoo.com
Run it
java -classpath target/dependency/*:$(ls -1 /target/stellar-notifier-*.jar | head -n1) com.sputnik.stellar.Launcher