Skip to content

Get an email when your Defi Kingdoms heroes are ready to quest

License

Notifications You must be signed in to change notification settings

MrLaki5/DFK-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note

This repo was using Serendale contracts for tracking hero status. Because Defi Kingdoms has moved away from Serendale, this repo is outdated.

Defi Kingdoms hero notifications

Get an email when your Defi Kingdoms hero stamina is full, making your hero 100% ready to quest. Don't lose time, having your hero not questing when it should, while you are unaware of the situation. This package will provide you with email notifications for all your heroes!

This package uses ONLY the public 0x address of your wallet.

For easier deployment, I created a dockerized installation, but the package can be used without it.

Setup

  • Fill in configuration file (config.json)
"sleep_time" -> sample rate of heros stamina state in seconds
"user_address" -> public 0x address of your wallet
"email/server & email/port" -> sender email SMTP server, ip and port, default data is set for outlook
"email/sender_email & email/sender_password" -> sender email credentials, from which emails will be sent. I advice you to create new dummy email for this.
"email/receiver_emails" -> array of emails on which you want to receive notification.
  • Build docker image
docker build -t dfk-notifier:latest -f Dockerfile .
  • Run docker container
docker run -d --rm --name dfk-notifier dfk-notifier:latest

About

Get an email when your Defi Kingdoms heroes are ready to quest

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published