Skip to content

saratscheff/ether-monitor

Repository files navigation

Ether monitor with telegram bot integration

Runs on a server with cron jobs and accepting commands through telegram as well as sending alerts to telegram users when required.

Getting Started

  1. Clone the repository
  2. Create a mongo user with readWrite permissions For test environment:
use test
var user = {
  "user" : "test",
  "pwd" : "test",
  roles : [
      {
          "role" : "readWrite",
          "db" : "test"
      }
  ]
}
db.createUser(user);

For production environment use a database called ether instead with custom user and password.

  1. Set optional environment variables
  • production_server=true/false
  • telegram_api_key=YOUR_BOT_API_KEY
  • etherscan_api_key=YOUR_ETHERSCAN_API_KEY
  • mongo_username=YOUR_USERNAME
  • mongo_password=YOUR_PASSWORD
  1. Install dependencies npm install
  2. Run the main script node index.js

Prerequisites

Having Git, NodeJS and npm installed.

Contributing

Contributions through pull requests are more than welcomed.

Authors

Pedro Saratscheff @saratscheff

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License

Extra comments

This is just a quick helper for my current needs, no intention so far to develop a more finished version. Also, I'm aware the code is almost as ugly as it could be :) Ups!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published