Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seroxdesign/sequencer-monitor
A server which monitors the MakerDAO sequencer.
https://github.com/seroxdesign/sequencer-monitor
Last synced: 28 days ago
JSON representation
A server which monitors the MakerDAO sequencer.
- Host: GitHub
- URL: https://github.com/seroxdesign/sequencer-monitor
- Owner: Seroxdesign
- Created: 2024-03-23T10:48:09.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-04-26T07:38:10.000Z (7 months ago)
- Last Synced: 2024-04-26T08:39:45.883Z (7 months ago)
- Language: TypeScript
- Size: 25.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sequencer Monitor
The Sequencer Monitor is a tool designed to track workable jobs on various networks and notify Discord when certain conditions are met.
## Features
- Monitors workable jobs on multiple networks.
- Notifies Discord when specific conditions (e.g., consecutive unworked blocks) are met.## Usage
1. **Clone the repository:**
```bash
git clone https://github.com/your-username/sequencer-monitor.git
```2. **Install dependencies:**
```bash
cd sequencer-monitor
pnpm install
```3. **Configure environment variables:**
- Rename the `.env.example` file to `.env`.
- Update the environment variables with your configuration details, such as API keys and Discord webhook URL.4. **Start the monitor:**
```
npx tsc
node .
```## Configuration
- Modify the `constants.js` file to update Sequencer ABI, address, and other constants as needed.
- Update the `utils/notifyDiscord.js` file with your Discord notification logic.## Contributing
Contributions are welcome! Please fork the repository, make your changes, and submit a pull request.
When changing anything within the .ts files, make sure to run ```npx tsc``` before running ```node .```## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.